Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
returns "City, State" if found otherwise defaults to "Hollywood, CA"
18
13855
posted 15 years ago by crypticsoft
This function allows you to pass any div anchor tag as a parameter to scroll to. You can easily add easing after the 'duration' parameter in the jQuery animation function.
8
2306
posted 15 years ago by ksnagra
Modify the array to get different number of posts, change the order, change / add categories etc.
1
1494
posted 15 years ago by amyb
This snippet will allow you to create a template browser for when you need to show multiple pages quickly. simply add the new pages into the select dropdown options and you're away.
0
1056
posted 15 years ago by demwunz
Very simple and basic TextHandle class, extends TextField... You can extend to fit your needs.
Basic usage:
var a:TextHandle = new TextHandle("some text");
addChild(a)
Optional params:
_size: uint ( default 22 ) - size of the textfiled...
1
1723
posted 15 years ago by burnandbass
Useful bit of CSS to vertically centre a navigation. Good for Pagination.
1
2103
posted 15 years ago by 1man
Listen to the Navigation keys and save their values in local Booleans
2
1793
posted 15 years ago by JaaQ
this is pretty useful if you want to use the wordpress blog system to feed a custom application/site of yours
0
1283
posted 15 years ago by louisdedecker