View Full Version : i need help AGAIN


babygurl_holla1
09-06-2004, 04:22 AM
well i have a new web site( i did not like the other one) and i have a little proble i can't moive the iframe under the picture.

here is the code:

<html>
<STYLE TYPE="text/css">
BODY {background-image: url(http://img.photobucket.com/albums/v414/renne/kanye%20west/hollakanye.jpg);
background-repeat: no-repeat;
background-position: 160px 100px;}
</STYLE>
<body bgcolor="#c57c00"
<div id=layer1 style="position:absolute; top:300px; left:300px; width:450px; height:600px; z-index:1;"><IFRAME name="home" src="http://www.geocities.com/kanyewestfanz/welcome.html" width="450" height="600">
</IFRAME></div>
<script language="javascript" type="text/javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="home");
}
}
//-->
</script>

<form name="lissamenu2" ACTION=URI>
<select name="menu" onchange="jump(this.form)">
<option value="0">Where to?</option>
<option value="0"></option>
<option value="http://www.geocities.com/kanyewestfanz/welcome.html">Home</option>
<option value="http://www.geocities.com/kanyewestfanz/bio.html">bio</option>
<option value="http://www.geocities.com/kanyewestfanz/lyrics.html">lyrics</option>
<option value="http://www.geocities.com/kanyewestfanz/pics.html">pics</option>
<option value="http://www.geocities.com/kanyewestfanz/audio.html">audio</option
</select>
</form>
</body></html>

Monkey Bizzle
09-06-2004, 05:02 AM
First of all, you need to fix your code. you are missing the <head> tags and you forgot a > after the body tag... if you want to move the iframe, just change the position of the div layer.

<html>
<head>

<title>you don't need a title but if you don't have one, your code isn't considered proper. it won't validate if you try to validate it.</title>
<STYLE TYPE="text/css">
BODY {background-image: url(http://img.photobucket.com/albums/v414/renne/kanye%20west/hollakanye.jpg);
background-repeat: no-repeat;
background-position: 160px 100px;}
</STYLE>
</head>
<body bgcolor="#c57c00">
<div id=layer1 style="position:absolute; top:300px; left:300px; width:450px; height:600px; z-index:1;"><IFRAME name="home" src="http://www.geocities.com/kanyewestfanz/welcome.html" width="450" height="600">
</IFRAME></div>
<script language="javascript" type="text/javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="home");
}
}
//-->
</script>

<form name="lissamenu2" ACTION=URI>
<select name="menu" onchange="jump(this.form)">
<option value="0">Where to?</option>
<option value="0"></option>
<option value="http://www.geocities.com/kanyewestfanz/welcome.html">Home</option>
<option value="http://www.geocities.com/kanyewestfanz/bio.html">bio</option>
<option value="http://www.geocities.com/kanyewestfanz/lyrics.html">lyrics</option>
<option value="http://www.geocities.com/kanyewestfanz/pics.html">pics</option>
<option value="http://www.geocities.com/kanyewestfanz/audio.html">audio</option
</select>
</form>
</body></html>

babygurl_holla1
09-06-2004, 05:20 AM
thanks it worked :)