Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Use of the vCard(hCard) microformat, used to mark up contact details of
people, companies, organisations and places. Includes an download link via X2Vs hcard to vcard-service. Can be styled as a 2-column hcard via CSS (see CSS snippet)
inspired b...
0
1132
posted 15 years ago by visualpropaganda
The markup would look like this:
<code> <input class="swap-value" type="text" value="Search"/ ></code>
2
983
posted 15 years ago by keith
Splitting table users in frequently and infrequently accessed attributes
2
1321
posted 15 years ago by Eloi
Saving the IP as Int we save a lot of space and permit do beautibul selects
2
917
posted 15 years ago by Eloi
If you run a query to delete old posts manually from MySQL in a WordPress database, the old tags will remain and appear in your tag cloud/listing. This allows you to identify those unused tags, and then delete them with an additional query.
0
866
posted 15 years ago by jkriddle
bei joomla in alle index.php - index3.php dateien schreiben die im root und im administrator Verzeichnis zu finden sind.
0
765
posted 15 years ago by nico65
Hi, all, this is the "checkFunction" extension for jQuery.
This extension takes two parameters:
1. fPointer
This parameter is the "possible" function to check
1.1 This parameter can be a String that is a function poi...
1
862
posted 15 years ago by amischol
<a href="javascript:(function(){var%20ids=[];jQuery('*').each(function(){if(this.id&&this.id!==''){if(ids[this.id]){console.log('duplicate%20id%20found:%20'+this.id,this,ids[this.id])}else{ids[this.id]=this}}});})();">Find duplicate IDs</a> (drag me...
1
1118
posted 15 years ago by krunkosaurus
Replace *SERVERNAME* with the name of the server name in the web.config
2
976
posted 15 years ago by jink
Excellent article on using a CSS Template layout system that makes customizing web pages a step easier.
3
1004
posted 15 years ago by donjuanito909
Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long. This should go into the page load event.
1
965
posted 15 years ago by jink
This OnSize function resizes one large control in a dialog.
The one control grows horizontally and vertically to fill the dialog. It's position remains unchanged.
Other controls (buttons etc) would typically be above the one resizable control.
0
3040
posted 16 years ago by jimfred
Intelligent logging for javascript (also compatible with Firebug). Thanks to Prototype.js, PPK, and Danny Goodman for the idea!
2
749
posted 16 years ago by jschilling
Switches body class between .portrait and .landscape for, you guessed it, portrait and landscape mode on the iphone.
0
1229
posted 16 years ago by ira