View Single Post
  #21 (permalink)  
Old 12-28-2009, 01:58 AM
JavaScriptBank JavaScriptBank is offline
Member
 
Join Date: Jul 2009
Posts: 92
JavaScriptBank is on a distinguished road
Default Enlarge Image 2

This one line script changes the image size and source on your thumbnail picture without reloading the page or using popups.... detail at JavaScriptBank. com - 2.000+ free JavaScript codes

[IMG]hxxp ://w w w.javascriptbank. com/javascript.images/image/enlarge-image-2.jpg[/IMG]
Demo: JavaScript Enlarge Image 2

[SIZE="4"]How to setup[/SIZE]

Step 1: Place HTML below in your BODY section
HTML
Code:
<b>Single-click the image to enlarge it; double-click to make it small again.</b><br>

<img src="gif_logojsb2.gif" onclick="this.src='gif_logojsb2.gif';this.height=180;this.width=480" ondblclick="this.src='gif_logojsb2.gif';this.height=60;this.width=150">
	<!--
    	This script downloaded from w w w.JavaScriptBank. com
    	Come to view and download over 2000+ free javascript at w w w.JavaScriptBank. com
	-->





JavaScript Spotlight - JavaScript Validate E-Mail - AJAX Page Content Loader
Reply With Quote