Last change
on this file since 17737 was
6782,
checked in by mistic100, 14 years ago
|
Fixs some errors. Add results previews. Code revision.
|
File size:
601 bytes
|
Line | |
---|
1 | /** Vertigo Tip by www.vertigo-project.com */ |
---|
2 | this.vtip=function(){this.xOffset=-10;this.yOffset=10;$(".vtip").unbind().hover(function(a){this.t=this.title;this.title="";this.top=(a.pageY+yOffset);this.left=(a.pageX+xOffset);$("body").append('<p id="vtip">'+this.t+"</p>");$("p#vtip").css("top",this.top+"px").css("left",this.left+"px").show()},function(){this.title=this.t;$("p#vtip").fadeOut("slow").remove()}).mousemove(function(a){this.top=(a.pageY+yOffset);this.left=(a.pageX+xOffset);$("p#vtip").css("top",this.top+"px").css("left",this.left+"px")})};jQuery(document).ready(function(a){vtip()}); |
---|
Note: See
TracBrowser
for help on using the repository browser.