Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.
3
1140
posted 17 years ago by neal_grosskopf
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer
4
1265
posted 17 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11
1138
posted 17 years ago by neal_grosskopf
This persists the dynamic classes generate by the .net serialize to disk at location
C:\Documents and Settings\A063913\ASPNET\Local Settings\Temp
Note. This will allow you to debug into the serialized classes from VS2005
1
1083
posted 17 years ago by rengber
Open up terminal, paste the code below, then log your user out.
0
950
posted 17 years ago by chrisaiv
Apologies if I haven't explained this to well, I'm still trying to get my head round closures.
0
840
posted 17 years ago by 1man
This method allows you to call a function as a method of another object. The first argument the call method expects is the object it is to operate on. Any others are part of the function. Note how the this keyword now refers to the comp object, so a...
0
889
posted 17 years ago by 1man
The important thing to notice is the () operator in a[2]. It is invoking the function inside a[0] with the argument a[1].
1
983
posted 17 years ago by 1man
Every function has an object called the arguments object. This is an object that contains all the arguments that were passed to the function. The example below shows how to access these. Very rarely used but useful to know. Note: it may look like an...
2
1054
posted 17 years ago by 1man