hamdiggy
03-24-2003, 04:24 AM
i have a script that by all account should work. but it doesn't. and i don't know why. and it pisses me off.
http://www.hamiltondraws.com/javascriptsucks.php
there are three different ways i show of how the function COULD work. and even though the third does work, it's far too much code to be showing over and over again in a list of links. i would much rather be able to just call a function to do the if statement.
if someone could tell me why the first two links don't work properly, that would be great. cuz i am at a loss.
http://www.hamiltondraws.com/javascriptsucks.php
there are three different ways i show of how the function COULD work. and even though the third does work, it's far too much code to be showing over and over again in a list of links. i would much rather be able to just call a function to do the if statement.
if someone could tell me why the first two links don't work properly, that would be great. cuz i am at a loss.