Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Patterns: http://www.geekzilla.co.uk/View00FF7904-B510-468C-A2C8-F859AA20581F.htm
0
1074
posted 15 years ago by arpit
This example will return values -15 through 15 to be presented to the user in a select list for an integer CCK field.
0
1130
posted 15 years ago by tgbdad
Value converters allow ease of converting code-behind values to dependency property values
0
1032
posted 15 years ago by davidsi
jQuery plugin that let you specify a maximum length on a text field and optionaly specify the change the focus when that maximum length has been reach. Nice when making multiple input text to create a telephone form.
Example: $("#telephone_1").maxLe...
0
930
posted 15 years ago by frankyfish
What it does is look for img tag and on rollover change the source path from "anyimage.jpg" to "anyimage_hover.jpg". It add the suffix "_hover" at the end of the src name without changing the extension. If you look at the code you will see that it al...
0
1035
posted 15 years ago by frankyfish
I always forget which method does what. This is just as a quick reminder.
4
3262
posted 15 years ago by adrianparr
If the item cannot be found then the return value is NaN. This function only returns the index of the first occurence found, so it's not very good if you have multiple occurrences of the same value in the array.
0
2949
posted 15 years ago by adrianparr