| | |
I Need Help With Frames Please (HTML).
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
This is just a practice web site, but I'd like to know how to do something before I upload my site to a professional web host.
Here is the link.
http://www.geocities.com/nenunenu1333/
Now notice the frame set on the left column. It's titled nav2.htm If you click on "Game Info" it brings you to an htm file called nav2.htm. What I want to do is have a different color scheme for each videogame platform listed below "Game Info," for instance, "Gamecube," "Xbox," "Playstation 2," "Dreamcast," etc. I want each videogame system to have its own color scheme. If you click on the "Gamecube" or "Dreamcast" links you will notice that I have already begun this, BUT as the body on the right side of the page changes the frame on the left side stays the same color.
I already have an htm file titled nav3.htm with the Gamecube color scheme, but how do I implement it into the frame set ONLY when the "Gamecube" link under "Game Info" is clicked?
I have been messing around with this for hours now, and I've gotten the color scheme in the frame to change to the color I wanted but it stayed that color as I clicked through the rest of the links.
Thanks in advance.
Here is the link.
http://www.geocities.com/nenunenu1333/
Now notice the frame set on the left column. It's titled nav2.htm If you click on "Game Info" it brings you to an htm file called nav2.htm. What I want to do is have a different color scheme for each videogame platform listed below "Game Info," for instance, "Gamecube," "Xbox," "Playstation 2," "Dreamcast," etc. I want each videogame system to have its own color scheme. If you click on the "Gamecube" or "Dreamcast" links you will notice that I have already begun this, BUT as the body on the right side of the page changes the frame on the left side stays the same color.
I already have an htm file titled nav3.htm with the Gamecube color scheme, but how do I implement it into the frame set ONLY when the "Gamecube" link under "Game Info" is clicked?
I have been messing around with this for hours now, and I've gotten the color scheme in the frame to change to the color I wanted but it stayed that color as I clicked through the rest of the links.
Thanks in advance.
Gamer Tag: Xaminor
personally I wouldn't use frames, I'd just integrate them into one page, but...
You either need to create a new frameset page with links to your color-co-ordinated menu and content, and then link to that instead of the content page, or use a javascript event to update both frames. Note that users with javascript disabled will then find your site totally inaccessible.
You either need to create a new frameset page with links to your color-co-ordinated menu and content, and then link to that instead of the content page, or use a javascript event to update both frames. Note that users with javascript disabled will then find your site totally inaccessible.
•
•
•
•
You either need to create a new frameset page with links to your color-co-ordinated menu and content, and then link to that instead of the content page...
Gamer Tag: Xaminor
well I can't actually locate theh pages you are referring to, but have you remembered to address it with target="_top"? otherwise it will attempt to open your new frameset in the current frame.
Instead of linking to the page with the information on it, you need to link to a new frameset page. Your frameset page will be the same as your index page, with the menu of your choice in the left, and the content in the right. You then have to set the target to be _top.
Other than that just use a javascript from google to update two frames with one click.
Other than that just use a javascript from google to update two frames with one click.
I'm fairly new at this, maybe I shouldn't use frames for now because that didn't make much sense to me.
Here is what my index page currently looks like...
index.htm
<html>
<head>
<title>Finger Skills</title>
</head>
<frameset cols="135,*" frameborder="no" framespacing="0">
<frame src="mynav1.htm" name="nav">
<frame src="myhome.htm" name="main">
<noframes>
<body background="#d6e9d7" bgcolor="#d6e9d7" text="#1d2920" link="#1d2920" vlink="#993300" alink="#f3824b">
<p>Sorry but your browser can not properly display our frames based Website. Please consider updating your browser. You can download one from <a href="<A href="http://browsers.evolt.org">here</a>.</p">http://browsers.evolt.org">here</a>.</p>
</body>
</noframes>
</frameset>
</html>
This is mynav1.htm
<html>
<head>
<title>Finger Skills Navigation</title>
<base target="main">
</head>
<body bgcolor="#d6e9d7" text="#1d2920" link="#f3824b" vlink="orange" alink="#1d2920">
<p align="left"><font size="5" color="#ff0000" face="poor richard">Content</font></p>
<p>
<a href="myhome.htm">Home</a><br>
<a href="http://s7.invisionfree.com/fingerskillsdotcom" target="blank_">Forums</a><br>
<a href="mynav2.htm" target="nav">Game Info</a><br>
</p>
<hr>
<p>
<a href="archives.htm">Archives</a><br>
<a href="aboutus.htm">About Us</a><br>
<a href="myfeedback.htm">Feedback</a><br>
</p>
</body>
</html>
Here is mynav2.htm
<html>
<head>
<title>Finger Skills Navigation</title>
<base target="main">
</head>
<body bgcolor="#d6e9d7" text="#1d2920" link="#f3824b" vlink="orange" alink="#1d2920">
<p align="left"><font size="5" color="#ff0000" face="poor richard">Content</font></p>
<p>
<a href="myhome.htm">Home</a><br>
<a href="http://s7.invisionfree.com/fingerskillsdotcom" target="blank_">Forums</a><br>
<a href="mynav1.htm" target="nav">Game Info</a><br>
<a href="Reviews/videogamereviews.htm">Reviews</a><br>
<a href="Previews/videogamepreviews.htm">Previews</a><br>
<a href="News/videogamenews.htm">News</a><br>
<a href="Xbox/xbox.htm">Xbox</a><br>
<a href="Playstation2/ps2.htm">Playstation 2</a><br>
<a href="Gamecube/gamecube.htm">Gamecube</a><br>
<a href="GameBoyAdvance/gba.htm">GBA</a><br>
<a href="PC/pc.htm">PC</a><br>
<a href="PSP/psp.htm">PSP</a><br>
<a href="Dreamcast/dreamcast.htm">Dreamcast</a><br>
<font color="#f3824b">N-Gage</fontt><br>
<font color="#f3824b">Retro</font><br>
<font color="#f3824b">Media</font><br>
<font color="#f3824b">Cheats</font>
</p>
<hr>
<p><a href="aboutus.htm">About Us</a><br>
<a href="myfeedback.htm">Feedback</a><br>
<a href="archives.htm">Archives</a><br>
</p>
</body>
</html>
Now, when I click on the link "Gamecube" (see mynav2.htm above) I want the frame on the left of the page to change as well as the frame on the right. I made a mynav3.htm with the color scheme I want for the frame, but I don't know how to implement it.
Can you use code to help and then tell me where I need to place it? Thanks.
Here is what my index page currently looks like...
index.htm
<html>
<head>
<title>Finger Skills</title>
</head>
<frameset cols="135,*" frameborder="no" framespacing="0">
<frame src="mynav1.htm" name="nav">
<frame src="myhome.htm" name="main">
<noframes>
<body background="#d6e9d7" bgcolor="#d6e9d7" text="#1d2920" link="#1d2920" vlink="#993300" alink="#f3824b">
<p>Sorry but your browser can not properly display our frames based Website. Please consider updating your browser. You can download one from <a href="<A href="http://browsers.evolt.org">here</a>.</p">http://browsers.evolt.org">here</a>.</p>
</body>
</noframes>
</frameset>
</html>
This is mynav1.htm
<html>
<head>
<title>Finger Skills Navigation</title>
<base target="main">
</head>
<body bgcolor="#d6e9d7" text="#1d2920" link="#f3824b" vlink="orange" alink="#1d2920">
<p align="left"><font size="5" color="#ff0000" face="poor richard">Content</font></p>
<p>
<a href="myhome.htm">Home</a><br>
<a href="http://s7.invisionfree.com/fingerskillsdotcom" target="blank_">Forums</a><br>
<a href="mynav2.htm" target="nav">Game Info</a><br>
</p>
<hr>
<p>
<a href="archives.htm">Archives</a><br>
<a href="aboutus.htm">About Us</a><br>
<a href="myfeedback.htm">Feedback</a><br>
</p>
</body>
</html>
Here is mynav2.htm
<html>
<head>
<title>Finger Skills Navigation</title>
<base target="main">
</head>
<body bgcolor="#d6e9d7" text="#1d2920" link="#f3824b" vlink="orange" alink="#1d2920">
<p align="left"><font size="5" color="#ff0000" face="poor richard">Content</font></p>
<p>
<a href="myhome.htm">Home</a><br>
<a href="http://s7.invisionfree.com/fingerskillsdotcom" target="blank_">Forums</a><br>
<a href="mynav1.htm" target="nav">Game Info</a><br>
<a href="Reviews/videogamereviews.htm">Reviews</a><br>
<a href="Previews/videogamepreviews.htm">Previews</a><br>
<a href="News/videogamenews.htm">News</a><br>
<a href="Xbox/xbox.htm">Xbox</a><br>
<a href="Playstation2/ps2.htm">Playstation 2</a><br>
<a href="Gamecube/gamecube.htm">Gamecube</a><br>
<a href="GameBoyAdvance/gba.htm">GBA</a><br>
<a href="PC/pc.htm">PC</a><br>
<a href="PSP/psp.htm">PSP</a><br>
<a href="Dreamcast/dreamcast.htm">Dreamcast</a><br>
<font color="#f3824b">N-Gage</fontt><br>
<font color="#f3824b">Retro</font><br>
<font color="#f3824b">Media</font><br>
<font color="#f3824b">Cheats</font>
</p>
<hr>
<p><a href="aboutus.htm">About Us</a><br>
<a href="myfeedback.htm">Feedback</a><br>
<a href="archives.htm">Archives</a><br>
</p>
</body>
</html>
Now, when I click on the link "Gamecube" (see mynav2.htm above) I want the frame on the left of the page to change as well as the frame on the right. I made a mynav3.htm with the color scheme I want for the frame, but I don't know how to implement it.
Can you use code to help and then tell me where I need to place it? Thanks.
Gamer Tag: Xaminor
Try this link:
http://javascript.internet.com/navig...wo-frames.html
See how you get on with it. It's fairly simple, but let me know if we can help at all.
http://javascript.internet.com/navig...wo-frames.html
See how you get on with it. It's fairly simple, but let me know if we can help at all.
np. let us know how you get on.
![]() |
Similar Threads
- can we get html source of a paricular frame in a webpage using vb.net (VB.NET)
- Frames in C ... (C)
- Html (HTML and CSS)
- targetting a web page to an html table (HTML and CSS)
- Need help with frames (Site Layout and Usability)
Other Threads in the HTML and CSS Forum
- Previous Thread: Help with text box height
- Next Thread: Rank help
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





