Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
simple jquery plugin that powers the text auto-resizing that is the basis of textagon.com
0
682
posted 13 years ago by secretgspot
Adobe AIR 2.6 was just released and it includes a couple of new features for iOS such as camera, video, and keyboard support but for now, you'll need to compile using command-line ADT. Here's a simple example showing you how to compile in test-mode...
0
1140
posted 13 years ago by chrisaiv
This function emulates support for placeholder text on form elements, run it inside a loop or call it by passing in a specific id reference
1
776
posted 13 years ago by errkk
UPDATE: The original code posted produces an error in IE9 on Windows 7. Please use the following snippit instead.
If you need to embed a flex application inside another swf, the flex background (even if alpha=0) will not allow your cursor to inter...
0
751
posted 13 years ago by scottwatkins
returns the number of seconds since 1 jan 1970
This is useful for generating a number in a url to stop a page from caching
1
899
posted 13 years ago by samwa
AppleScript
Applescript - check if a menu item exists, if so click on it, then cmd+tab back to previous app
0
2242
posted 13 years ago by brandonjp
Date format guide:
d = 01 to 12 ;
m = 01 to 12 ;
More formats: http://php.net/manual/en/function.date.php
1
784
posted 13 years ago by sdxxx