Results 1 to 4 of 4

Thread: Switch Content Script with Icon & Text link?

  1. #1
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Switch Content Script with Icon & Text link?

    1) Script Title: Switch Content Script II

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

    3) Describe problem: Simple text link as well? Rollover state etc.

    Hello,

    I'm new to javascript and for the life of me i can't figure out how i could add a text link, that undlerlines when rolled over, that will expand/collapse the particular faq message it is the title for.

    Is there some way to call the function from a link? Similar to what is used for the Contract All/Expand All buttons?

    I already have the icons working great, i just would like to be able to add this functionality to a text link.


    Thank you for your help and the script!

  2. #2
    Join Date
    Jun 2007
    Posts
    543
    Thanks
    3
    Thanked 78 Times in 78 Posts
    Blog Entries
    1

    Default

    go to http://www.dynamicdrive.com/dynamici...chcontent2.htm and scroll down to the bottom of the documentation.
    [Jasme Library (Javascript Motion Effects)] My Site
    /\/\@ /\/\@|{
    There are 10 kinds of people in the world, those that understand binary and those that don't.

  3. #3
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm not seeing anything i haven't read before.

    It explains how to create an expand and collapse ALL link which i referred to in my post.

    I want to be able to make text links for each individual faq section that just expand it like pushing the +/- icon does.

    Am i missing something?

  4. #4
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just used the accordion script instead thanks.

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
  •