udesigns
06-01-2003, 03:12 AM
this is the code to my page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Can I touch Your Wenus?</title>
<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {
event.cancelBubble = true, event.returnValue = false;
return false;
}
function norightclick(e) {
if (window.Event) {
if (e.which == 2 || e.which == 3) return false;
}
else if (event.button == 2 || event.button == 3) {
event.cancelBubble = true, event.returnValue = false;
return false;
}
}
if (document.layers)
document.captureEvents(Event.MOUSEDOWN);
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;
//--></script>
<meta http-equiv="imagetoolbar" content="no">
<script language="javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="pphome");
}
}
//-->
</script>
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#DF9C27;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#DF9C27;
}
-->
</STYLE>
</head>
<BODY BACKGROUND="http://www.geocities.com/hansomniav1/layouts/kaseylayout.jpg" bgcolor="#DF9C27">
<div id="mainframe" style="position:absolute;left:350;top:8">
<iframe src="http://www.geocities.com/hansomniav1/main.html" name="main" width="170" height="284" frameborder="0">
</iframe>
</div>
<div id="dropdownmenu" style="position:absolute;left:375; top:350">
<form name="homemenu">
<select name="menu" style="background-color: #DF9C27 ;
font size=10 ; font-family: verdana; color:#000000"
size="1" onchange="jump(this.form)" border="0">
<option value="0">----navigate----</option>
<option value="0"></option>
<option value="http://www.geocities.com/hansomniav1/pphome.html">HOME</option>
<option value="http://www.geocities.com/hansomniav1/links.html">LINKS</option>
<option value="http://www.geocities.com/hansomniav1/layouts.html">LAYOUTS</option>
<option value="http://www.geocities.com/hansomniav1/map.html">SITE MAP</option>
<option value="0"></option>
<option value="http://www.geocities.com/hansomniav1/lust.html">FICTION</option>
<option value="http://www.geocities.com/hansomniav1/pics.html">PICS</option>
</select>
</form>
</div>
</body>
</html>
could someone please tell me whats wrong? the links in the drop down menu wont go into the iframe, and the backgound shows up on my preview page, but not the actual popup i created for it. the page link is: http://www.geocities.com/hansomniav1/index.html
help!!!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Can I touch Your Wenus?</title>
<script language="JavaScript1.2">
if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu() {
event.cancelBubble = true, event.returnValue = false;
return false;
}
function norightclick(e) {
if (window.Event) {
if (e.which == 2 || e.which == 3) return false;
}
else if (event.button == 2 || event.button == 3) {
event.cancelBubble = true, event.returnValue = false;
return false;
}
}
if (document.layers)
document.captureEvents(Event.MOUSEDOWN);
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
document.onmouseup = norightclick;
//--></script>
<meta http-equiv="imagetoolbar" content="no">
<script language="javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="pphome");
}
}
//-->
</script>
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#DF9C27;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#000000;
scrollbar-darkshadow-color:#000000;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#DF9C27;
}
-->
</STYLE>
</head>
<BODY BACKGROUND="http://www.geocities.com/hansomniav1/layouts/kaseylayout.jpg" bgcolor="#DF9C27">
<div id="mainframe" style="position:absolute;left:350;top:8">
<iframe src="http://www.geocities.com/hansomniav1/main.html" name="main" width="170" height="284" frameborder="0">
</iframe>
</div>
<div id="dropdownmenu" style="position:absolute;left:375; top:350">
<form name="homemenu">
<select name="menu" style="background-color: #DF9C27 ;
font size=10 ; font-family: verdana; color:#000000"
size="1" onchange="jump(this.form)" border="0">
<option value="0">----navigate----</option>
<option value="0"></option>
<option value="http://www.geocities.com/hansomniav1/pphome.html">HOME</option>
<option value="http://www.geocities.com/hansomniav1/links.html">LINKS</option>
<option value="http://www.geocities.com/hansomniav1/layouts.html">LAYOUTS</option>
<option value="http://www.geocities.com/hansomniav1/map.html">SITE MAP</option>
<option value="0"></option>
<option value="http://www.geocities.com/hansomniav1/lust.html">FICTION</option>
<option value="http://www.geocities.com/hansomniav1/pics.html">PICS</option>
</select>
</form>
</div>
</body>
</html>
could someone please tell me whats wrong? the links in the drop down menu wont go into the iframe, and the backgound shows up on my preview page, but not the actual popup i created for it. the page link is: http://www.geocities.com/hansomniav1/index.html
help!!!