Hi,
We're trying to build a menu in a modal popup window, as you can see here. This is an exclusive feature of MSIE 6 (maybe 7 too?).
From the popup window, if you choose the option "Submit Me!" in the menu, the form will be submitted and you'll be driven to another page.
The problem is there's an unwanted window who opens in the submit process with the URL javascript;;
All the code is here.
--
Thanks a lot,
Cro
Menu in modal popup in MSIE 6
Hi,
I'm not a js person, just so you know, but try the following. It seemed to work for me - on my desktop anyway.
Change your submit menu to
Hope this helps
Ruth
I'm not a js person, just so you know, but try the following. It seemed to work for me - on my desktop anyway.
Change your submit menu to
Code: Select all
with(milonic=new menuname("MenuContext1")){
style=MenuContexto31_style;
aI("text=Submit Me!;url=javascript:submit_me()");
}
Ruth
Strangely, your code doesn't work for me: it complains about the "unknown" object submit_me; but it inspired me to write the next piece of code who does the trick:
If you aren't a JS person, then what's left for the rest of us...
Ruth, Thanks a bunch for your help!
--
Regards,
Cro
Code: Select all
with(milonic=new menuname("MenuContext1")){
style=MenuContexto31_style;
aI("text=Submit Me!;url=#;clickfunction=submit_me()");
}
Ruth, Thanks a bunch for your help!
--
Regards,
Cro