The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

infinite loop problem with browser redirect scripts

hello all!

I've been looking for a good browser redirect script to sort-of solve the problems I'm having with Nav5+ (see thread called "css and browser problems"). All the scripts i've found only cause an infinite loop problem. I'm not sure what I might be doing wrong. Does anyone have any suggests or know of a good script that they have used and are happy with the results?

re: infinite loop

Infinite loops only happen if you have for, while, do-while statments. You don't have those in your script (which can be cleaned up a bit) so you should not have a infinite loop because of your script. However, sometimes browser can have an issues with CSS file especially if it cannot find the file itself. Make sure you're using the correct path and name of the file.