Results 1 to 3 of 3

Thread: Swith Content - move to top of heading

  1. #1
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Swith Content - move to top of heading

    1) Script Title: Switch Content Script II

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

    3) Describe problem: This script is working great, but I am having one issue. Not a big deal but wonder if there is a quick solution. The content under heading 1 is quite long, so if you scroll down to read it and then click on heading 2, it stays down toward the bottom of that content. I would like it to pop back up to the top of heading 2 so the viewer can start reading from the beginning rather than scroll back up. I hope that makes sense. It is an internal site, so I can't link to it.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,926
    Thanks
    43
    Thanked 3,190 Times in 3,154 Posts
    Blog Entries
    12

    Default

    Try this modified version of the switchicon.js script:

    Attachment 4549
    Last edited by jscheuer1; 07-16-2012 at 04:53 PM.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    jninete (07-16-2012)

  4. #3
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I works! Thank you!

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
  •