Results 1 to 3 of 3

Thread: animated div - on click to roll over

  1. #1
    Join Date
    Oct 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default animated div - on click to roll over

    1) Script Title: Animated Collapsible Div

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem:
    How do I change the js code for the open button (second state after clicking the close button) to a roll over from an on click? The sample is located at http://www.areadevelopment.com/test/ddsample.html

    Thanking you in advance!

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    With your code, this should work - just replace it.
    Code:
     <div id="cat" style="width: 845px;">
    <img src="http://www.areadevelopment.com/images/subscribe/subscribe2top.jpg" width="845" height="36" usemap="#Map" />
    
    <map name="Map" id="Map">
      <area shape="rect" coords="-782,-8,843,29"  href="javascript:void(0)" onMouseOver="animatedcollapse.show('dog')" alt="" />
    </map></div>
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    carmelaem (11-14-2008)

  4. #3
    Join Date
    Oct 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default resolved

    Thanks, it works great!

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
  •