Results 1 to 6 of 6

Thread: switch content script II - include text as link?

  1. #1
    Join Date
    May 2007
    Posts
    31
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default switch content script II - include text as link?

    1) Script Title:
    switch content script II
    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...chcontent2.htm
    3) Describe problem:
    i have the script working fine, it expands the content and switches the icon... when you click the icon. is there a way i can add the text next to the icon to the hotspot as well? i tried putting the text in the span tag as well, but then my text disappears.

  2. #2
    Join Date
    May 2007
    Posts
    31
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    hmmm, any other site suggestions out there to find the answer to this question then?

  3. #3
    Join Date
    Dec 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am trying to do the same thing. Not sure yet how to.. If I find out I will let you know.

  4. #4
    Join Date
    May 2007
    Posts
    31
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    i'm sorry, but i forgot i posted this question. i found a solution to my problem. as it turns out, we are using the wrong script in order to do this. check out the regular switch content script at http://www.dynamicdrive.com/dynamici...tchcontent.htm

    i'm not quite sure what the differences between the script we were using (switch content script II) and the regular switch content script, but the regular one works fine for my needs. it collapses and expands content, switches the image in the link, and the text of the link is included in the hotspot of the link as well.

    hope that helps!

  5. #5
    Join Date
    Dec 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks , I want both the icon, the color switch and for it to work in tables. I tried the other and didnt get it to work.

  6. #6
    Join Date
    Dec 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    ok I got it.. I had some missing code..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
  •