Welcome To Snipplr


Everyone's Recent Snippets



1 ... 421 422 423 424 425 ... 554
I used this simple snippet to enable users to "View More Info" which was embedded in a div below each of a list of items. This is different from many of the simple jQuery examples that only allow you to show/hide one particular div.
1 1127 posted 16 years ago by aristoworks
1 1022 posted 16 years ago by michaelfox
1 1139 posted 16 years ago by glends
1 759 posted 16 years ago by lzyy
1 893 posted 16 years ago by fackz
1 846 posted 16 years ago by michaelfox
A fallback for php's json_encode functionality. What do you think?
1 932 posted 16 years ago by kirie
Testing if toggle has happened.
0 749 posted 16 years ago by davebowker
From this article, Martin "mpot" Pot mention: " The above CSS definition is defining a style called noprint, and will only be applied to printed content. Setting the display property to none means any content using this CSS style will not be displ...
0 1504 posted 16 years ago by HubertGaulin
Example: Add the following ccs '@media print { body { font-size: 12pt } }' to the document.
0 1197 posted 16 years ago by HubertGaulin
1 1095 posted 16 years ago by walokra
In IE6 (+7?) the fieldset width doesn't automatically resize to fit the width of the parent container.
1 927 posted 16 years ago by hotdiggity
This is my first ever bookmarklet. It's simple and could be tightened up but it works for me (FF3 Ubuntu 8.10). Oh, by the way, what it does is load gmail (if you're signed in, which I always am) with a search for the unread messages (is:unread)...
0 803 posted 16 years ago by ThomasGHenry
0 755 posted 16 years ago by kokikr
Easy little script to grab the current frame's BitmapData from a Video()
2 1207 posted 16 years ago by allnatural
For instances where you have an empty div that is less than about 10-15px in height. IE assumes it should contain something and allots room for text. I first found this on the webdeveloper.com forums. The kicker here for me was the "font-size:0"...
2 1170 posted 16 years ago by charmcitycoder
This script preloads images in your document or lets your to preload images by their url and insert or append them in your DOM tree later.
5 1072 posted 16 years ago by Uzbekjon
0 1018 posted 16 years ago by albertomori
Put this script in your path and you can start your scripts located in ~/.groovy/scripts from everywhere. Tags: Bash, Linux, Groovy
0 1083 posted 16 years ago by mahome
1 ... 421 422 423 424 425 ... 554