Welcome To Snipplr


Everyone's Recent Snippets Tagged c



1 ... 161 162 163 164 165 ... 554
Do you know that you can create a new form directly from theme template.php without the need of creating a module in Drupal 7? Armed with that knowledge, we will build a new login form and transform it to become a horizontal login bar. You migh...
0 1250 posted 14 years ago by sdxxx
This plugin is the work of Stefan Gabos, all credit, rights, and praise to be directed to him here: http://stefangabos.ro/jquery/jquery-plugin-boilerplate/
1 1170 posted 14 years ago by Japh
source: http://stellapower.net/content/javascript-support-and-arrayindexof-ie/<br> source: http://www.robsearles.com/2010/03/11/ie-7-indexof-replacement/
0 954 posted 14 years ago by shabith
Boiler Plate with base styles and resets inlcuded
0 1073 posted 14 years ago by CKOink
1 1212 posted 14 years ago by jafar
Use the rel attribute to specify which "html" file to load. In this case the link is set to the "About" page and will load the about.html file with AJAX and update the site's title and address.
0 1031 posted 14 years ago by jafar
Redirects to reduce duplicate content
0 3074 posted 14 years ago by CKOink
Blocks bad bots, and image theft, allows visitors inside domains.
0 3121 posted 14 years ago by CKOink
Redirects all server inquires to the one url to reduce duplicate indexes. AKA. http://www.ex.com and http://ex.com
0 1172 posted 14 years ago by CKOink
0 1036 posted 14 years ago by shinokada
Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.
0 1630 posted 14 years ago by 1man
Very useful snippet to link elements together.
0 1489 posted 14 years ago by 1man
not fully tested maybe must be like specialprice in this excample
0 920 posted 14 years ago by nico65
0 3024 posted 14 years ago by nico65
Using an object as a simple switch.
0 1353 posted 14 years ago by 1man
HTLM 5 using the google snatch meta tag hiearchy
1 1014 posted 14 years ago by CKOink
metodo para generar hashcodes
0 740 posted 14 years ago by intoxicadocoder
0 1115 posted 14 years ago by LemonPro
0 853 posted 14 years ago by gregorynicholas
Basically creates a log function on the window object and uses console.log or alert depending on which is supported. Very basic and simple but definitely useful.
0 1117 posted 14 years ago by alvincrespo
Window.onload chaining using Namespaces.
0 811 posted 14 years ago by derdesign
Creates a daily backup and deletes any backup older than 60 days. Replace: *DB_USER *DB_PASSWORD *DB_NAME */path/to/backup with your actual database name, credentials and path to where you want your backup to live. Last note: you don't nec...
1 1394 posted 14 years ago by nikefido
Do not forget to name images you want to use for background like 1.jpg, 2.jpg, 3.jpg etc.
0 921 posted 14 years ago by ariunbolor
Steps to add custom properties to web part
0 1066 posted 14 years ago by nickaranz
I also included how to provision a Calendar list web part in Calendar View
0 3080 posted 14 years ago by nickaranz
1 ... 161 162 163 164 165 ... 554