Subversion Repositories DevTools

Rev

Rev 5751 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5751 Rev 7457
Line 53... Line 53...
53
 
53
 
54
// *** TIP FUNCTIONS AND OBJECT ***
54
// *** TIP FUNCTIONS AND OBJECT ***
55
 
55
 
56
function tipTrack(evt) { with (this)
56
function tipTrack(evt) { with (this)
57
{
57
{
58
 // Figure out where the mouse is and call the position function.
-
 
59
 // Also set sX and sY as the scroll position of the document.
-
 
60
 sX = page.scrollX();
-
 
61
 sY = page.scrollY();
-
 
62
 mX = (isIE ? event.clientX + sX : evt.pageX);
-
 
63
 mY = (isIE ? event.clientY + sY : evt.pageY);
-
 
64
 
-
 
65
 // If we've set tip tracking, call the position function.
58
 // If we've set tip tracking, call the position function.
-
 
59
 if (actTip && tipStick == 1) {
-
 
60
     // Figure out where the mouse is and call the position function.
-
 
61
     // Also set sX and sY as the scroll position of the document.
-
 
62
     sX = page.scrollX();
-
 
63
     sY = page.scrollY();
-
 
64
     mX = (isIE ? event.clientX + sX : evt.pageX);
-
 
65
     mY = (isIE ? event.clientY + sY : evt.pageY);
-
 
66
 
66
 if (tipStick == 1) position();
67
     position();
-
 
68
 }
67
}}
69
}}
68
 
70
 
69
function tipPosition() { with (this)
71
function tipPosition() { with (this)
70
{
72
{
71
 if (actTip)
73
 if (actTip)