Hallo,
Als ik een jumpmenu aanbreng op een pagina, dan wordt de link geopend in het hele venster en niet in de "mainframe".
Hieronder staat de code van de pagina:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<form name="form1" id="form1">
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<option value="http://www.google.nl">google</option>
<option value="http://www.nu.nl">nu</option>
</select>
</form>
</body>
</html>
Hieronder staat de code van de index-pagina:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>www.waslam.nl</title>
</head>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1560397-2";
urchinTracker();
</script>
<frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="banner.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="Banner" />
<frameset rows="*" cols="130,*" framespacing="0" frameborder="no" border="0">
<frame src="inhoud/Inhoud.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="Inhoud" />
<frame src="http:\\waslam.blogspot.com " name="mainFrame" id="mainFrame" title="Hoofdpagina" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
Als bijlage heb ik een plaatje van de site toegevoegd.
Wie kan mij helpen?
Als ik een jumpmenu aanbreng op een pagina, dan wordt de link geopend in het hele venster en niet in de "mainframe".
Hieronder staat de code van de pagina:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
</head>
<body>
<form name="form1" id="form1">
<select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
<option value="http://www.google.nl">google</option>
<option value="http://www.nu.nl">nu</option>
</select>
</form>
</body>
</html>
Hieronder staat de code van de index-pagina:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>www.waslam.nl</title>
</head>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1560397-2";
urchinTracker();
</script>
<frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="banner.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="Banner" />
<frameset rows="*" cols="130,*" framespacing="0" frameborder="no" border="0">
<frame src="inhoud/Inhoud.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="Inhoud" />
<frame src="http:\\waslam.blogspot.com " name="mainFrame" id="mainFrame" title="Hoofdpagina" />
</frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
Als bijlage heb ik een plaatje van de site toegevoegd.
Wie kan mij helpen?