PDA

View Full Version : Open New Window Script


everglade
01-08-2001, 07:12 PM
Can someone please tell me why, when you use the script taken off the A1 Javascripts site for 'Open New Browser Window' using either a text or image as a link, when you click the link to open up the new window, all the animated GIF's on the original page "freeze"?? (ie stop 'animating!') and will not start up again unless the page is refreshed!!
Please help!! I thought it was something on my page, but it does it on the example given on their site too, just look at the GIF buttons at the foot of their page.
I would be very thankful for an answer!

Cheers

------------------
Nick Hayes

jonirvine
01-08-2001, 08:50 PM
Yep, It just does that.

One method of getting round it is to use an onclick="" command in the link which pops the window up and in the href="" add the page that you are already on.

That way the window will pop up, and the other will refresh?

Only an idea

You can get the specific script to do this at my site:
http://www.101tutorials.com/scripts/javascripts/browserwindows/popup1.asp

Replace javascript:void(0); with the URL of the page you want to refresh so the animated gifs continue.

------------------
Web Design, development and hosting.
Contact: jon@dustnet.co.uk www.yorkdesigns.co.uk (http://www.yorkdesigns.co.uk)
Newest Project: www.101tutorials.com (http://htpp://www.101tutorials.com)

[This message has been edited by jonirvine (edited 01-09-2001).]