Enlarge Image 2

Discussion in 'Java Script/AJAX' started by JavaScript, Dec 28, 2009.

Thread Status:
Not open for further replies.
  1. JavaScript New Member

    Member Since:
    Nov 26, 2009
    Message Count:
    16
    Likes Received:
    1
    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]
    Demo: JavaScript Enlarge Image 2

    How to setup

    Step 1: Place HTML below in your BODY section
    HTML
    Code (text):
    <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 floating message - Javascript multi level drop down menu - JavaScript in_array()
Thread Status:
Not open for further replies.

Share This Page