Welcome To Snipplr
Everyone's Recent Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Using the ID of a page, you can get the content, the featured image and the title to power widgets in your template.
0
1465
posted 14 years ago by mejamiewilson
A Simplified solution to CSS-Tricks Starry Night Parallax Effect. Se URL for demo and original article. Example files can also be downloaded at the URL.
0
1606
posted 14 years ago by DeluxiveState
//#########################################################################
//
// *taken from http://www.catswhocode.com/blog/mastering-html5-prefetching
//
//#########################################################################
0
1785
posted 14 years ago by rydaly
Sintáxis y clausulas más habituales para consulas SQL con cláusula DELETE que elimina uno o varios registros de la tabla que se especifica.
0
1244
posted 14 years ago by alberomo
Sintáxis y clausulas más habituales para consulas SQL con cláusula UPDATE que actualiza/modifica uno o varios registros de la tabla que se especifica.
0
1390
posted 14 years ago by alberomo
found the solution here: http://stackoverflow.com/questions/2790001/fixing-javascript-array-functions-in-internet-explorer-indexof-foreach-etc
0
1342
posted 14 years ago by pixelatorz
Sintáxis y clausulas más habituales para consulas SQL con cláusula INSERT INTO que añade un nuevo registro a la tabla que se especifica.
0
1317
posted 14 years ago by alberomo
Simple recursive function to find objects that match the value of str hanging anywhere off the global JS object (window).
0
1539
posted 14 years ago by richt
The HTML simply discovers if it's IE and its version or if it's not IE.
The jQuery discovers if it's IE, Firefox, Webkit Engine (Chrome and Safari) or Opera and its version as an integer.
1
3618
posted 14 years ago by cesarkohl
Pass variables into javascript files using query strings, and return them using getJSvars()
Example
//HTML
<script>
//return the value of "foo"
getJSvars('filename.js', 'foo');
0
1713
posted 14 years ago by DenoteIt
A small tip I picked up yesterday while developing a HTML email for a client. If you are testing in Hotmail using a browser other than Internet Explorer, you may notice that the email seems to left align and doesn’t display any background colours o...
0
1671
posted 14 years ago by i-am-andy
Thanks to http://www.mredkj.com/javascript/numberFormat.html#addcommas
0
1445
posted 14 years ago by fengelz
Sintáxis y clausulas más habituales para consulas SQL con cláusula SELECT que generen una nueva tabla con el resultado de la consulta.
Su sintáxis genérica es SELECT [campos] FROM [tablas] WHERE [criterio]
0
1360
posted 14 years ago by alberomo
This is a custom class for caching results through php's session. The class can be used to cache anything, but i use it to cache mysql results so i don't have to get all the time the results by querying MySQL (wich may take a long time, especialy if...
0
2968
posted 14 years ago by TimoZachi