Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

click to enlarge in javascript

            <div class="bild1"><script type="text/javascript" src="funktions.js"></script>
        <img  src="bilder/3D.png" alt="Almanacka-projekt" style="cursor:pointer" onclick="showImage('bilder/3D_stor.png');">
    </div>

    <div class="bild2">
        <img  src="bilder/TopGame.png" alt="Almanacka-projekt" style="cursor:pointer" onclick="showImage('bilder/TopGame_stor.png');">
    </div>

    <div class="bild3">
        <img  src="bilder/almanacka.png" alt="Almanacka-projekt" style="cursor:pointer" onclick="showImage('bilder/Almanacka_stor.png');">
        <div id="largeImgPanel" onclick="hideMe(this);">
        <img id="largeImg" style="height: 100%; margin: 0; padding: 0;">
        </div>
    </div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #click #enlarge #javascript
ADD COMMENT
Topic
Name
7+8 =