Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
1544
posted 15 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
1332
posted 15 years ago by shabith
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
1364
posted 15 years ago by jafar
Blocks bad bots, and image theft, allows visitors inside domains.
0
3672
posted 15 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
1619
posted 15 years ago by CKOink
Rather that using $(element).trigger('click'), check to see if execute has come from an element rather than directly.
0
2213
posted 15 years ago by 1man
not fully tested maybe must be like specialprice in this excample
0
1299
posted 15 years ago by nico65
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
1458
posted 15 years ago by alvincrespo
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
1890
posted 15 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
1247
posted 15 years ago by ariunbolor
I also included how to provision a Calendar list web part in Calendar View
0
3661
posted 15 years ago by nickaranz