yes Karl thanks for explanation.
Andrea
On Nov 15, 1:45 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Andrea,
>
> It looks like you defined the variable inside the mouseover function,
> which forms a closure, so the mouseout function can't access it.
> Placing the var tip... line before the $
Hi Andrea,
It looks like you defined the variable inside the mouseover function,
which forms a closure, so the mouseout function can't access it.
Placing the var tip... line before the $('#icons_banner a').hover(...
line ensures that both mouseover and mouseout can use it.
Does that make
You can have jquery set the title and alt attributes to blank strings
in the document.ready
Example:
$("#someid_or_other_selector").attr("title", "").attr("alt","");
On Nov 15, 10:41 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I need to prevent the browsers ( All ) to show the ti
Thank you Karl,
is working fine.
A question. here is the code I was trying to use.
What was wrong in that??
$('#icons_banner a').hover(function(){
$this = $(this);
var tip = $(this).attr('title');
$this.attr
Hi Andrea,
Maybe this would work? (untested)
$('a:has(img)').each(function() {
var $this = $(this);
var aTitle = $this.attr('title');
var imgAlt = $('img', $this).attr('alt');
$this.hover(function() {
$this.removeAttr('title');
$('img',$this).removeAttr('alt');
}, function() {
5 matches
Mail list logo