Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Because onDragOver in AS2 doesn't really work, here is some script for actually detecting whether the mouse button is held down when rolling over something. NOTE that for ideal usage, you will have to write some actual collision detection between th...
0
1270
posted 17 years ago by Winkyboy
setting additional css file for browsers under MacOS with JQuery
0
1397
posted 17 years ago by DesTincT
`lookupd` doens't exist in Leopard, instead `dscacheutil` should be used.
2
2062
posted 17 years ago by rastersize
You can find a string as an array row value.
Ex:
arr=['abcde','mdleo']
arr.find('dbd') -> array['abcde']
arr.find('akdowewo') -> array[] (empty)
0
1666
posted 17 years ago by tonic
Function replaces all non-alpha-numeric chars and cleans up a text string. Should output a usable URL for almost all text.
1
1650
posted 17 years ago by DaveChild
Learn how to create a 301 redirect for domain or home variations to improve your websites' search engine optimization.
2
2251
posted 17 years ago by neal_grosskopf
Since network shares by default only get LocalIntranet permissions, it's relatively common to want to use CasPol to fully trust some shares that you control and know are safe.
To trust everything on the share \\ShawnFa-Srv\Tools, use the command...
2
1657
posted 17 years ago by hoffstein
This is a simple but powerful tweak to the wp-config.php file that will make it easy to run multiple websites using one database and codebase. Simply change "yourdomain.com" with your domain and that's it. Repeat that line for new domains.
2
2351
posted 17 years ago by jonhenshaw