| |||||
Selectors is what drives jQuery. The ability to select one or more DOM elements is what made jQuery the best DOM manipulation library today.
The wSelectors plugin adds a few new selectors to the already big selector base that comes with Sizzle, the default jQuery selector engine.
Here are some key features of "wSelectors":
· :width - Select elements with width greater/less than a certain value
· :height - Select elements with height greater/less than a certain value
· :leftOf - Select all elements to the left side of a specified element
· :rightOf - Select all elements to the right side of a specified element
· :external - Select all external links
· :target - Select all links with a specified target
· :inView - Select all elements (partially or fully) visible in the viewport
· :largerThan - Select all elements larger (in size) than a specified element
· :isBold - Select all bold elements
· :color - Select all elements of a certain color
· :hasId - Select all elements that have an ID (regardless which)
· :loaded - Select all loaded images
Requirements:
· JavaScript enabled on client side
· jQuery

Via: wSelectors






0 Comment:
Post a Comment