-
On my site I have a pull down menu on every page but this means editing each one every time a page is made so I would like to ask:
Can I have to pull down menu on a separate frame so when a link is chosen it opens the page in my other frame?
-
-
05-24-2003, 08:00 PM
Software & Hardware -
#2
Poster
Yep. Check out this page: http://www.thesitewizard.com/archive/navigation.shtml
The only difference will be that, where it says "location.href", you'll need to change it to "[frame name].location.href". Replace "[frame name]" with the name of the frame where you want the page to load.
-
-
05-24-2003, 08:05 PM
Software & Hardware -
#3
Poster
Or you can keep it on the same page and using Dreamweaver select the menu and put in it the library. Replace all of your other menus on the other pages with the one in the library. Now when you make changes to the menu in the library, Dreamweaver will automatically change every menu in th site to match.
Or you could use frames. Just make sure the target is set correctly
-
-
05-24-2003, 08:16 PM
Software & Hardware -
#4
At last replies!, lol.
Thanks alot, I'll try your tips now.
It's the next big step in the production of my site.
-
-
05-24-2003, 08:25 PM
Software & Hardware -
#5
ok, the site is confusing and so is dreamweaver, lol.
<script LANGUAGE="JavaScript">
<!-- Begin
function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
// End -->
</SCRIPT>
<center>
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value="">Go to...
<!-- Option 1 -- To have the pull down menu go to your own pages, change the URL within the quotation marks and the link name. -->
<!-- Option 2 -- You may remove or add entire lines to increase or decrease the number of links. -->
<option value="http://www.geocities.com/trshadysworld/links.htm">Links
<option value="http://www.geocities.com/trshadysworld">Home
<option value="http://www.geocities.com/trshadysworld/cd-keys.htm">CD-keys
<option value="http://www.geocities.com/trshadysworld/comedy.htm">Comedy
<option value="http://www.geocities.com/trshadysworld/software.htm">Software
<option value="http://www.geocities.com/trshadysworld/sitehistory.htm">Site History
<option value="http://www.geocities.com/trshadysworld/sega.htm">Sega ROMs
<option value="http://www.geocities.com/trshadysworld/aboutmeandfaq">About me & FAQ
<option value="http://www.geocities.com/trshadysworld/windowsht.htm">Windows Hints & Tips
</select>
</form>
</center>
Thats the html for my pulldown menu but this opens the link in the same frame.
Could you kindly tell me (in a fool-proof way) how to make the link open in the frame below plz?
-
-
05-25-2003, 07:42 PM
Software & Hardware -
#6
Anyone know?
Just trying to make this thread noticed.
-
-
05-25-2003, 08:34 PM
Software & Hardware -
#7
=]
frontpage can do it too... just do create new template... n pick it
-
-
05-25-2003, 08:41 PM
Software & Hardware -
#8
yeah, I use frontpage but don't do how to make my pull down menu open a link in another frame
(on the same page).
-
-
05-25-2003, 09:03 PM
Software & Hardware -
#9
=]
<html>
<head>
</head>
<frameset rows="64,*">
<frame name="header" scrolling="no" noresize target="main" src="new_page_3.htm">
<frame name="main" src="new_page_4.htm">
<noframes>
<body>
This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
NEW PAGE 3 >> THATZ THE SCROLL THINGY --> where you want to place the links
NEW PAGE 4 >> THATZ THE FIRST PAGE YOUR WEBSITE LOADS
-
-
05-25-2003, 09:24 PM
Software & Hardware -
#10
Thanks soul, I'll try that.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks