All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

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.

    $(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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed