Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   Newbie with a simple question (http://www.velocityreviews.com/forums/t874179-newbie-with-a-simple-question.html)

Dick Rosser 11-28-2003 05:17 PM

Newbie with a simple question
 
Could I wast someones time please with a simple question.
How do I incorporate (b) into (a) so that the url called comes
in the popup?
Many thanks in advance

(a)
<form name="form">
<select name="links">
<option value="#" selected>View Options
<option value="../post.htm">Page 1
<option value="../adoption.htm">Page 2
</select>&nbsp;&nbsp; <input type="button" name="go" value="Go!"
onClick="window.location=document.form.links.optio ns[document.form.links.sel
ectedIndex].value"> </form>

(b)
onClick="window.open('toolbar=no,width=300,height= 270,left=10,top=10,
status=no,scrollbars=no, resize=no');return false">



Steve van Dongen 11-29-2003 03:54 AM

Re: Newbie with a simple question
 
On Fri, 28 Nov 2003 17:17:01 -0000, "Dick Rosser"
<spammerswelcome@aol.com> wrote:

>Could I wast someones time please with a simple question.
>How do I incorporate (b) into (a) so that the url called comes
>in the popup?
>Many thanks in advance
>
>(a)
><form name="form">
><select name="links">
><option value="#" selected>View Options
><option value="../post.htm">Page 1
><option value="../adoption.htm">Page 2
></select>&nbsp;&nbsp; <input type="button" name="go" value="Go!"
>onClick="window.location=document.form.links.opti ons[document.form.links.sel
>ectedIndex].value"> </form>
>
>(b)
>onClick="window.open('toolbar=no,width=300,height =270,left=10,top=10,
>status=no,scrollbars=no, resize=no');return false">


2.4 Why was my post not answered?
http://jibbering.com/faq/#FAQ2_4

The window.open method is typically called with 3 parameters. After
reading the documentation the answer to your question should be
obvious.
http://msdn.microsoft.com/workshop/a...ods/open_0.asp.

Regards,
Steve


All times are GMT. The time now is 01:46 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.