Hey folks,
I'm using Drupal and I have a menu that I want to apply an effect to.
The menu code looks like this and I can't change it as the classes
come from the drupal menu module:
<ul class="links primary-links">
<li class="first menu-1-1-2"><a href="/nhm/" title="Home"
class="menu-1-1-2">Home</a></li>
<li class="menu-1-2-2-active"><a href="/nhm/?q=aboutus" title="About
No Half Measures" class="menu-1-2-2-active active">About Us</a></li>
<li class="menu-1-3-2"><a href="/nhm/?q=artists"
class="menu-1-3-2">Our Artists</a></li>
<li class="menu-1-4-2"><a href="/nhm/?q=releases"
class="menu-1-4-2">Releases</a></li>
</ul>
Below is the code I am using, I want the links to puff using ifx when
a link is clicked:
$(document).ready(function(){
$("[EMAIL PROTECTED]").click(function(){
$(this).Puff(500)
});
});
However, I cannot get it to work. I get the error: m has no
properties jquery.js (line 2). As far as I am understanding it, I am
looking for any 'a' elements that have the word 'menu' in their
classname and when clicked they should puff. What am I doing wrong?
Thanks,
Tane
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/