Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
this is a combination of javascript and css and an image called letters.jpg that allows you to use any font you want for the first letter of each paragraph. Letters.jpg needs to have all the letters in uppercase in a row. See the link for a sample le...
0
1040
posted 17 years ago by ezerick
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
1100
posted 17 years ago by Winkyboy
setting additional css file for browsers under MacOS with JQuery
0
1182
posted 17 years ago by DesTincT
`lookupd` doens't exist in Leopard, instead `dscacheutil` should be used.
2
1851
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
1408
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
1439
posted 17 years ago by DaveChild