Div Image Snippets


13 April, 2014   

CSS code to center image in div with overflow hidden

15 April, 2013   

CSS Code for Pure Rollover

How to display visitors IP in an Image using PHP

05 December, 2012   

Instead of providing a traditional address to the image, the image file data is base64-encoded and stuffed within the src attribute. Doing so saves a network request for each image, and prevent exposure of directory paths. Please note that IE7 and below are not compatibles with data URIs.

13 February, 2013   

PHP Code example for ASCII CAPTCHA

28 November, 2011   

An example of scroll box that used to view a image

01 January, 2013   

This is the general page template. It has all of the essentials (along with a favicon link - not essential).

24 December, 2012   

jQuery plugin code to image selection

24 April, 2012   

Example shown here how to Reuse Your Element Searches

Essentially the trick is to draw the panel/frame/etc.

Essentially the trick is to draw the panel/frame/etc. into a BufferedImage and use the ImageIO class to write it to an image file.

CSS code to create resizable images With CSS

26 January, 2011   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

29 July, 2012   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

28 January, 2013   

Save a screen capture of a Java Frame/Panel/Window

28 January, 2011   

Append Site Overlay DIV

15 April, 2012   

PHP code example for an image CAPTCHA.

Delphi code example to rotate a TBitmap at any angle

I had to scan a bunch of paper documents (one image per page), and upload them all to a web site that would accept only one PDF file containing the whole set.

Basic XHTML 1.0 layout which includes basic layout structure and is prepared for jQuery. On load a 'js' class is added to the root element in order to nicely handle graceful degradation if JS is disabled and prevent flickering if JS is enabled.