Imagebam view picture

By Free Faler Last update Feb 17, 2009 — Installed 2,552 times.

Thanks!

in
Subscribe to Thanks! 2 posts, 2 voices



Tieso Scriptwright

Good job!

 
sayseb User

Yep, works just fine. If you miss the zoom function, you can try this instead:

document.body.innerHTML = '<div id="scaleinfo" style="display:none;">Click on photo to zoom in... ' +
                          '<span id="scaleinfoWH"></span></div>' +
                          '<img id="the_image" onClick="scale();" src="' +
                          document.getElementById ("the_image").src +
                          '" alt="loading" style="border:1px solid black;">';

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel