Hello,

I'm working too on a media player (using Aflax) but I have a problem 
with Firefox 2. The following code doesn't work althought it used to 
work with firefox 1.

//deal with the classes of the play button
    $(".play_").toggle(function(){
        $(".play_on").removeClass("play_on").addClass("play_");
        $(this).removeClass("play_").addClass("play_on");
        },function(){
        $(this).removeClass("play_on").addClass("play_");
        }
    );

The line

$(".play_on").removeClass("play_on").addClass("play_");

Generate an error : o.className has no properties :(

This is supposed to toggle a play/stop button in the plugin I'm working 
on, ie, a multimedia player with invisible flash object.

When it works, I will link the css change to the track skipping.

You can see the script here :
http://spip-zone.info/spip.php?page=jplayer

BoOz

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to