Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Don't know if the code is working, it's written from memory, but I think it will work....
1
1419
posted 15 years ago by sbglasius
Each image button requires two images to represent two states: the off-state and the on-state. In this case, the on-state has "_ovr" appended.
0
1448
posted 15 years ago by nijgnet
The html attribute 'target="_blank"' for links is no longer valid code as of XHTML Strict 1.0. This code will run using mootools on domready to send all clicks to new windows when going to an external domain.
0
1744
posted 15 years ago by birnamdesigns
You can get all countries list by this method.
Also you can find some details for countries like;
- original name,
- three letter ISO region name,
- three letter WINDOWS region name,
- currency symbol
etc..
1
1648
posted 15 years ago by emregulcan
This simply php function will retrieve the links of the images from Google Images searched with a keyword. The function just calls images.google.it and parse the html to find the url of the images, in this case the urls are stored in the javascript,...
0
4927
posted 15 years ago by ginoplusio
How to add an auto-incremented column to an existing table without ex- and reimporting.
0
1712
posted 15 years ago by simondiercks
SimpleSelector is a small DOM selector object with support for the most used selectors. It's also the default selector for the jLim JavaScript framework.
Why use SimpleSelector?
- very small, less than 2kb minified
- easy to use with $$()
- no...
1
1843
posted 15 years ago by freelancephp
Managing globals with the registry pattern. This class provides lazy loading functionallity. This means it is possible to add a callback or class (with arguments) which will be called or instanciated when it is being used for the first time.
0
1680
posted 15 years ago by freelancephp