Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:41

java script in menu


Poster: jnovian __at__ premiereradio.com
Dated: Wednesday April 24 2002 - 18:27:45 BST

How can I make a link open in a page with specific settings (now tool bars, no resize, etc.) using a script? For example, if I wanted to do this in plain text in HTML on a page, the link would look like this:

Schedule
of Availabilty


HERE IS THE SCRIPT (in the HEADER):

<script language="JavaScript">
<!-- Hide the script from old browsers --
function surftonew(form) {
var myindex=form.dest.selectedIndex
window.open(form.dest.options[myindex].value);
}
//-->
</SCRIPT>




Thank you for your help!

Justin Novian
jnovian __at__ premiereradio.com

Re: java script in menu


Poster: Andy
Dated: Thursday April 25 2002 - 5:03:13 BST

in the area in the menu array where you would put the href put javascript:surftonew(document.formname)