Welcome To Snipplr
Everyone's Recent Snippets Tagged simple
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Extremely simple random image when using similar naming structure and a set number of images (eg. imagePrefix_1,jpg, imagePrefix_2,jpg, etc.)
0
652
posted 14 years ago by d55beck
[via rtcrm]
This uses *no javascript* and will still render in IE, Safari, Firefox, and Opera.
0
791
posted 14 years ago by mennyj
Python
print a list of all the "read" nodes in a nuke script that has a "file" name containing 'mov'
print a list of all the "read" nodes in a nuke script that has a "file" name containing 'mov'
0
2436
posted 14 years ago by adamteale
This is excellent for testing (mocking a SOAP server for example), we use an in memory http server in order to answer client requests.
0
1071
posted 14 years ago by narkisr
This script displays the current date inside a form via 3 prefilled drop down menus (day, month, year). The visitor can then specify a different date if he/she wants. You can have multiple drop down dates within the same form as well.
0
843
posted 14 years ago by kanampo
demo: http://www.adamcoulombe.info/lab/as3/360-spin-hover.html
FLA: http://www.adamcoulombe.info/lab/as3/360-spin-hover.fla
requires tweenlite
1
1207
posted 14 years ago by adamcoulombe
I am forever forgetting this. Have to look up the 101 vs 103 in books online every time.
Also forget which way around is US/NZ format. :-)
1
967
posted 15 years ago by rengber
Sometimes I want simple tabs without all the packaging of jQuery UI with a theme. This does the job with just jQuery 1.2.6, and should work with later versions.
3
1012
posted 15 years ago by cyberhobo
Convenience function to set a SimpleXMLElement's attributes quickly.
0
703
posted 15 years ago by iloveitaly
long htaccess expired header for all files except for server side scripts
2
937
posted 15 years ago by dennyhalim