Results 1 to 3 of 3

Thread: Animated Collapsible DIV v2.01 - How scroll to DIV ?

  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Animated Collapsible DIV v2.01 - How scroll to DIV ?

    1) Script Title: Animated Collapsible DIV v2.01

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

    3) Describe problem: I have a page with a lot of DIVs. Initially are hidden. How can I do to create links to DIVs (anchors) and display them at the same time?

    Thank you in advance

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

    Default

    If I understood you correctly, a link to expand a particular Animated Collapsible Content looks like:

    Code:
    <a href="javascript:animatedcollapse.show('jason')">Slide Down Jason DIV</a>
    To get the above to also act as an anchor and jump to the DIV as well, you'd modify it to:

    Code:
    <a href="#jasonanchor" onClick="animatedcollapse.show('jason')">Slide Down</a>
    DD Admin

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

    digitall (09-05-2008)

  4. #3
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you!!!
    I imagine something like this, but I could not find the solution.
    Thanks friend!

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
  •