PDA

View Full Version : Cool DHTML tooltip- Issue with pointer image



simplyjava
05-31-2008, 08:05 AM
1) Script Title: - Pointer image

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

3) Describe problem:
Hi All,

I used
http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip2.htm this script to show the tooltip. i customized positiontip method to show pointer image upside , downside and in north east direction.


if(pointerobj.style.left=='-1000px'){
pointerobj.style.left = curX - offsetfromcursorX -12 + "px";
id.src ="images/arrow-south.gif";
}else{
id.src ="images/arrow3.gif";
}
pointerobj.style.top = curY -offsetfromcursorY -2+ "px";

}
The problem is, it shows pointer isolated to the tooltip division. but again i do mouse over it shows pointer attached to the tooltip div. I am not able to understand why it is happening.

I am new to this forum. In case i did not follow some rules of this forum , please accept my sincere apology.


Thanks

simplyjava
05-31-2008, 11:03 AM
I think , i have used some ambiguous language.

The problem is how to set pointer image for different location of the page. it works fine with the left text but problem is with the right most text . it does not display pointer image for right text but display well for the left.

Can anybody help me?? or plz suggest me what script i can use to show tooltip. The text which tooltip will show will be displayed with the help of ajax.

Please help me! :( :confused: