Ho scaricato e implementato l'effetto tooltip JS con questo effetto:
http://cssglobe.com/lab/tooltip/03/
Funziona tutto perfettamente ma vorrei sapere come dare allo stesso tooltip l'effetto comparsa come quello in questo sito anche se fatto con mootool:
http://www.francescomugnai.com/ (in basso nei tre quadrati)
Tramite il file Main.js ho cambiato la posizione ma mi sa che il codice permette solo quello.
codice:/* * Url preview script * powered by jQuery (http://www.jquery.com) * * written by Alen Grakalic (http://cssglobe.com) * * for more info visit http://cssglobe.com/post/1695/easies...w-using-jquery * */ this.screenshotPreview = function(){ /* CONFIG */ xOffset = -20; yOffset = -650; // these 2 variable determine popup's distance from the cursor // you might want to adjust to get the right result /* END CONFIG */ $("a.screenshot").hover(function(e){ this.t = this.title; this.title = ""; var c = (this.t != "") ? " " + this.t : ""; $("body").append("<p id='screenshot'>[img]"+ this.rel +"[/img]"+ c +"</p>"); $("#screenshot") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px") .fadeIn("fast"); }, function(){ this.title = this.t; $("#screenshot").remove(); }); $("a.screenshot").mousemove(function(e){ $("#screenshot") .css("top",(e.pageY - xOffset) + "px") .css("left",(e.pageX + yOffset) + "px"); }); }; // starting the script on page load $(document).ready(function(){ screenshotPreview(); });