Note: Joel updated me via comments about the recommended way of removing arrows from superfish menu. I’m quoting his comment here. The recommended way to do this is to set the “autoArrows” option to false when initialising Superfish. $(‘#yourmenu’).superfish({ autoArrows: false }); Check out the bottom of the page under the “options” tab on the […]
Category: jQuery
jQuery 1.6 released – 3rd may 2011
jQuery.com has announced the availability of the latest version jQuery 1.6 for the users. There are many changes made to the jQuery core and many bugs fixed. There are various new features introduced too. According to official website they have already started working on the next version jQuery 1.7 and are welcoming suggestions from the […]
toggleClass – jQuery method for switching css classes
I was asked: Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements? The answer to this query is .toggleClass() method of jQuery. For example, if we have a div like this: <div class=”original”>Some text here</div> Now if we add this to jquery: $(“div.original”).toggleClass(“added”) It will change […]