Welcome To Snipplr


Everyone's Recent Snippets



1 ... 184 185 186 187 188 ... 554
Focus and keypress events determine when to hide, show, or dim a label. Use in tandem with the following HTML/CSS: HTML ---- <li> <label>First Name</label> <input> </li> CSS ---- li { position: relative; } la...
0 910 posted 14 years ago by mikemetcalf
0 1074 posted 14 years ago by zepner
Tired of running seperate scripts for jBoss with/out jRebel and manual cleaning temp.
0 794 posted 14 years ago by dogrizz
0 850 posted 14 years ago by fatihturan
0 861 posted 14 years ago by fatihturan
The date format is dd/mm/YYYY but you can replace slashes by anything else.
0 1036 posted 14 years ago by ptiswitz
1 871 posted 14 years ago by muzafarova
If your HTML form fields have a 'watermark' default value, it will be removed when the field is focussed and replaced if focus is lost (and the user has left the field blank). To use give your form field a class of 'default-value'
3 1217 posted 14 years ago by f6design
1 1160 posted 14 years ago by f6design
list all files in dir
0 1208 posted 14 years ago by yoblob
If a post is published without setting a featured image and there is an image attachment, this will select an image from the media library and set it as the featured image.
0 1007 posted 14 years ago by chrs
given a url: >`http://www.someurl.com/page.html?param1=foo&param2=bar` You can use map.param1 outside of the function such as: >`$('#some_hidden_field').val(map.param1);`
0 815 posted 14 years ago by agdm
Add this piece of code in your .htaccess file located in wordpress root directory
0 956 posted 14 years ago by kirichev
This is 3 lines of javascript code to tweetify plain text returned by Twitter API Input : RT @TTintheCloud: How much are free #cloudcomputing trial offers from Google, Amazon and Microsoft actually WORTH? http://bit.ly/i4w4qa Output : RT <a hre...
1 709 posted 14 years ago by naren1012
1 898 posted 14 years ago by mchadwick
a flexible function for making time periods readable
0 1137 posted 14 years ago by bitstream
0 1158 posted 14 years ago by Alwaison
Put this code in your theme, where you want to show followers count. Don't forget to change USERNAME.xml to your twitter user name.
0 1080 posted 14 years ago by kirichev
Javascript solution for embedding Flash in HTML
0 1208 posted 14 years ago by vriesdewie
Re-indexes an array so that the array keys count up from zero. This is useful if you have previously removed some array nodes.
0 888 posted 14 years ago by f6design
Put this in your functions.php
0 1183 posted 14 years ago by kirichev
Removes 'false', '0', 'null' or '' from the array
0 1197 posted 14 years ago by f6design
Show a notification immediately after application enter in background (but you can schedule it too)
0 1075 posted 14 years ago by rabc
1 ... 184 185 186 187 188 ... 554