PDA

View Full Version : popup windows with and without javascript...


firepages
08-30-2002, 04:10 PM
Hi , I want to provide a popup window for a shopping cart I am working on,but I also need to be able to accomadate those without javascript so I am currently opening the window via target="blank"

in the newly opened window I run a javascript onload which opens the page again in a formatted popup, that way users without javascript get the normal page,

but assuming success I cant close the original page (the target="blank" one) without getting a 'this window is trying to close .... yes/no' etc which looks carp

I assume there is a method to accomatate what I want to do , i.e. popup for javascript enabled and a normal new window for those without

any ideas appreciated.

beetle
08-30-2002, 04:21 PM
This post (http://www.sitepointforums.com/showthread.php?s=&threadid=69983) offers some insight, if not answers

Happy reading :D