function popUp(URL,hoehe,breite) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=570,height=520');"); } wmtt = null; document.onmousemove = updateWMTT; function updateWMTT(e) { x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX; y = (document.all) ? window.event.y + document.body.scrollTop : e.pageY; if (wmtt != null) { wmtt.style.left = (x - 100) + "px"; wmtt.style.top = (y + 30) + "px"; } } function showWMTT(id) { wmtt = document.getElementById(id); wmtt.style.display = "block" } function hideWMTT() { wmtt.style.display = "none"; } function toggleOpen(thisElem) { if(thisElem.parentNode.className=='toggler') { thisElem.parentNode.className='toggler_open'; }else{ thisElem.parentNode.className='toggler'; } } function onCheckToggle(thisElem,elem) { if(document.getElementById(elem)){ elem = document.getElementById(elem); if(thisElem.checked==true) { elem.style.display='block'; }else{ elem.style.display='none'; } } }// N E W D R O P D O W N // N E W D R O P D O W N // N E W D R O P D O W N function dropdownById(id, val) { var box = document.getElementById(id); if(box){ if(box.style.display == "block"){ box.style.display = "none"; }else{ box.style.display = "block"; } } if(val){ var box_label = document.getElementById(id+'_label'); var box_value = document.getElementById(id+'_value'); if(box_label){ box_label.innerHTML=val }else{ alert('no label'); } if(box_value && val){ box_value.value=val; }else{ alert('no hidden value'); } } } function dropdown(th, val) { var parent = th.parentNode; var id = parent.id; var box = document.getElementById(id); var box_label = document.getElementById(id+'_label'); var box_value = document.getElementById(id+'_value'); if(box){ if(box.style.display == "block"){ box.style.display = "none"; }else{ box.style.display = "block"; } } if(box_label){ box_label.innerHTML=th.innerHTML; }else{ alert('no label'); } if(box_value && val){ box_value.value=val; }else{ alert('no hidden value'); } } // onkeyup="nurZahlen(this);" muss ins eingefügt werden // Bsp.: function nurZahlen(el) { var val = el.value.replace(/[^\.^,\d,\+]/g, ''); el.value = val; } /* checkForm v1.0 2007 by Stefan Andernach Do this instructions for use: >> CSS: >> highlights the bg auf the inputs and textareas on error --------------------------------------------------------------- .form_highlight { background: #FF0000; } --------------------------------------------------------------- >> HTML: >> in
--------------------------------------------------------------- ///------------------------------------------------------------ >> in your