Welcome To Snipplr


Everyone's Recent Snippets



1 ... 388 389 390 391 392 ... 553
2 1610 posted 16 years ago by iTony
A wrapper may be made to enclose the content of a page, and then you can write descendant CSS rules that mention that wrapper's ID or class name in the selector. But what if only IE thought that wrapper existed? Then those rules would only work for I...
4 2043 posted 16 years ago by Meander365
Think this is a good one to remember. Let's say you have a set of list items and all of them have a border of 1px. Inside you have an image. When you hover over each list item you want the border to change thickness to 2px. The trick is to...
1 1879 posted 16 years ago by Meander365
Since an asynchronous method is usually one you call and then it invokes a callback when it is finished, it is not obvious how to test such a method in a definite manner. In the method described at the above URL, the author uses .NET's System.Threadi...
1 2446 posted 16 years ago by pckujawa
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
1 1654 posted 16 years ago by SunilTee
Dies zeigt die StoreView ID an <?php>getStore()->getId(); ?><br> Dies zeigt den StoreView Namen an<?php>getStore()->getName(); ?> Dies zeigt die StoreNamen ID an<?php>getStore()->getGroupID(); ?> Dies zeigt den Storenamen an <?php>getStore()->getG...
0 1455 posted 16 years ago by nico65
0 1429 posted 16 years ago by erichus
0 1574 posted 16 years ago by thesmu
Enables you customise the colour of your <li> bullet points.
0 1822 posted 16 years ago by nostradamuszen
1 1549 posted 16 years ago by traeregan
Apagado por linea de comando
0 1400 posted 16 years ago by xaviles
This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types. **Horizontal type:** | 1 | 2 | 3 | | 4 | 5 | 6 | | 7 | 8 | 9 | **Vertical type:**...
1 2791 posted 16 years ago by kirik
0 1500 posted 16 years ago by rickfu
These four LaTeX control sequences are workalikes of the built-ins \show, \showthe and \def and of a command sequence call. Unlike the usual variants, they work on internal macros which contain characters with the "wrong" category code, such as "@"....
0 3927 posted 16 years ago by deepsoul
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 1639 posted 16 years ago by deepsoul
0 1362 posted 16 years ago by rowntreerob
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 1546 posted 16 years ago by deepsoul
0 1142 posted 16 years ago by pats
0 1252 posted 16 years ago by pats
0 1284 posted 16 years ago by pats
0 1553 posted 16 years ago by berndschiffer
1 ... 388 389 390 391 392 ... 553