Results 1 to 3 of 3

Thread: Speech Bubbles Tooltip Script Conflict?

  1. #1
    Join Date
    Aug 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Speech Bubbles Tooltip Script Conflict?

    1) Script Title: Dynamic Drive DHTML Speech Bubbles Tooltip

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

    3) Describe problem: The script is awesome, beautiful, I love it, but it conflicts with my sticky header and menu, which stops working on any page I use the script. I'm assuming it's the http://ajax.googleapis.com/ajax/libs.../jquery.min.js script that's conflicting with my menu and header, which are includes, by the way.


    http://revelationinspace.com/library/acvaghosha.shtml - Page where tooltip works fine but menu and header include do not work.

    http://revelationinspace.com/library/acvaghosha2.shtml - Example of page working without tooltip script.

    I'm hoping I don't have to choose between these and can make them work together.

    Thanks in advance for any assistance you can provide.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, this is a bit of a long shot, but often works in cases like this. On the page where the tool tip works, assuming all the requisite scripts for the menu, etc. are present, put the tool tip scripts:

    Code:
    <!-- TOOLTIP -->
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="http://www.revelationinspace.com/css/speechbubbles.css" />
    <script src="http://www.revelationinspace.com/js/speechbubbles.js">
    
    /***********************************************
    * Speech Bubbles Tooltip- (c) Dynamic Drive (www.dynamicdrive.com)
    * Please keep this notice intact
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    
    </script>
    
    <script type="text/javascript">
    
    jQuery(function($){ //on document.ready
     	//Apply tooltip to links with class="addspeech", plus look inside 'speechdata.txt' for the tooltip markups
    	$('a.addspeech').speechbubble({url:'acvaghoshafootnotes.txt'})
    })
    
    </script>
    before any other scripts on the page, and using a text only editor like NotePad, add this to the tool tip script (near the beginning, addition highlighted):

    Code:
    /*Speech Bubbles Tooltip (Initial: Dec 8th, 2010)
    * This notice must stay intact for usage 
    * Author: Dynamic Drive at http://www.dynamicdrive.com/
    * Visit http://www.dynamicdrive.com/ for full source code
    */
    jQuery.noConflict();
    var speechbubbles_tooltip={
    
    	loadcontent:function($, selector, options, callback){
    		var ajaxfriendlyurl=options.url.replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/") 
    		$.ajax({
    			url: ajaxfrie . . .
    Save and use that version.

    The page will need to be refreshed and/or the browser cache emptied to see changes.

    If no luck, put up a demo with the suggested changes - I may well be able to take it from there.

    But, as I say, this often works in these sorts of circumstances.
    - John
    ________________________

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

  3. #3
    Join Date
    Aug 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    OK, this is a bit of a long shot, but often works in cases like this. On the page where the tool tip works, assuming all the requisite scripts for the menu, etc. are present, put the tool tip scripts:
    I tried it John, and I couldn't get it to work. I think this is way over my head. It turns out that some of my footnotes are as much as 3 huge paragraphs, which doesn't work well with a tooltip. So, I've decided to just use the traditional footnote anchor. A pity, I really liked the tooltip.

    Thanks for your help, I appreciate it.

Similar Threads

  1. Speech bubbles tooltip
    By bubbles in forum Dynamic Drive scripts help
    Replies: 8
    Last Post: 05-22-2013, 03: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, 09:01 PM
  3. Speech Bubbles Tooltip - Charset
    By felzzz in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 08-26-2011, 03:18 PM
  4. Speech Bubbles tooltip .net Masterpages
    By janetb in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-14-2011, 11:40 PM
  5. Resolved How to remove animation from Speech Bubbles Tooltip script
    By nealrEAL in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 12-14-2010, 02:32 AM

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
  •