jQuery: color change doesn't work with Chrome and Safari
- by Patrick
hi,
could you explain me why the following code doesn't work in Chrome and Safari, but only in Firefox ?
if ($(this).css("color") == "Fuchsia"){ $(this).css("color","#000000"); }
This is the link:
http://www.sanstitre.ch/drupal/portfolio?tid[0]=38
If you scroll down and up you'll see "Eternal Tour" becoming purple and black again, because it is not anymore selected. (with FIrefox)
With Chrome and Safari it remains black.