Click to See Complete Forum and Search --> : problem with pop up page


damon2003
05-25-2004, 09:26 AM
hi,

I have a page with a button on it that opens a popup window fine.

in the new popup window i want another pop to appear when it loads so i have put the following in the body tag of the pop up window

onLoad="javascript:window.open('updates.htm')"

however, it doesnt appear to be working and dont know why. If I go directly to the first popup page via the url the 2nd pop up appears, but doesnt seem to work if i open the first popup via the button,

why is this?

thanks a lot

requestcode
05-25-2004, 10:24 AM
Try this:
onLoad="window.open('updates.htm','pop2')"

You do not need to use "javascript:" and you should supply a name ("pop2") to the window you are opening.