I check the example in Firefox 2.0.0.3 and it works for me. This is my
sample
code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("a")
.filter(".clickme")
.click(function(){
alert("You are now leaving the site.");
})
.end()
.filter(".hideme")
.click(function(){
$(this).hide();
return false;
})
.end();
});
</script>
</head>
<body>
<a href="http://google.com/" class="clickme">I give a message when you
leave</a>
<a href="http://yahoo.com/" class="hideme">Click me to hide!</a>
<a href="http://microsoft.com/">I'm a normal link</a>
</body>
</html>
Meburke escribió:
The example for Chainability works fine in IE6 and Mozilla, but does
not work in Firefox (2.0.0.3). When I click on the "jquery" no alert
shows up and I just get a new tab to the jquery site, when I click on
the "You are now leaving the site." link, it opens up another tab, and
the same things happen when I click on the other two links. I
uninstalled NoScript, but that didn't help. I enabled pop-ups but that
didn't help. I specifically have JavaScript enabled in the options, so
I don't know what the difference may be with Firefox.
This is a great tool, and I simply want to find out what's happening
so I can warn users from the web page to review their settings. Does
anyone have any suggestions?
Thank you,
Mike B.
--
Best Regards,
José Francisco Rives Lirola <sevir1ATgmail.com>
SeViR CW · Computer Design
http://www.sevir.org
Murcia - Spain