Connecting Tech Pros Worldwide Help | Site Map

popWindow function

Mike Watt
Guest
 
Posts: n/a
#1: Jul 18 '05
Any help with this??

This script loads a pop up window on the page load... you see the URL that
it loads. I want to know if I can have multiple URLs that it will either
rotate through, or rendomly choose... instead of just the ONE URL.

<SCRIPT>
var theURL = 'http://www.declareyourself.com/psas/adam_brody_small.htm';
var width = 400;
var height = 400;

function popWindow() {
newWindow =
window.open(theURL,'newWindow','toolbar=no,menubar =no,resizable=yes,scrollbars=no,status=no,location =yes,width='+width+',height='+height);
}
</SCRIPT>

ANY THOUGHTS?

Thanks...

Mike


IchBin
Guest
 
Posts: n/a
#2: Jul 18 '05

re: popWindow function


Mike Watt wrote:[color=blue]
> Any help with this??
>
> This script loads a pop up window on the page load... you see the URL that
> it loads. I want to know if I can have multiple URLs that it will either
> rotate through, or rendomly choose... instead of just the ONE URL.
>
> <SCRIPT>
> var theURL = 'http://www.declareyourself.com/psas/adam_brody_small.htm';
> var width = 400;
> var height = 400;
>
> function popWindow() {
> newWindow =
> window.open(theURL,'newWindow','toolbar=no,menubar =no,resizable=yes,scrollbars=no,status=no,location =yes,width='+width+',height='+height);
> }
> </SCRIPT>
>
> ANY THOUGHTS?
>
> Thanks...
>
> Mike
>
>[/color]
Sorry but this is a java newsgroup and not to be be confused with
javascript.

Try a javaSCRIPT newsgroup...

--


Thanks in Advance...
IchBin
__________________________________________________ ________________________

'Laughter is inner jogging'
- Norman Cousins, editor and author (1915-1990)
Closed Thread