jQuery iff plugin v0.1
Now that the site redesign is done, I figured I'd lead off with a web development-related post. From the jQuery iff plugin project page:
This relatively simple and very small jQuery plugin gives you the functionality and power of a standard JavaScript "if" statement, without breaking the chain. In one way, iff operates like .filter(), in that it allows you to conditionally process a subset of selected elements, but instead of allowing you to preserve or remove individual elements, it operates on the entire set of elements.
Feel free to check out the jQuery iff plugin now, and let me know if you have any questions, comments, or suggestions!
- « Previous |
- Recent News |
- All News |
- Next »
Post A Comment
Please Donate!
Your generous donation encourages me to continue developing and updating my code!
All Featured Projects
jQuery: BBQ, Bookmarklet Generator, cond, doTimeout, equalizeBottoms, getObject, hashchange event, iff, longUrl, Message Queuing, Misc plugins, outside events, postMessage, replaceText, resize event, Star Wipe, throttle / debounce, Untils, unwrap, URL Utils, urlInternal
JavaScript: Battlelog Hacks, Bookmarklets, Debug, Emotify, Library Boilerplate, Linkify
Other: Finder Copy Open Window Paths, Multi-Firefox Launcher, Safari View Source in TextMate, Simple PHP Proxy, Simplified
a
,b
,i
,br
,p
,strong
,em
,pre
,code
.<pre class="brush:js"></pre>
(supported syntax highlighting brushes:
js
,css
,php
,plain
,bash
,ruby
,html
,xml
)<
instead of<
and>
instead of>
in the examples themselves.