Results 1 to 2 of 2

Thread: Fading animation on mouseleave with Drop Down/Overlapping Script?

  1. #1
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Fading animation on mouseleave with Drop Down/Overlapping Script?

    Drown Down/Overlapping Content Script

    http://www.dynamicdrive.com/dynamici...lapcontent.htm


    Is is possible to modify this so that the div fades out slowly on mouseleave? It's great now but with this, it would be amazing! :)

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Well, it's pretty simple if you use a framework such as jQuery to add the fade out feature. Firstly, add the below to the head of your page:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
    Then, use the modified .js script instead, which uses jQuery to fade out the drop down content onMouseout.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •