Vraag & Antwoord

Webdesign (HTML, CSS, Flash)

[JS/PHP] Vreemd dropdown refresh probleem tijdens includen

6 antwoorden
  • Hallo, Sorry voor mijn cross-post, maar ik kreeg jammerg enoeg geen replies en misschien dat andere mensen wellicht een oplossing voor dit probleem zien, ik ben zelf nl. een beetje door de oplossingen heen. OK, ik zit met een een vreemd probleempje; op een of andere manier worden mijn dropdownmenu's niet meer goed gerefreshed als ik naar boven of beneden scroll. Het gekke is dat het zich alleen voordoet als ik de menu's als include gebruik. Heb me al helemaal wezenloos gezocht naar (misplaatste) stukken Javascript/HTML/CSS etc. maar heb niks kunnen vinden. Ik heb het al op verschillende systemen getest en overal krijg ik hetzelfde. Ligt dus niet aan mijn videokaart of zo. Zijn er meer mensen die dit probleem hebben? Is er wat aan te doen? :) Bedankt. (Letterlijke screenshots:) [img:e7c2333782]http://www.gomotion.nl/ddrefresh.jpg[/img:e7c2333782] [img:e7c2333782]http://www.gomotion.nl/dd_refresh2.gif[/img:e7c2333782]
  • Met welke browser krijg je dit? Heb je ergens een url waar we het kunnen testen?
  • Bedankt voor je reactie. Die URL is er, maar mag ik je helaas niet geven - beslissing van hogerhand :( Browser: IE 6.0 Het probleem doet zich dus niet voor als ik de menu's níet als include gebruik maar gewoon rechtstreeks in de url aanroep. Dan maar een stukje code/output (begin en einde includes gemarkeerd als JS-commentaar): [code:1:900fe49232] <html> <head> <title>company.nl :: Management 2.0</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="/css/backend.css" rel="stylesheet" type="text/css"> <script language="JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && d.getElementById) x=d.getElementById(n); return x; } function MM_showHideLayers() { //v6.0 var i,p,v,obj,args=MM_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; } } function MouseOverTR(theRow, thePointerColor) { if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') { return false; } var row_cells_cnt = theRow.cells.length; for (var c = 0; c < row_cells_cnt; c++) { theRow.cells[c].bgColor = thePointerColor; } return true; } function GP_popupConfirmMsg(msg) { //v1.0 document.MM_returnValue = confirm(msg); } function GP_popupConfirmDelMsg(msg, url) { //v1.0 if (confirm(msg)) { window.location.href = url; } } function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } function GP_AdvOpenWindow(theURL,winName,features,popWidth,popHeight,winAlign,ignorelink,alwaysOnTop,autoCloseTime,borderless) { //v2.0 var leftPos=0,topPos=0,autoCloseTimeoutHandle, ontopIntervalHandle, w = 480, h = 340; if (popWidth > 0) features += (features.length > 0 ? ',' : '') + 'width=' + popWidth; if (popHeight > 0) features += (features.length > 0 ? ',' : '') + 'height=' + popHeight; if (winAlign && winAlign != "" && popWidth > 0 && popHeight > 0) { if (document.all || document.layers || document.getElementById) {w = screen.availWidth; h = screen.availHeight;} if (winAlign.indexOf("center") != -1) {topPos = (h-popHeight)/2;leftPos = (w-popWidth)/2;} if (winAlign.indexOf("bottom") != -1) topPos = h-popHeight; if (winAlign.indexOf("right") != -1) leftPos = w-popWidth; if (winAlign.indexOf("left") != -1) leftPos = 0; if (winAlign.indexOf("top") != -1) topPos = 0; features += (features.length > 0 ? ',' : '') + 'top=' + topPos+',left='+leftPos;} if (document.all && borderless && borderless != "" && features.indexOf("fullscreen") != -1) features+=",fullscreen=1"; if (window["popupWindow"] == null) window["popupWindow"] = new Array(); var wp = popupWindow.length; popupWindow[wp] = window.open(theURL,winName,features); if (popupWindow[wp].opener == null) popupWindow[wp].opener = self; if (document.all || document.layers || document.getElementById) { if (borderless && borderless != "") {popupWindow[wp].resizeTo(popWidth,popHeight); popupWindow[wp].moveTo(leftPos, topPos);} if (alwaysOnTop && alwaysOnTop != "") { ontopIntervalHandle = popupWindow[wp].setInterval("window.focus();", 50); popupWindow[wp].document.body.onload = function() {window.setInterval("window.focus();", 50);}; } if (autoCloseTime && autoCloseTime > 0) { popupWindow[wp].document.body.onbeforeunload = function() { if (autoCloseTimeoutHandle) window.clearInterval(autoCloseTimeoutHandle); window.onbeforeunload = null; } autoCloseTimeoutHandle = window.setTimeout("popupWindow["+wp+"].close()", autoCloseTime * 1000); } window.onbeforeunload = function() {for (var i=0;i<popupWindow.length;i++) popupWindow[i].close();}; } document.MM_returnValue = (ignorelink && ignorelink != "") ? false : true; } function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } // GoMotion Form Validation Functions - Dynamically generated function GoMotion_ConfirmRedirect(message, url){ if(confirm(message)) location.href = url; } function ValidateSpecChars(passform) { var iChars = "!@#$%^&*()+=-[]\\\';,./{}|\":<>?"; for (var i = 0; i < document.formname.fieldname.value.length; i++) { if (iChars.indexOf(document.formname.fieldname.value.charAt(i)) != -1) { alert ("Dit veld bevat speciale karakters. \nDit is niet toegestaan.\n Verwijder deze en probeer het nogmaals...."); document.formname.fieldname.focus(); return false; } } } //begin JAVASCRIPT I-FRANE function button_over(eButton) { eButton.style.backgroundColor = "#FFFACC"; eButton.style.borderColor = "#FFFACC"; //eButton.style.borderWidth = '1px'; //eButton.style.borderStyle = 'solid'; } function button_out(eButton) { eButton.style.backgroundColor = "#FFFACC"; eButton.style.borderColor = "#FFFACC"; } function button_down(eButton) { eButton.style.backgroundColor = "#FFFACC"; eButton.style.borderColor = "#FFFACC"; } function button_up(eButton) { eButton.style.backgroundColor = "#FFFACC"; eButton.style.borderColor = "#FFFACC"; eButton = null; } var isHTMLMode=false; var isHomepageMode=false; var isPopupSource=true; // GoMotion Advanced Editor (idContent) function document.onreadystatechange() { idContent.document.designMode = "On"; } function cmdExec(cmd,opt) { if (isHTMLMode) { alert("Deze functie is niet beschikbaar in 'HTML Mode'"); return; } idContent.document.execCommand(cmd,"",opt); idContent.focus(); } function setMode(bMode) { var sTmp; isHTMLMode = bMode; if (isHTMLMode) { sTmp=idContent.document.body.innerHTML; idContent.document.body.innerText=sTmp; toolbar.style.display = 'none'; toolbar2.style.display = 'none'; } else { sTmp=idContent.document.body.innerText; idContent.document.body.innerHTML=sTmp; toolbar.style.display = 'inline'; toolbar2.style.display = 'inline'; } idContent.focus(); } function setHomepage(bMode) { isHomepageMode = bMode; if (isHomepageMode) { homepage.style.display = 'inline'; homepage2.style.display = 'inline'; homepage3.style.display = 'inline'; document.form1.ihome.value = "1"; } else { homepage.style.display = 'none'; homepage2.style.display = 'none'; homepage3.style.display = 'none'; document.form1.ihome.value = "0"; } } function setPopupSource(bMode) { isPopupSource = bMode.options[bMode.selectedIndex].value; if (isPopupSource =="1") { popuprij.style.display = 'inline'; popuprij2.style.display = 'inline'; popuprij3.style.display = 'none'; } else if(isPopupSource =="0") { popuprij.style.display = 'none'; popuprij2.style.display = 'none'; popuprij3.style.display = 'inline'; } else { popuprij.style.display = 'none'; popuprij2.style.display = 'none'; popuprij3.style.display = 'none'; } } function createLink() { if (isHTMLMode) { alert("Deze functie is niet beschikbaar in 'HTML Mode'"); return; } cmdExec("CreateLink"); } function createImage() { var cursor = idContent.document.selection.createRange(); var strNewImage = "<img src='" + imgSrc + "' border='" + imgBorder + "' align='"+imgAlign+"' alt='"+imgAlt+"' >"; idContent.focus(); cursor.pasteHTML(strNewImage); } function uploadImages() { var newWindow; var props = 'scrollBars=yes,resizable=yes,toolbar=no,menubar=no,location=no,directories=no,width=500,height=500,top=100,left=200'; newWindow = window.open('upload.php', 'Upload_Images_to_server', props); } function insertImageLink() { if (isHTMLMode) { alert("Deze functie is niet beschikbaar in 'HTML Mode'"); return; } var sImgSrc=prompt("Geef de locatie van de afbeelding op.\nHet standaardpad voor (geuploade) afbeeldingen is 'http://www.company.nl/images/'.\n U kunt het onderstaande pad laten staan en vervolgens de naam van het geuploade bestand er achter typen.", "http://www.company.nl/images/"); if(sImgSrc!=null) cmdExec("InsertImage",sImgSrc); } function SubmitContent() { if (isHTMLMode) { alert("Het is niet mogelijk om uw content in 'HTML Mode' op te slaan"); return (false); } document.form1.cbody.value = idContent.document.body.innerHTML; if (!document.form1.title.value) { alert("Je bent vergeten een titel voor dit item op te geven.\nProbeer het nogmaals..."); document.form1.title.focus(); return false; } if (!document.form1.cbody.value) { alert("Je bent vergeten content voor dit item in te voeren.\nProbeer het nogmaals..."); idContent.focus(); return false; } document.form1.submit(); } function foreColor() { var arr = showModalDialog("pgs_popup/grabcolor.php","","font-family:Verdana; font-size:12; dialogWidth:597px; dialogHeight:397px" ); if (arr != null) cmdExec("ForeColor",arr); } function tableDialog() { //----- Creates A Table Dialog And Passes Values To createTable() ----- var rtNumRows = null; var rtNumCols = null; var rtTblAlign = null; var rtTblWidth = null; var rtBorderColor = null; var rtBorder = null; var rtTblBgColor = null; var rtTblTxtColor = null; showModalDialog("pgs_popup/genereer_tabel.php",window,"status:false;dialogWidth:597px;dialogHeight:397px"); } function createTable() { //----- Creates User Defined Tables ----- var cursor = idContent.document.selection.createRange(); if (rtNumRows == "" || rtNumRows == "0") { rtNumRows = "1"; } if (rtNumCols == "" || rtNumCols == "0") { rtNumCols = "1"; } var rttrnum=1 var rttdnum=1 var rtNewTable = "<table bgcolor='" + rtTblBgColor + "' bordercolor='" + rtBorderColor + "' border='" + rtBorder + "' align='" + rtTblAlign + "' cellpadding='0' cellspacing='0' width='" + rtTblWidth + "'>" while (rttrnum <= rtNumRows) { rttrnum=rttrnum+1 rtNewTable = rtNewTable + "<tr>" while (rttdnum <= rtNumCols) { rtNewTable = rtNewTable + "<td> </td>" rttdnum=rttdnum+1 } rttdnum=1 rtNewTable = rtNewTable + "</tr>" } rtNewTable = rtNewTable + "</table>" idContent.focus(); cursor.pasteHTML(rtNewTable); } function doPreview(){ temp = idContent.document.body.innerHTML; preWindow= open('', 'previewWindow', 'width=600,height=440,status=yes,scrollbars=yes,resizable=yes,toolbar=no,menubar=no'); preWindow.document.open(); preWindow.document.write(temp); preWindow.document.close(); } function SetParagraph(name,value) { idContent.focus(); if (value == '<body>') { idContent.document.execCommand('formatBlock','','Normal'); idContent.document.execCommand('removeFormat'); return; } idContent.document.execCommand('formatblock','',value); } // End JAVASCRIPT I-FRAME //--> </script> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFF4B7" style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#FFF8CE', startColorstr='#FFF4B7', gradientType='0');"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="top"> <table width="770" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFACC" class="mednormal"> <tr> <td height="90" align="left" valign="top"> <link href="/css/backend.css" rel="stylesheet" type="text/css"> <table width="770" height="90" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFACC"> <tr> <td align="right" valign="top" bgcolor="#2A2869"><img src="/management/images/logo.jpg" width="275" height="90"></td> </tr> <tr> <td height="20" align="left" valign="top"><table width="770" height="25" border="0" cellpadding="0" cellspacing="0" class="mednormal"> <tr align="center" valign="middle"> <td onmouseover="bgColor='#FFF4B7'" style="cursor:hand" onmouseout="bgColor='#FFFACC'"><a href="management.php?callmode=home">Home</a></td> <td bgcolor="#FFF5B7"><a href="management.php?callmode=1&submode=1&language=0">Contentmanagement</a></td> <td onmouseover="bgColor='#FFF4B7'" style="cursor:hand" onmouseout="bgColor='#FFFACC'"><a href="management.php?callmode=2&level=6">Accountmanagement</a></td> <td onmouseover="bgColor='#FFF4B7'" style="cursor:hand" onmouseout="bgColor='#FFFACC'"><a href="http://www.company.nl" target="_blank">company Home</a></td> <td onmouseover="bgColor='#FFF4B7'" style="cursor:hand" onmouseout="bgColor='#FFFACC'"><a href="/management/management.php?MA_Logoutnow=1">Afmelden</a></td> </tr> </table></td> </tr> </table> </td> </tr> <tr> <td height="20" align="left" valign="top"> <!-- NAVIGATIEMENU --> <table width="770" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFF4B7" class="mednormal" style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#FFEE8A', startColorstr='#FFF5B7', gradientType='0');"> <tr align="left" valign="top"> <td> </td> <td height="20" colspan="5" valign="middle"> </td> </tr> <tr align="left" valign="top"> <td> </td> <td height="20" colspan="5" valign="middle"><strong>NAVIGATIEMENU company</strong></td> </tr> <tr align="left" valign="top"> <td> </td> <td height="20" colspan="5" valign="middle"> </td> </tr> <tr align="left" valign="top"> <td width="30" align="center" valign="middle"> </td> <td colspan="5" valign="middle"> <select name="submode" id="submode" style="font-family: Verdana; font-size: 8 pt;" onChange="MM_jumpMenu('window.self',this,0)"> <option value="#" selected>Selecteer een item</option> <option value="management.php?callmode=1&submode=1" selected>Algemeen management</option> <option value="management.php?callmode=1&submode=2">Popup management</option> </select> </td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"> </td> <td height="20" colspan="5" valign="middle"> </td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"> </td> <td colspan="5" valign="middle"> <select name="language" id="language" style="font-family: Verdana; font-size: 8 pt;" onChange="MM_jumpMenu('window.self',this,0)"> <option value="#" selected>Selecteer een taal</option> <option value="management.php?callmode=1&submode=1&language=0" selected>Nederlands</option> <option value="management.php?callmode=1&submode=1&language=1">Engels</option> </select> </td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"> </td> <td height="20" colspan="5" valign="middle"> </td> </tr> <tr align="left" valign="top"> <td width="30"> </td> <td height="20" colspan="5" valign="middle">Forestitems:</td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"><a href="management.php?callmode=1&submode=1&language=0&sqlmode=1&level=1"><img src="/management/images/nieuw.jpg" width="11" height="13" border="0"></a></td> <td colspan="5"> <select name="forest" id="forest" style="font-family: Verdana; font-size: 8 pt;" onChange="MM_jumpMenu('window.self',this,0)"> <option value="#" class="option">forest 3</option> <OPTION VALUE="management.php?callmode=1&submode=1&language=0&sqlmode=1&fid=157&level=2"> forest 1 </OPTION> <OPTION VALUE="management.php?callmode=1&submode=1&language=0&sqlmode=1&fid=229&level=2"> forest 2 </OPTION> <OPTION VALUE="management.php?callmode=1&submode=1&language=0&sqlmode=1&fid=279&level=2"> forest 3 </OPTION> <OPTION VALUE="management.php?callmode=1&submode=1&language=0&sqlmode=1&fid=276&level=2"> forest 4 </OPTION> </select></td> </tr> <tr align="left" valign="top"> <td width="30"> </td> <td height="20" colspan="5" valign="middle"> <table width="740" height="20" border="0" cellpadding="0" cellspacing="0"> <tr class="mednormal"> <td width="15"> </td> <td width="725">Treeitems:</td> </tr> </table></td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"> </td> <td width="15" align="left" valign="middle"><a href="management.php?callmode=1&submode=1&language=0&sqlmode=2&fid=279&level=1"><img src="/management/images/nieuw.jpg" width="11" height="13" border="0"></a> </td> <td colspan="4"> <select name="tree" id="tree" style="font-family: Verdana; font-size: 8 pt;" onChange="MM_jumpMenu('window.self',this,0)"> <option value="#">Kies een TreeItem</option> </select> </td> </tr> <tr align="left" valign="top"> <td align="center" valign="middle"> </td> <td width="15"> </td> <td width="15"> </td> <td width="15" align="center" valign="middle"> </td> <td width="680"> </td> </tr> </table> <!-- EINDE NAVIGATIEMENU --> </td> </tr> <tr> <td height="20" align="left" valign="top">  </td> </tr> <tr> <td align="left" valign="top"> <!- CONTENT INCLUDE --> <form action="management.php?callmode=1&submode=1&language=0&sqlmode=1&level=4" method="post" name="form1" target="_top"> <table width="770" border="0" cellpadding="0" cellspacing="0"> <tr valign="middle" class="mednormal"> <td width="30" height="30" align="left"></td> <td width="70" height="30" align="left" class="medbold">Titel</td> <td width="670" height="30" colspan="2" align="left"> <input name="title" type="text" id="title" style="font-family: Verdana; font-size: 8 pt;" value="forest 3" size="30" maxlength="255"></td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td width="70" height="30" align="left" class="medbold">Comment</td> <td width="670" height="30" colspan="2" align="left"> <textarea name="comment" cols="60" rows="3" id="comment" style="font-family: Verdana; font-size: 8 pt;">forest 3</textarea></td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td width="70" height="30" align="left" class="medbold">Homepage</td> <td width="670" height="30" colspan="2" align="left"> <input type="checkbox" onclick="setHomepage(this.checked)"> <input name="ihome" type="hidden" id="ihome"> </td> </tr> <tr valign="middle" class="mednormal" id="homepage2"> <td height="30" align="left"> </td> <td width="70" height="30" align="left"> </td> <td width="670" height="30" colspan="2" align="left"> </td> </tr> <tr valign="middle" class="mednormal" id="homepage"> <td height="30" align="left"> </td> <td height="30" colspan="3" align="left"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr id="toolbar"> <td height="22" align="left" valign="middle" class="mednormal"><select onchange="SetParagraph(this[this.selectedIndex].innerText,this[this.selectedIndex].value);this.selectedIndex=0" style="font-family: Verdana; font-size: 8 pt;"> <option selected>Style</option> <option value="<body>">Normal</option> <option value="<h1>">Heading 1</option> <option value="<h2>">Heading 2</option> <option value="<h3>">Heading 3</option> <option value="<h4>">Heading 4</option> <option value="<h5>">Heading 5</option> <option value="<dir>">Directory List</option> <option value="<menu>">Menu List</option> <option value="<pre>">Formatted</option> <option value="<address>">Address</option> </select> <select onchange="cmdExec('fontname',this[this.selectedIndex].value);" style="font-family: Verdana; font-size: 8 pt;"> <option selected>Font</option> <option value="Arial">Arial</option> <option value="Arial Black">Arial Black</option> <option value="Arial Narrow">Arial Narrow</option> <option value="Comic Sans MS">Comic Sans MS</option> <option value="Courier New">Courier New</option> <option value="System">System</option> <option value="Tahoma">Tahoma</option> <option value="Times New Roman">Times New Roman</option> <option value="Verdana">Verdana</option> <option value="Wingdings">Wingdings</option> </select> <select onchange="cmdExec('fontsize',this[this.selectedIndex].value);" style="font-family: Verdana; font-size: 8 pt;"> <option selected>Size</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> </select> <img src="/management/images/Link.gif" alt="Link invoegen" width="23" height="22" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('createLink')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/Browselink.gif" alt="Link invoegen (Bladeren)" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="GP_AdvOpenWindow('pgs_popup/content_browse_popup.php?submode=1)#uage=0','browsepopup','fullscreen=no,toolbar=no,location=no,status=yes,menubar=no,scrollbars=no,resizable=yes',430,420,'center','ignoreLink','',0,'');return document.MM_returnValue" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img class="cbtn" hspace="1" vspace=1 align=absmiddle src="/management/images/imageLink.gif" alt="Afbeelding invoegen" onClick="insertImageLink()" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img src="/management/images/Cut.gif" alt="Knippen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('cut')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/Copy.gif" alt="Kopiëren" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('copy')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/Paste.gif" alt="Plakken" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('paste')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);" ><img src="/management/images/Undo.gif" alt="Ongedaan maken" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('Undo')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/preview.gif" alt="Preview bekijken" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="doPreview();" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> </td> </tr> <tr id="toolbar2"> <td align="left" valign="middle" class="mednormal"> <img src="/management/images/Bold.gif" alt="Vet" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('bold')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/Italic.gif" alt="Cursief" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('italic')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/under.gif" alt="Onderstrepen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('underline')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/Strikethrough.gif" alt="Doorhalen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('StrikeThrough')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/Superscript.gif" alt="Superscript" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('SuperScript')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/Subscript.gif" alt="Subscript" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('SubScript')" onmousedown="button_down(this);" onmouseup="button_up(this);" onmouseover="button_over(this);" onmouseout="button_out(this);"> <img src="/management/images/left.gif" alt="Links uitlijnen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('justifyleft')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/Center.gif" alt="Centreren" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('justifycenter')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/right.gif" alt="Rechts uitlijnen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('justifyright')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/numlist.gif" alt="Opsommingsteken" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('insertorderedlist')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/bullist.gif" alt="Nummering" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('insertunorderedlist')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/inindent.gif" alt="Inspringing vergroten" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('indent')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/outdent.gif" alt="Inspringing verkleinen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('outdent')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/HR.gif" alt="Horizontale lijn invoegen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="cmdExec('InsertHorizontalRule')" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/fgcolor.gif" alt="Kleur aanpassen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="foreColor()" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> <img src="/management/images/table.gif" alt="Tabel invoegen" hspace="1" vspace=1 border="0" align=absmiddle class="cbtn" onClick="tableDialog();" onMouseDown="button_down(this);" onMouseUp="button_up(this);" onMouseOver="button_over(this);" onMouseOut="button_out(this);"> </td> </tr> <tr> <td align="left" valign="middle" class="mednormal"><iframe width="535" id="idContent" height="500" marginheight="0" marginwidth="0" scrolling="auto" src="../pcbody_load.php?id=279"></iframe></td> </tr> <tr> <td align="left" valign="middle" class="mednormal"> <input type="checkbox" onclick="setMode(this.checked)"> HTML Mode <input name="cbody" type="hidden" id="cbody"></td> </tr> </table></td> </tr> <tr valign="middle" class="mednormal" id="homepage3"> <td height="30" align="left"> </td> <td width="70" height="30" align="left"> </td> <td width="670" height="30" colspan="2" align="left"> </td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td width="70" height="30" align="left" class="medbold">Sleutel ID</td> <td width="670" height="30" colspan="2" align="left"> <input name="key_id" type="text" id="key_id" style="font-family: Verdana; font-size: 8 pt;" value="forest 3" size="30" maxlength="255"></td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td width="70" height="30" align="left" class="medbold">Status</td> <td width="670" height="30" colspan="2" align="left"> <select name="status" id="status" style="font-family: Verdana; font-size: 8 pt;" > <option value="1" selected>Online</option> <option value="0">Offline</option> </select></td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td width="70" height="30" align="left" class="medbold">Type</td> <td width="670" height="30" colspan="2" align="left"> <select name="visible" id="visible" style="font-family: Verdana; font-size: 8 pt;" > <option value="1" selected>Publiek</option> <option value="0">Verborgen</option> </select> <img src="/management/images/spacer.gif" width="1" height="1" onload="setHomepage()"></td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td height="30" align="left" class="medbold">Prioriteit</td> <td height="30" colspan="2" align="left"> <select name="rank_id" style="font-family: Verdana; font-size: 8 pt;"> <option value="1">1</option> <option value="2">2</option> <option value="3" selected>3</option> <option value="4">4</option> </select> </td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td height="30" align="left" class="medbold"> </td> <td height="30" colspan="2" align="left"> </td> </tr> <tr valign="middle" class="mednormal"> <td height="30" align="left"> </td> <td height="30" colspan="3" align="left" class="medbold"> <input type="button" name="Button" value="Opslaan" onclick="SubmitContent();" style="font-family: Verdana; font-size: 8 pt; color: white; border-style: outset; border-width: 1px; background-color: #BCBCC6; cursor:hand"> <input name="delete" type="button" id="delete" style="font-family: Verdana; font-size: 8 pt; color: white; border-style: outset; border-width: 1px; background-color: #BCBCC6; cursor:hand" onClick="GoMotion_ConfirmRedirect('Weet u zeker dat u dit Forestitem wilt verwijderen?','management.php?callmode=1&submode=1&language=0&level=5&sqlmode=1&fid=279')" value="Verwijderen"> <input name="id" type="hidden" id="id" value="279"> <input name="prevrank" type="hidden" id="prevrank" value="3"> <input name="prevstatus" type="hidden" id="prevstatus" value="1"> </td> </tr> </table> </form> <!- EINDE CONTENT INCLUDE --> </td> </tr> <tr> <td height="15" align="left" valign="top"> </td> </tr> </table> </td> </tr> </table> </body> </html> Bedankt! [/code:1:900fe49232]
  • Met Firefox is het goed, IE6 heeft een soort refresh probleem. Wat ik altijd doe is valideren, dat ging dus niet omdat er geen doctype was, Ik heb er dus : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> van gemaakt . Tot mijn verassing was het toen opeens goed in IE6 ook nog steeds in Firefox. Dus probeer maar eens met een doctype, ik ben benieuwd. wimb
  • [quote:7e197a3ad0="de_paashaas"]Het probleem doet zich dus niet voor als ik de menu's níet als include gebruik maar gewoon rechtstreeks in de url aanroep.[/quote:7e197a3ad0]Snap niet helemaal wat je hiermee bedoelt? Bedoel je hiermee, dat als je alleen het formulier oproept het wel werkt en als je het formulier in je layout zet het niet meer goed werkt? Indien ja, dan vermoed ik dat al die geneste tabbellen de oorzaak zijn (gokje). Geneste tabbellen vragen nl. veel van een browser. -Rémy
  • Hé WimB, Super, het werkt! Bedankt. Wat een vage fout ook hè? Het gekke is dat ik bij andere sites die op dezelfde manier werken geen doctype heb opgegeven, terwijl deze wel naar behoren werken. Een bijkomstigheid van je oplossing is nu dat mijn tabellen opeens niet meer 100% uitvullen (terwijl ik dit wel aangegeven heb) en de styles op de dropdowns er ineens heel anders uitzien (groter font). Zie jij waar de vout ligt/hoe ik dit kan oplossen? :wink: [quote:9ddbceb4ae] Bedoel je hiermee, dat als je alleen het formulier oproept het wel werkt en als je het formulier in je layout zet het niet meer goed werkt? [/quote:9ddbceb4ae] Yep!

Beantwoord deze vraag

Weet jij het antwoord op deze vraag? Registreer of meld je aan met je account

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.