Rockrz
09-02-2001, 05:25 PM
I'm trying to get my drop down menu (javascript) in frame "A" to change pages down in frame "B"
If anyone with knowledge of how to do this could take afew minutes to help out, I would REALLY appreciate it. . . .
Up here is frame "A" & where
I've placed my drop down menu
_________________________________________
Down here is frame "B" & where I
want all my links to open into. I want to make
frame "A" stationary at all times
Here's the drop menu script I'm using
<script language="JavaScript">
<!--
function goToURL(form)
{
var myindex=form.dropdownmenu.selectedIndex
if(!myindex=="")
{
window.location.href=form.dropdownmenu.options[myindex].value;
// This is an alternative method you can use
// var frameTarget = "_new";
// window.open(form.dropdownmenu.options[myindex].value,frameTarget,"");
}
}
//-->
</script>
<form name="dropDownForm">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">---------SELECT A PAGE---------
<option value="http://www.austinsings.com/sitesponsors.html ">Site Sponsors
<option value="http://pub66.ezboard.com/baustinsingsdiscussionforums ">AustinSingers Talk Talkboard
<option value="http://www.austinsings.com/emaillist.html target=main">Join our E-Mail List
<option value="http://www.austinsings.com/referrals.html target=main">Karaoke Show Referrals
<option value="http://www.austinsings.com/sponsor.html target=main">Become A Sponsor
<option value="http://www.austinsings.com/hotlinks.html target=main">HOT Local Links
<option value="http://www.austinsings.com/othercities.html target=main">Other Texas Cities
<option value="http://www.austinsings.com/webrings.html target=main">WebRings
<option value="http://www.austinsings.com/sitesponsors.html target=main">MEET AUSTIN's KJs
<option value="http://www.austinsings.com/main.html target=main">- - - - - H O M E P A G E - - - - -
</select>
</form>
Here's the frameset script I'm using
<frameset rows="86,*" border="0" frameborder="0"
framespacing="0" bordercolor="#000000">
<frame name="header" src="header.html"
scrolling="no" noresize marginheight="0" marginwidth="0">
<frame name="main" src="main.html"
scrolling="auto" noresize
marginheight="0"
marginwidth="0">
</frameset>
If anyone with knowledge of how to do this could take afew minutes to help out, I would REALLY appreciate it. . . .
Up here is frame "A" & where
I've placed my drop down menu
_________________________________________
Down here is frame "B" & where I
want all my links to open into. I want to make
frame "A" stationary at all times
Here's the drop menu script I'm using
<script language="JavaScript">
<!--
function goToURL(form)
{
var myindex=form.dropdownmenu.selectedIndex
if(!myindex=="")
{
window.location.href=form.dropdownmenu.options[myindex].value;
// This is an alternative method you can use
// var frameTarget = "_new";
// window.open(form.dropdownmenu.options[myindex].value,frameTarget,"");
}
}
//-->
</script>
<form name="dropDownForm">
<select name="dropdownmenu" size=1 onChange="goToURL(this.form)">
<option selected value="">---------SELECT A PAGE---------
<option value="http://www.austinsings.com/sitesponsors.html ">Site Sponsors
<option value="http://pub66.ezboard.com/baustinsingsdiscussionforums ">AustinSingers Talk Talkboard
<option value="http://www.austinsings.com/emaillist.html target=main">Join our E-Mail List
<option value="http://www.austinsings.com/referrals.html target=main">Karaoke Show Referrals
<option value="http://www.austinsings.com/sponsor.html target=main">Become A Sponsor
<option value="http://www.austinsings.com/hotlinks.html target=main">HOT Local Links
<option value="http://www.austinsings.com/othercities.html target=main">Other Texas Cities
<option value="http://www.austinsings.com/webrings.html target=main">WebRings
<option value="http://www.austinsings.com/sitesponsors.html target=main">MEET AUSTIN's KJs
<option value="http://www.austinsings.com/main.html target=main">- - - - - H O M E P A G E - - - - -
</select>
</form>
Here's the frameset script I'm using
<frameset rows="86,*" border="0" frameborder="0"
framespacing="0" bordercolor="#000000">
<frame name="header" src="header.html"
scrolling="no" noresize marginheight="0" marginwidth="0">
<frame name="main" src="main.html"
scrolling="auto" noresize
marginheight="0"
marginwidth="0">
</frameset>