Simple JavaScript slide in.

Discussion in 'JavaScript' started by blueparukia, Sep 22, 2007.

  1. #1
    Can anyone find the script this site uses when you click on the logo: http://kerplunc.com/ ?
    If you look at http://kerplunc.com/global.js it says the script was found at jquery, and I searched there and couldn't find it.

    A link to the script would be apreciated,

    BP
     
    blueparukia, Sep 22, 2007 IP
  2. KatieK

    KatieK Active Member

    Messages:
    116
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Here's the scripts that are called when the logo is clicked:
    $('p#links').show('slow');
    $('.logo').addClass('logo2').removeClass('logo');

    It looks like both of these are part of the JQuery library: docs.jquery.com/Tutorials
    There's information on "show" here: learningjquery.com/2006/09/slicker-show-and-hide
    And addClass and removeClass are also part of JQuery:
    docs.jquery.com/Tutorials:How_jQuery_Works
     
    KatieK, Sep 22, 2007 IP