what if you just got rid of the
else
{window.location = "wherever"}
in the code? would it work for anything, because 2 temlates are actually used in the redirect, standardredirect and the redirect_xxx for whatever type of redirect it is. the standardredirect is the one that sends you to the next page after 1 second anyways....who cares if the % might be lower then 100 before it refreshes...
|