PDA

View Full Version : Cool Dhtml - tooltip opens outside window



winawanus
07-27-2010, 06:07 AM
1) Script Title: Cool Dhtml

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

3) Describe problem:
When you mouseover "Support Children's Miracle Network" on the page, the tooltip opens vertically 'up' and displays half outside of window. How do I change the script so the tooltip opens 'down'?

http://cssmatsu.org/community_activities.html
Thanks, Wina :)

ddadmin
07-27-2010, 05:36 PM
What if you delete the following 3 lines inside the script:


if (bottomedge<tipobj.offsetHeight)
tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
else