Forum Moderators: open

Message Too Old, No Replies

Age script Firefox problem

works perfect in IE

         

FrankieWVU

6:12 am on Jun 7, 2005 (gmt 0)



Here is the URL of the page:

<sni>

The script works just fine in IE but in Firefox (I am sure other mozilla too) half of it does not work.

Any suggestions? Thanks.

[edited by: Brett_Tabke at 11:04 pm (utc) on June 7, 2005]
[edit reason] please no urls - thanks. [/edit]

Jimmy Turnip

8:48 am on Jun 7, 2005 (gmt 0)

10+ Year Member



Have you tried opening the JavaScript Console when running it in FireFox to check where the problem might be. It says there is a problem on line 207 Error: go not defined.

ChadSEO

10:52 pm on Jun 7, 2005 (gmt 0)

10+ Year Member



If you move the "function go()" block out from within the "function run()" block, and above it, then it should work in both. In general, it's best not to nest your functions, and to specify any functions before they are called.