Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
The markup would look like this:
<code> <input class="swap-value" type="text" value="Search"/ ></code>
2
1448
posted 16 years ago by keith
Splitting table users in frequently and infrequently accessed attributes
2
1715
posted 16 years ago by Eloi
Saving the IP as Int we save a lot of space and permit do beautibul selects
2
1423
posted 16 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
1263
posted 16 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
1120
posted 16 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
1252
posted 16 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
1607
posted 16 years ago by krunkosaurus
Replace *SERVERNAME* with the name of the server name in the web.config
2
1642
posted 16 years ago by jink
Excellent article on using a CSS Template layout system that makes customizing web pages a step easier.
3
1554
posted 16 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
1546
posted 16 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
3666
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
1145
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
1791
posted 16 years ago by ira
Useful little spippet for a button anchor where the text may change.
0
1702
posted 16 years ago by 1man
get the list of dirs
process that list to cmd expressions
run the file with cmd exprssns
0
1068
posted 16 years ago by rowntreerob
Ever wanted nested stylesheets?
I have!
Now you can have them! If you code your stylesheets as JSON and parse them using JSS 0.1. You could have the following:
JSS({
'html': {
'body': {
background: '#ff...
0
1441
posted 16 years ago by dom111
Administering more than one node at a time through the Drupal admin interface is like drinking a milkshake through a buckytube.
[How to use phpmyadmin and sql to perform mass operations on nodes](http://drupal.org/node/134535)
1
1525
posted 16 years ago by zachharkey