Results 1 to 2 of 2

Thread: Animated Collapsible DIV

  1. #1
    Join Date
    Jan 2009
    Location
    Las Vegas
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV

    1. http://www.dynamicdrive.com/dynamici...edcollapse.htm

    Is there a way to get the Animated Collapsible DIV script to open the DIV AND use an in-page hyperlink to go to the area on the page that the button just opened?

    <a href="javascript:animatedcollapse.show('Info')">

    Opens the DIV, but to go to the area on the page you normally would use:

    <a href="#Info">

    I have a link at the top of a text heavy page that when selected i want the proper DIV to open and the page scrolls down to that area.

    Thanks!

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

    Default

    You can combine the two actions by doing something like:

    Code:
    <a href="#" onClick="animatedcollapse.show('Info')">
    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
  •