PDA

View Full Version : Balloon Tooltip



angiezk168
07-21-2007, 07:57 PM
1) Script Title: Rich HTML Balloon Tooltip

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/balloontooltip.htm

3) Describe problem: I just took over the maintenance of a site where this script is used. It's great, and I figured out how it works, but I have noticed that it won't work more than 13 times on any one page. I have all of the information in the script, but numbers 14 and up simply do not work. :confused:

Does anyone have a solution for this?

Here is the site I am working on: http://www.checkoutmyproperty.com/

Thanks for your help!!
Angela

thetestingsite
07-21-2007, 08:10 PM
Seems to work fine for me with 30 links. Look at http://phphost.smackum.com/dd/tooltip/ for an example of this.

To determine why it doesn't work for you, we would need a link to the problem page. The link you posted above does not seem to have any tooltip links, unless I'm missing something.

Hope this helps.

angiezk168
07-21-2007, 08:16 PM
Thanks for your quick reply . . . here a link to one of the problem pages.

http://www.checkoutmyproperty.com/list_Bluffton.shtml

Thanks!

Angela

thetestingsite
07-21-2007, 08:24 PM
The problem is that you do not have the corresponding hidden divs for those tooltips that are not working. Example, in the table you have this for the link to the tooltip:



<A HREF="19HydePark.shtml" REL="19hydepark"><IMG SRC="images/toc-bullet-1.gif" ALT="more information" WIDTH="16" HEIGHT="8" BORDER="0"> Click for Details</A>


But you don't have something like the following for the link above:



<DIV ID="19hydepark" CLASS="balloonstyle" STYLE="width: 750px; background-color: #CCCCCC">
Info describing this property.
</DIV>


If that makes sense. Also; on a secondary note, you may want to work on validating the HTML (http://validator.w3.org/).

Hope this helps.

angiezk168
07-21-2007, 08:30 PM
You are correct on that listing - I actually just added the details in for that listing as well as 2 others on that page. Sorry! ;)

Do you have any other ideas of what could be going on? All of the listings are complete now.

Thanks again!
Angela

thetestingsite
07-21-2007, 08:37 PM
Same thing for everything after the Sawmill Creek area listing. You stopped after the 2wildturkey div (at the end of the page), and you also didn't end that div correctly (as well as the rest of the document).

Hope this helps.

angiezk168
07-21-2007, 10:27 PM
I see what you mean - when I view source from the page, the html is cut off in the middle. Inside Dreamweaber, there is about 150 more lines of code. Have you ever seen anything like this happen? Any suggestions?

Thanks again . . .

Angela

thetestingsite
07-21-2007, 10:30 PM
My only suggestion is to stay away from WYSIWYG editors and use a simple plain text editor (such as Notepad or Notepad++ for Windows or equivalent for any other OS). Other than that, no clue.

Hope this helps.