Results 1 to 4 of 4

Thread: Script no longer works . . was there a change to something in the script?

  1. #1
    Join Date
    Jan 2007
    Posts
    48
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Script no longer works . . was there a change to something in the script?

    1) Script Title: Image W/Description Tooltip

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

    3) Describe problem: Was there a change to the actual script?

    After several attempts at installing the script on a page I've built, it isn't working, and am asking if a change was made as I installed the script and did it like a previous site I used it on. I deleted the entire page, started over and still nothing. Is there anything I'm doing wrong here? See:

    http://pudgie204411.tripod.com/medieval_cartoons.htm

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

    Default

    Do you mean how, upon clicking on a thumbnail, you're navigated to another page? If so, instead of:

    Code:
    onClick="modifyimage('dynloadarea', 1); get_cap(this.title);"
    Try changing all instances of the above on your page to:

    Code:
    onClick="return modifyimage('dynloadarea', 1); get_cap(this.title);"

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Then get_cap() will never be called. You'd need to do:
    Code:
    onclick="get_cap(this.title); return modifyimage('dynloadarea', 1);"
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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

    Default

    Ah right

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
  •