Forum Moderators: open

Message Too Old, No Replies

redirection is way to slow!

         

electricocean

6:15 am on Aug 23, 2005 (gmt 0)

10+ Year Member



Is there anyway to make "top.location = URL" any faster?

it's really too slow for my liking.

electricocean

kaled

9:07 am on Aug 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Generally you should use
top.location.href = url
or
top.location.replace(url)

The latter form ensures the intermediate location is not stored in the window's history list.

However, the issue of speed will be related to the server not the browser.

Kaled.

electricocean

2:14 am on Aug 24, 2005 (gmt 0)

10+ Year Member



I added .href and it's still to slow. is their anyother language to refresh and break out of frames?

kaled

9:10 am on Aug 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This is a simple function and should be instantaneous.

What browser are you using?
Where is the script located on the page?
If the script is at the bottom of the page it won't be executed until the page has loaded completely.

To break out of frames, javascript is the only option - and it works fine for everyone else.

Kaled.

electricocean

9:23 pm on Aug 30, 2005 (gmt 0)

10+ Year Member



safari is really slow.

i tried my page in firefox and works fine.....