switch structure doesn't work!
In my page, one variable containing a string value is matching two different cases. The cases don't really match and so I figure I did something wrong setting up the switch structure.
Instead of pasting it here, I thought it would be easier to send you to the site where some alerts are already in place to update you on the debugging proccess so far and clarify the situation.
So if you want to try to help, please point ie5 and up to http://www.akohl.com/simpsons/
You will find a personality test. Choose answer "a" for both questions 1 and 3 and you'll see the alerts that show that one expression matches two cases.
works now. Now, to the other browsers.
I just replaced the switch case structure with an if, else if, ect structure.
I wonder why it didn't work before.
Now, to get it to work in other browsers.
How could I script the exact same functions for netscape and opera?