Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Popup Windows |
From: | Colin Moock |
Date: | Tue, 9 Feb 1999 17:57:39 GMT |
flashershocker [dot] com,Internet writes:
>Use the following instead of hard coding.
>setTimeout('newwin =
>window.open("'+winurl+'","'+winname+'","'+winfeatures+'")',200);
>Please note the ' & " s they are necessary for JavaScript to evaluate
>the variables else they are taken as strings :)
great tarique!
though it does seem strange to me that you can't do something like this (which
is what i tried before hardcoding):
setTimeout('newwin = window.open(' + winurl,winname,winfeatures + ')', 100);
in fact, i expected to just be able to use:
setTimeout('newwin = window.open(winurl,winname,winfeatures)', 100);
can you explain the need for both single and double quoting?
> a time out of
>200millisec seems to be necessary for older machines P133 (works with
>100 on PII 233)
cool, thanks for testing...i was too busy to try it on another box. I've
changed my script to use 250, just for good measure.
i've also updated my site to use this approach. much cleaner again. thanks for
the info.
colin
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: Popup Windows, SANIsoft
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]