Thread: Mouseover Popup
View Single Post
  #12 (permalink)  
Old 04-03-2008, 08:58 PM
alilg's Avatar   
alilg alilg is offline
Newbie
 
Join Date: Apr 2008
Location: Ultramarine
Age: 22
Posts: 16
Credits: 0
Rep Power: 2
alilg is on a distinguished road
Send a message via AIM to alilg Send a message via Yahoo to alilg Send a message via Skype™ to alilg
Default Re: Mouseover Popup

Okay, just replace this function
Code:
function update_tip_pos(){
        document.getElementById('ToolTip').style.left = mouse_X + 20;
        document.getElementById('ToolTip').style.top  = mouse_Y;
}
with this which i wrote
Code:
function update_tip_pos(){
        document.getElementById('ToolTip').style.left = parseInt(parseInt(mouse_X) + 20) +"px";
        document.getElementById('ToolTip').style.top  = mouse_Y + "px";
}
let me know it worked or not!
i tested if with firefox 2 and firefox beta 3
__________________
my free software and games

Last edited by alilg; 04-03-2008 at 09:01 PM.
Reply With Quote