popWindow function

From: Mike Watt (djmikewatt_at_hotmail.com)
Date: 10/11/04


Date: Mon, 11 Oct 2004 00:38:14 GMT

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



Relevant Pages

  • Re: I-lookup
    ... > Everytime I open un the internet, it loads up with the I- ... Your download should start in a minute.. ... Double click on this icon. ... right of the window you will see a "Start" buttonand right above that the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Problem with Image display on separate window
    ... I finally got the setTimeout to work and it seems to work pretty well. ... I am curious as to why the large image loads quick after the first time it ... when you are in a loop (while loop or for loop of x iterations to simulate ... is there some type of hide window function? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: IE Hangs on load....For about 10 mins...
    ... clear all your temp internet files, ... when loading up so if there are loads it will slow it down. ... > but then stops and hangs for about 10 mins, ... This happens for each window i open, ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • problems with images using innerhtml in ie
    ... when clicked on display a larger ... sometimes it loads part of the image and ... this to work without preloading the images (there are a lot of images ... var el = document.getElementById; ...
    (comp.lang.javascript)
  • YUI - Datasource question
    ... I am using asp to produce xml data. ... The data successfully loads into ... Using var url="test.asp", the datatable loads without any problems, ... rowsPerPage: 10, ...
    (comp.lang.javascript)