Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Style quotations similar to those used on Slashdot.org.
4
1173
posted 17 years ago by neal_grosskopf
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
1455
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
1603
posted 17 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11
2373
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
1436
posted 17 years ago by rengber
Open up terminal, paste the code below, then log your user out.
0
1261
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
1048
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
1180
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
1286
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
1593
posted 17 years ago by 1man
Simple way of allowing functions to take optional arguments. Always place the optional arguments last, so you don't have to explicitly pass an argument as "undefined".
3
1452
posted 17 years ago by 1man
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2
1164
posted 17 years ago by j_junyent
Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ell...
4
1285
posted 17 years ago by j_junyent