I am currently using the title attribute of my 'a' tag to show and hide images matching this tag.
However, when you hover over “a,” the text of the annoying title appears.
Is it possible to disable this pop-up text without completely disabling the title attribute? Any help is great!
Greetings
Danc
----- edit ------
here is the working code that goes like xhtml strict !!!!
$ (document) .ready (function () {
$(\"ul.projects li a\").hover(
function(){
var largeAlt = $(this).attr(\"class\");
$(\"ul.image_display li#image_hover img\").attr({ src: largeAlt });
$(\"ul.image_display li#image_hover img\").fadeIn();
},
function(){
$(\"ul.image_display li#image_hover img\").attr({ src: \"\" });
$(\"ul.image_display li#image_hover img\").fadeIn();
});
});
source
share