Gossamer Forum
Home : General : Perl Programming :

Not really to do with Perl...

Quote Reply
Not really to do with Perl...
I know this isn't really to do with Perl, but i thought i would ask you what you think Cool

How would you reccomend that i code my pages (javascript) to open up a window behind the current one thay are using? People tend to just close windows if the open up and block the page they are trying to look at, so i think this may help!!! I have seen this code on another site who rotate ads, but i couldn't work out the code; it is possible though as far as i know.

Thanks

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Not really to do with Perl... In reply to
basically..

code to popup
parent.focus ();

that will make the window come back over the popup..

Jerry Su
widgetz sucks
Quote Reply
Re: Not really to do with Perl... In reply to
Surely if you just pop it up behind the window then no-one will see it anyway


Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Not really to do with Perl... In reply to
Yes, but then when they see it is there, the page would have had time to load, they could then see what the site is, and if they want, visit it!!!My mate has found this to be a very effective way of advertising....

Andy


http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Not really to do with Perl... In reply to
Please could you provide me with a walkthrough of how to use this code. I'm not very knowledgable when it comes to Javascript.... Cool

Thanks

Andy

http://www.ace-installer.com
webmaster@Ace-installer.com
Quote Reply
Re: Not really to do with Perl... In reply to
Ive not used much Javascript myself but wouldnt it be something like: onLoad="parent.focus()"

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)