Javascript "Animation"

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

04-Apr-12 04:41
I want to write a Javascript program that opens a HTML page, leaves it up for a time, then closes it and moves on to another HTML page.

I can get Javascript to open a page with a open.window( ) command but it won't automatically progress to the close.window ( ) command. Also can you show how to get a delay during the time the page is open?

--
Milan Terzic
04-Apr-12 13:17
You can't.

Javascript is event driven NOT a procedural language. And trying to make it run recursively, which is what you need to do, will simply crash the browser instance it is running in.


So you will have to figure out another way of faking impressions.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/
09-Apr-12 17:34
Hmm.. my idea is to have a content slider with ajax and jquery.

Google it and you will hopefully find something good

 
New posts
Old posts

Follow Elated