Grow your CSS skills. Land your dream job.

Opacity in Safari

  • # December 27, 2009 at 10:28 pm

    Hi everyone,
    I am trying to get the "fadeTo" function to work in Safari, but I cannot get it to work. it works in Firefox, just not safari.
    does anyone know of a way to do this? below is the code i’ve used.

    Code:
    $(document).ready(function() {

    $(“#nav ul li a”).hover(
    function () {
    $(this).stop().fadeTo(“slow”, 1.0);
    },
    function () {
    $(this).stop().fadeTo(“slow”, 0.5);
    }
    );

    });

    # December 31, 2009 at 10:49 am

    I think you have the order of the parameters flipflopped.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".