Welcome To Snipplr


Everyone's Recent Snippets



1 ... 146 147 148 149 150 ... 553
Sometimes, you need to setup functionality before jQuery is loaded (e.g. because of a template). You can use this snippet to schedule the function after jQuery is loaded.
1 2318 posted 14 years ago by studioevoque
Annoy your visitors, fool your friends, fun and party. Please note that this also disables ability to write in form fields.
0 1309 posted 14 years ago by stephcode
If you obtain this error using WCF, IIS7, LINQ to SQL on Windows 7, read this thread: http://www.codetoday.net/default.aspx?g=posts&t=1595
0 1707 posted 14 years ago by derebus
0 1704 posted 14 years ago by ddubyah17
0 1356 posted 14 years ago by ronal
This .bashrc snippet sets the PS1 prompt so the title will be displayed in screen's statusbar.
0 1363 posted 14 years ago by ChloeD
Add these lines to your .htaccess file to increase PHPs file upload size limit to 20Mb
0 2759 posted 14 years ago by shodan_uk
This override function for the default Drupal.toggleFieldset function adds code that looks for instances of TinyMCE inside the fieldset and triggers the autoresize on them when the fieldset is opened. Otherwise TinyMCE renders with a weird height.
0 1365 posted 14 years ago by jonathanpglick
0 1251 posted 14 years ago by grgcnnr
Format a date into a string using several string variables. Usage: (new Date("6/6/2011")).format("%W, %B %d%o, %Y"); Result: Monday, June 6th, 2011
0 1912 posted 14 years ago by wizard04
0 1362 posted 14 years ago by olemedia
Read more here: http://www.jquery4u.com/dynamic-css-2/change-css-jquery/
0 1401 posted 14 years ago by jquery4u
This script will handle any vertical resizing issues with a Facebook IFrame tab application, such as the resizing of the frame when elements expand, such as a Facebook Comments plugin. It uses the "FB.Canvas.setAutoResize" method from the Facebook Ja...
0 1358 posted 14 years ago by SFLWebDev
The datetime_field value in the database is '0000-00-00 00:00:00'.
0 1400 posted 14 years ago by dsoms
Based on Prototype JS String#gsub
0 1272 posted 14 years ago by kendsnyder
Use this to add alternating rows in PHP.
0 1338 posted 14 years ago by mindshare
PROBLEM: How to save Excel range into image file. VBA macro in Excel 2007. SOLUTION: Create an empty chart, paste range image into chart area, and Export as image file. Modify code to suite to your needs.
0 5715 posted 14 years ago by win4me
0 1323 posted 14 years ago by ronal
When offering some files such as mp3s, eps or xls, for download on your site, you may force download instead of letting the browser decide what to do. This snippet will force the download of .xls and .eps files from your server.
0 2343 posted 14 years ago by manuelpedrera
1 ... 146 147 148 149 150 ... 553