drop down boxes

  • Thread starter Thread starter dgtl_nm8r
  • Start date Start date
D

dgtl_nm8r

Hello,
How do I link the items I have in the drop down boxes to hyperlinks??

Thanks,

JM
 
See the post re Jump To below

--




| Hello,
| How do I link the items I have in the drop down boxes to hyperlinks??
|
| Thanks,
|
| JM
 
Here is one from Tripod; it works but it opens like a new
window (target frame) I can't figure out how to change
that. (Also check to see if it inserts free banners ad)



<!--Place this script in the HEAD section.-->

<SCRIPT LANGUAGE = "JavaScript">
function changePage()
{
var f = document.forms.navigation;

var uri = f.pages.options[f.pages.selectedIndex].value;
newPage =
// These settings describe the pop-up browser
// window - you can edit them.
window.open
(uri,"NewPage","height=480,width=640,location=no,scrollbars
=yes,menubar=no,toolbar=no,resizable=yes,status=yes");

}
</SCRIPT>

<!--Insert this anywhere on your page, and customize.-->

<form name="navigation">
<select name="pages" size="1" onChange="changePage();">
<!--For each line of code, you need to do the following:-->
<!--Place your URLs within the quotation marks.-->
<!--Edit the text at the end of each line.-->
<option value="http://www.tripod.com">Go to....
<option value="http://www.tripod.com">Tripod
<option value="http://www.lycos.com">Lycos
<option value="http://www.angelfire.com">Angelfire
<option value="http://www.whowhere.com">WhoWhere
<option value="http://www.wired.com">Wired
</select>
</form>
 
Back
Top