Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip-display-elements-sequentially-with-jquery/
0
714
posted 13 years ago by alyssonweb
Taken from http://ubuntuforums.org/showthread.php?t=255556
0
719
posted 13 years ago by sergeygerasimov
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html
Package download: http://bit.ly/as3query
0
770
posted 13 years ago by adamcoulombe
as3query written by nitoyon. http://tech.nitoyon.com/blog/2008/01/as3query_alpha.html
Package download: http://bit.ly/as3query
0
689
posted 13 years ago by adamcoulombe
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
1
950
posted 13 years ago by electblake
Simply run the function when the document has loaded and specify setDefault to true.
0
744
posted 13 years ago by digitalclubb
Very useful line of code that I'm using very often to prevent old and cached CSS file being served to visitors. You just need to use timestamp of the file.
0
964
posted 13 years ago by vagrantradio
Originally from:
http://wordpress.mfields.org/2010/selective-page-hierarchy-for-wp_list_pages/
0
752
posted 13 years ago by lawlesscreation
How to sort array in smarty template?
>> Create sort modifier file and save it in smarty / plugins with
modifier.sortby.php name
use this modifier in smarty template like...
{foreach item=item key=key from=$users|@sortby:"firstname"}
{$item.i...
0
2417
posted 13 years ago by aashvi
To enable error reporting for *ALL* error messages including every error level (including E_STRICT, E_NOTICE etc.), simply use:
1
477
posted 13 years ago by Hepamin
Very usefull translation adapter for simple interfaces where creating translation files is just a bit to much.
1
621
posted 13 years ago by RonXS
Use this to fix Pagination Problem on query posts page. This will fix the problem where clicking on the next page keeps showing same posts
1
733
posted 13 years ago by Farhan
This SQL query will find all the SlideDeck related entries in your WordPress database.
0
704
posted 13 years ago by Jamie
Takes the ID of a page, then displays a list of child pages with thumbnails and page titles. The thumbnail is generated from the 'featured image' of the particular child page.
2
938
posted 13 years ago by martinlucas
Search SQL Server field names and stored procedure text, based on a keyword.
1
1046
posted 13 years ago by axs221
The most annoying thing I find working with the strict doctype is the inability to send users off to a site in a new window.
To combat this, I always use the above snippet.
Some people just stick the attribute on the anchors when the page loads...
0
815
posted 13 years ago by digitalclubb
This extends jQuery.is() so now you can use if ($(element).is())
0
692
posted 13 years ago by digitalclubb
Great way to check if a node exists before running a piece of code.
2
865
posted 13 years ago by digitalclubb
This is some very basic jQuery to post from a comment form on a website. I would probably change the .click to .bind("click",) and for different sites I add a success message. This code works with a basic form with text inputs named #name and #email...
3
900
posted 13 years ago by creativeboulder