Results 1 to 2 of 2

Thread: TextualTooltip Problem.

  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default TextualTooltip Problem.

    1) Script Title:

    TextualTooltip

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamicindex5/linkinfo.htm

    3) Describe problem:

    This script was working fine on VanessaMejia.com until I replaced the menu icons at the bottom for navigation. I did nothing with the script which is used to display the info about each painting (icons at the right) Now, all of a sudden this script seems to not be working. Can you tell me what I did wrong in the coding:

    http://www.vanessamejia.com/paint_0810.htm
    http://www.vanessamejia.com/textualtooltip.js

    Anyone have a clue as to why this is not displaying or where in the HTML code is linked wrong.

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Did you accidentally overwrite the part highlighted in red:
    Code:
    <script>
    <!--
    
    /*
    Textual Tooltip Script- 
     Dynamic Drive (www.dynamicdrive.com)
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    */
    
    
    var content=new Array()
    //change the array below to the text associated with your links Expand or contract the array, depending on how many links you have
    content[0]='<br><big><b>Menus and navigation systems</b></big><br>Click here for DHTML scripts that help enhance your site\'s navigability, such as collapsible menus, sliding menu bars etc.'
    content[1]='<br><big><b>Special document effects</b></big><br>With the advent of DHTML, webpages are one step closer to its cousin, TV, in terms of special effects...'
    content[2]='<br><big><b>Scrollers</b></big><br>Up until now, adding a scroller or tickertape to your website usually meant using a slow Java applet. Not anymore. Click here for DHTML scrollers that accomplish the same task with minimal download time.'
    content[3]='<br><big><b>Image effects</b></big><br>Add lightweight effects to your existing images using these scripts. Make them fly, light up, turn static, all without paying the cost of slow downloading time.'
    content[4]='<br><big><b>Links and buttons</b></big><br>Add tooltips to your text links, rollover effects to your form buttons, keyboard features to your document, and more.'
    content[5]='<br><big><b>Dynamic clocks and dates</b></big><br>Time is never static, so why should your time script be? Enter for DHTML scripts that actually understand this simple truth.'
    content[6]='<br><big><b>Text animations</b></big><br>Text have been silent for too long- DHTML promises to free them, with flying text, typing text, dragable text, and more.'
    content[7]='<br><big><b>Browser window</b></big><br>Click here scripts related to the browser window and frames.'
    content[8]='<br><big><b>Other</b></big><br>All scripts that don\'t comfortably fit in any of the above categories go here...'
    
    function regenerate(){
    window.location.reload()
    }
    function regenerate2(){
    if (document.layers){
    appear()
    setTimeout("window.onresize=regenerate",450)
    }
    }
    
    function changetext(whichcontent){
    
    if (document.all||document.getElementById){
    cross_el=document.getElementById? document.getElementById("descriptions"):document.all.descriptions
    cross_el.innerHTML='<font face="Verdana"><small>'+whichcontent+'<font></small>'
    }
    else if (document.layers){
    document.d1.document.d2.document.write('<font face="Verdana"><small>'+whichcontent+'</small></font>')
    document.d1.document.d2.document.close()
    }
    
    }
    
    function appear(){
    document.d1.visibility='show'
    }
    
    window.onload=regenerate2
    
    
    //-->
    </script>

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
  •