Click to See Complete Forum and Search --> : Jump Menu problems


thomas1973
08-05-2003, 05:14 AM
I am kind of new to this and am designing an intranet site. I am using Dreamweaver as a starting point while I learn.

In my site I have a home page that is 2 frames. The top frame contains the company logo and a jump menu. The bottom frame (I have named Output) will then display the various pages when selected from the jump menu.

However, while I am happy for the majority of pages to be displayed within the frameset, a couple of links I would like to open in their own page. Is this possible? Can I vary the output within a jump menu?

This is the line of code that Dreamweaver has given me:

<select name="jump_menu" onChange="MM_jumpMenu('parent.frames[\'OUTPUT\']',this,1)">

:confused:

Khalid Ali
08-05-2003, 08:58 AM
seems like you want to open a new window for some links.
What you will need to do is add some type of flag in the dreamweaver function params in the select element.

then in the function when you have that flag as true e.g
if(flag){
window.open(this.href,'nw');
}else{
//the rest of dreamweaver crap
}

thomas1973
08-05-2003, 09:31 AM
ok, lost me. just getting started on this. how do i add 'some type of flag' ??

:confused: :confused: :confused:

Khalid Ali
08-05-2003, 10:54 AM
hunmm..I'll see if I could write a piece of code for you..in a day or 2 if found some time..