Digital Point Forums
San Diego Personal Trainer

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jul 31st 2005, 8:55 am
phpworker phpworker is offline
Peon
 
Join Date: Jul 2005
Posts: 1
phpworker is on a distinguished road
how to check if page is already loaded?

Hi there! this is my situation:
1. open window with specified URL that points to a website.
2. the website is redirected to another URL by script of that website.
3. get the URL the website was redirected to.

The problem is between points 2 and 3. How javascript might recognize if website is already reloaded, so it can get the new URL of it?

I tried to do something like that:
while (!newwindow.location)
{ }
newurl=newwindow.location.href;

but it returns address of blank page. Also tried to use:

<META HTTP-EQUIV="refresh" CONTENT="5; URL='+url+'">

in new window - no reaction.

Any answer would be very appreciated, thank you.
Reply With Quote
  #2  
Old Aug 1st 2005, 9:58 pm
J.D. J.D. is offline
of the Nightfall
 
Join Date: Nov 2004
Posts: 1,198
J.D. has a spectacular aura aboutJ.D. has a spectacular aura about
When the page is fully loaded, its onload handler gets called. That's your clue.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
google check up the page impressions? neostrong Reporting & Stats 13 Dec 13th 2005 6:04 am
site:sitename.com to check indexed page size?? zguoqi Google 7 Sep 23rd 2005 9:15 pm
How to check what link people clicked when they exit the page? crazyhorse Traffic Analysis 3 May 7th 2005 9:48 am
how to check backlink of a specific page? aspcoder Link Development 5 May 2nd 2005 3:27 pm
check the height of a page with dynamic vertical content david_sakh JavaScript 3 Jan 18th 2005 12:21 pm


All times are GMT -8. The time now is 11:27 pm.