View Full Version : help!
DDR_freak 01-30-2003, 11:40 PM I have to make a whole new site because geocities will not let me updat em site any more and I can not remember how to do frames correctly....
whats wrong here.........
<html>
<head>
<title>My Page</title>
</head>
<frameset cols=20%,80%>
<frame src="http://www.geocities.com/ddr_bunny/menu.html" name="leftside">
<frame src="http://www.geocities.com/ddr_bunny/home.html" name="rightside">
</frameset>
<body>
</body>
<noframes>
<a href="index.html">Click Here</a>
</noframes>
</html>
Charrey 01-31-2003, 03:57 AM This is almost a shot in the dark, but try putting quotation marks around the column things like this:
<html>
<head>
<title>My Page</title>
</head>
<frameset cols="20%,80%">
<frame src="http://www.geocities.com/ddr_bunny/menu.html" name="leftside">
<frame src="http://www.geocities.com/ddr_bunny/home.html" name="rightside">
</frameset>
<body>
</body>
<noframes>
<a href="index.html">Click Here</a>
</noframes>
</html>
I would put the BODY into the NOFRAMES area and then put all of that within the FRAMESET area...
<html>
<head>
<title>My Page</title>
</head>
<frameset cols="20%,80%">
<frame src="http://www.geocities.com/ddr_bunny/menu.html" name="leftside">
<frame src="http://www.geocities.com/ddr_bunny/home.html" name="rightside">
<noframes>
<body>
<a href="index.html">Click Here</a>
</body>
</noframes>
</frameset>
</html>
DDR_freak 01-31-2003, 07:37 PM its still not working......
Sheila 01-31-2003, 07:50 PM By chance are you using a page builder? If so, that is why the frames are not working. You have to use the advanced editor. If not....
Try this:
<HTML><HEAD><TITLE>title</TITLE></HEAD>
<FRAMESET COLS="20%,80%">
<FRAME SRC="http://www.geocities.com/ddr_bunny/menu.html" NAME="leftside" noresize>
<FRAME SRC="http://www.geocities.com/ddr_bunny/home.html" NAME="rightside" noresize>
</FRAMESET>
<NOFRAMES>
Sorry, but your browser does not support frames.
</NOFRAMES>
</HTML>
It looks like you have way too many HTML, DOCTYPE, and HEAD tags. In any page coding, you are only allowed one set of each. You may want to :
Open your page coding in the "advanced" editor,
Delete everything currently there (yes everything),
Put Sheila's coded answer in,
Save it and you should be on your way...
DDR_freak 02-02-2003, 05:37 PM How do I open my page coding in the "advanced" editor?
starlet 02-02-2003, 06:00 PM Click (http://www.lissaexplains.com/forum//showthread.php?s=&postid=225931#post225931)
DDR_freak 02-02-2003, 09:12 PM ok, I have frames now, but how do I get it so when you click on it, it goes on the right side and not the left.
blue gal 422 02-02-2003, 09:28 PM <a href="http://address you want to link to" target="rightside">link name</a>
DDR_freak 02-02-2003, 10:05 PM ok It still going to the left side what is wrong with this code?
<form>
<select name=lissamenu3 size="1"
onchange="location.href=(form.lissamenu3.options[form.lissamenu3.selectedIndex].value)"
style="font-family: comic sans ms"
style="color: #FFFF00"
style="border: outset"
style="font-size: 12"
style="background: #CC99FF">
<option value="0">Choose One</option>
<option value="0"></option><a href="http://www.geocities.com/ddr_bunny/mydoor.html" target="rightside">link name</a>
<option> <a href="http://www.geocities.com/ddr_bunny/quizzes.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/hotties.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/eva.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/anime.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/aboutme.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/Links.html" target="rightside">link name</a></option>
</form>
blue gal 422 02-02-2003, 10:16 PM that code is for the dropdown menu, and not for frames..or is it?
DDR_freak 02-02-2003, 10:17 PM I had a drop down menu b4 and it was in frames....
blue gal 422 02-03-2003, 01:15 AM <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="yournameframe");
}
}
//-->
</script>
<form name="lissamenu3">
<select name="menu" style="background-color: #CC99FF ;
font size=12 ; font-family: comic sans ms; color:#ffff00"
size="1" onchange="jump(this.form)">
<option value="0">Choose One</option>
<option value="0"></option><a href="http://www.geocities.com/ddr_bunny/mydoor.html" target="rightside">link name</a>
<option> <a href="http://www.geocities.com/ddr_bunny/quizzes.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/hotties.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/eva.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/anime.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/aboutme.html" target="rightside">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/Links.html" target="rightside">link name</a></option>
</select>
</form>
DDR_freak 02-03-2003, 03:50 AM doesnt work when I click on it just a blank page pops up. I want the page to be a non-pop up on thr right side of the frame.
Sheila 02-03-2003, 06:55 AM It's because you didn't change the bold part in the drop down menu code.
<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="rightside");
}
}
//-->
</script>
<form name="lissamenu3">
<select name="menu" style="background-color: #CC99FF ;
font size=12 ; font-family: comic sans ms; color:#ffff00"
size="1" onchange="jump(this.form)">
<option value="0">Choose One</option>
<option value="0"></option><a href="http://www.geocities.com/ddr_bunny/mydoor.html">link name</a>
<option> <a href="http://www.geocities.com/ddr_bunny/quizzes.html">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/hotties.html">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/eva.html">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/anime.html">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/aboutme.html">link name</a></option>
<option>
<a href="http://www.geocities.com/ddr_bunny/Links.html">link name</a></option>
</select>
</form>
DDR_freak 02-04-2003, 01:47 AM now when I click on the links they dont work....Did I forget anything in the code besides what Sheila gave me?
Sheila 02-04-2003, 07:27 AM this should work.....
<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="rightside");
}
}
//-->
</script>
<form name="lissamenu2">
<select name="menu" style="background-color: #CC99FF ;
font size=10 ; font-family: comic sans ms; color:#ffff00"
size="1" onchange="jump(this.form)">
<option value="0">Choose One</option>
<option value="0"></option>
<option value="http://www.geocities.com/ddr_bunny/mydoor.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/quizzes.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/hotties.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/eva.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/anime.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/aboutme.html">link name</option>
<option value="http://www.geocities.com/ddr_bunny/Links.html">link name</option>
</select>
</form>
blue gal 422 02-05-2003, 12:22 AM ooppss lol i didnt notice that it was just option and not option value...sorry i thought i knew what your prob is...
|