Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Client-side Scripting _ New window

Posted by: derfderf Mar 21 2012, 02:17 PM

Have 3 option buttons and would like to open up 3 different windows (one with menu options,one with no menu options, and
one with scroll bars only) when doing a submit and off of the submit to open 3 different html forms based off the option buttons for
the 3 different type of windows opens.


Thanks.

Posted by: Darin McGrew Mar 21 2012, 05:39 PM

Please see the FAQ entry http://htmlhelp.com/faq/html/links.html#new-window If that doesn't address your issue, then please explain what you want in more detail.

Posted by: pandy Mar 21 2012, 06:11 PM

If you want to limit the features of the new windows you must open them with JavaScript.

Posted by: derfderf Mar 23 2012, 04:11 PM

I know how to open a new window etc. but I want the submit button when clicked to see which option is selected and depending on the option then open a window normally and load a page, if the other option is selected then open a new window without menu items and load a page or if the 3rd option was selected then open a new window with no menu just scroll bars. I know I need javascript but get lost in the loop (if then) to do the correct window.

Posted by: Darin McGrew Mar 23 2012, 04:39 PM

I'm moving this to the client-side scripting forum.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)