Welcome To Snipplr


Everyone's Recent Snippets



1 ... 493 494 495 496 497 ... 553
IE7 and IE8 support “No Add-ons Mode,” a troubleshooting mode. When you run IE this way, no 3rd party code runs... You can start No Add-ons Mode in a few ways: (To exit No Add-ons Mode, simply close that browser window.)
0 1246 posted 17 years ago by cczona
Add this arg code plus set first argument as "OG: Group nid(s)"
2 1401 posted 17 years ago by metareason
this is not the ultimate secure way, but it's at least not displaying the email link
3 1311 posted 17 years ago by iTony
1 1305 posted 17 years ago by kangell
It gets images randomly from folder that you've pointed.
4 2521 posted 17 years ago by skywalker
1 1181 posted 17 years ago by imhugo
Useful when trying to cleanup a large repo to see where you've made the most changes
1 2019 posted 17 years ago by JacobSingh
Sometimes i forget to remove firebug console commands when debuging, which makes IE and some other browsers fail / cry. To stop this happening use the below script from firebugx.js on the firebug lite homepage.
3 1437 posted 17 years ago by 1man
I know what you think - no discussion about this needless piece of code to prevent copying texts/images from websites, but there are customers outside that are advising resistant and so I use this code to scare off their potential clienteles.
2 1710 posted 17 years ago by localhorst
I use these main import statements for the begaining of all my Actionscript 3 projects. The last two are custom classes that I use for tweening. One class is called Tweener and the other is called TweenLite.
2 1364 posted 17 years ago by mswallace
The -l switch outputs only the names of files in which the text occurs (instead of each line containing the text), the -i switch ignores the case, and the -r descends into subdirectories.
0 1221 posted 17 years ago by arunpjohny
*"Only the elements which are are selected through the $ selector will get the extra DOMAssistant methods added to it."
0 939 posted 17 years ago by cczona
Are you looking for the RSS feed of your/someone else's DeviantArt Journal? Follow the tutorial on the link above. I used this pattern since the given pattern (above) was linking to a wrong page. Compared to the original pattern extraction, I used...
0 925 posted 17 years ago by webStruck_
This function can validate and parse UK postcode like SW1A 1AA in to formated array.
2 1801 posted 17 years ago by naz
This is a little trick I came up with to add outerHTML functionality in Firefox. For those who aren't familiar with outerHTML, it is an IE addition to the DOM that will return the element's HTML PLUS it's innerHTML. Is it really needed? No, but it ca...
1 2132 posted 17 years ago by localhorst
This spring context configures a simple hibernate session (for annotated classes).
4 1562 posted 17 years ago by narkisr
Often times it is nice to add some text after a link on your website to let your users know whether the link goes to a PDF and how large that PDF file is. I've found that manually doing this works but after awhile when that PDF file get updated, the...
2 1674 posted 17 years ago by neal_grosskopf
0 1113 posted 17 years ago by iTony
Creating a horizontal row of objects that are equidistant from each other is another one of those things in web design that is much more difficult than it should be. This can be a very useful thing to do, especially in fluid width layouts when you ar...
1 1352 posted 17 years ago by localhorst
Following a
2 1158 posted 17 years ago by cczona
This will always show the correct date... so it'll say "Copyright 2008 Comapany Name" now, and at exactly midnight on 1st January 2009, it'll say "Copyright 2009 Company Name". Simple!
2 1530 posted 17 years ago by tigercore
1 ... 493 494 495 496 497 ... 553