Results 1 to 2 of 2

Thread: Speech Bubbles Tooltip and event handlers

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

    Default Speech Bubbles Tooltip and event handlers

    Referring to this script (which is excellent by the way)
    http://www.dynamicdrive.com/dynamici...lestooltip.htm

    I have implemented it without problem, embedding it within a third-party web application. However I have noticed that the script will stop working when certain other events fire on the page. For example a drop down menu in the application will reload a data table embedded in the page and after that the tooltip will not work.

    I notice the script is called like this:

    jQuery(function($){ //on document.ready
    $('a.addspeech').speechbubble({url:'speechdata.txt'})
    })

    So maybe it is possible to get it to use other event handlers other than document.ready? Does jQuery have other events to which this could be attached?

    My knowledge of JS used to be pretty good but I've been out of the game for a few years so don't have any experience with AJAX in order to debug this myself.

    Can anyone help?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,133
    Thanks
    44
    Thanked 3,229 Times in 3,190 Posts
    Blog Entries
    12

    Default

    Please include a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

Similar Threads

  1. Speech bubbles tooltip
    By bubbles in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 05-22-2013, 04:50 AM
  2. Two small comments on Speech Bubbles Tooltip
    By flangeway in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-22-2012, 10:01 PM
  3. Speech Bubbles Tooltip - Charset
    By felzzz in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-26-2011, 04:18 PM
  4. Speech Bubbles Tooltip - Window size
    By sellotape in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 04-19-2011, 08:41 AM
  5. Speech Bubbles tooltip .net Masterpages
    By janetb in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-14-2011, 11:40 PM

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
  •