Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Deals with the fact that mouse buttons are referenced in different ways by different browsers.
0
2156
posted 19 years ago by MyKey_
Greatly speeds up a slow Safari by purging any cached icons which have not been accessed in the past 30 days. Works well as a cron job.
From http://www.macosxhints.com/article.php?story=20040323144305318
2
2509
posted 19 years ago by Roshambo
warning: snipplr tends to escape the quotes and slashes, causing this snippet to fail when pasted verbatim.
2
2082
posted 19 years ago by ndegruchy
I have also posted the Javascript that makes this markup show and hide.
0
1719
posted 19 years ago by 1man
This script allows you to show and hide a at the click of a button. See Show / Hide HTML for Markup.
1
2032
posted 19 years ago by 1man
Markup example: See Big Curly Quotes Markup.
Thx to difusion.org.uk. No need for images to make big quotes on a page, CSS does it for you. Tested in many browsers.
94
13079
posted 19 years ago by 1man
Taken from bluerobot. Create a content div, set the width and the margin set to auto will align the div to the centre horizontally.
5
1494
posted 19 years ago by 1man
Taken from Dead Centre. Adjust #content depending on the size div you need.
118
24464
posted 19 years ago by 1man
Insert these 2 lines into the to have your local pages refresh while coding. Make sure you use inline style sheets to stop caching problems. Remove once you make the site live.
3
2176
posted 19 years ago by 1man
Si alojas tus fotos en Flickr y tienes un fotolog o simplemente quieres poner un buscador de tus fotos en Flickr en tu blog, aquà tienes la forma, es muy sencillo, sólo tienes que poner el siguiente código.
Donde tenéis que cambiar el ID 38901...
1
1889
posted 19 years ago by doctorlogos
Provides a quick and simple "find this string pattern and replace it with this other string pattern" find and replace. Not fancy enough for regular expressions, but untill AS3 is standard this works well for most search/replace needs.
Can be very...
2
2309
posted 19 years ago by drukepple