Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Opacity in Safari

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27351
    mshort
    Member

    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);
    }
    );

    });

    #68819
    Chris Coyier
    Keymaster

    I think you have the order of the parameters flipflopped.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.