Please visit our sponsor
UNKNOWN //************************************** // Name: Zoom in or out from a picture. // Description:This is the code for the IE5 zoom in/out menu. If you have IE5, go into "C:\windows\web\zoomin.html" or "C:\windows\web\zoomout.html" to get it from there. Just make sure to open it up with a text editor, not your browser. Remember: I did not make this code, micr // osoft did. // By: Adam // // // Inputs:none // // Returns:None // //Assumes:none // //Side Effects:nope //This code is copyrighted and has limited warranties. //Please see http://www.Planet-Source-Code.com/xq/ASP/txtCodeId.1742/lngWId.2/qx/vb/scripts/ShowCode.htm //for details. //************************************** &lt;!--Zoom In--!&gt; <html> <script language="JavaScript" defer> var parentwin = external.menuArguments; var doc = parentwin.document; var w; var h; L_Alert_Message = "You must right-click on an image to Zoom."; if ( parentwin.event.srcElement.tagName == "IMG" ) { h = parentwin.event.srcElement.height * 2; parentwin.event.srcElement.height = h; w = parentwin.event.srcElement.width * 2; parentwin.event.srcElement.width = w; } else alert (L_Alert_Message); </script> </html> &lt;!--End Zoom In--!&gt; &lt;!--Zoom Out--!&gt; <html> <script language="JavaScript" defer> var parentwin = external.menuArguments; var doc = parentwin.document; var w; var h; L_Alert_Message = "You must right-click on an image to Zoom."; if ( parentwin.event.srcElement.tagName == "IMG" ) { h = parentwin.event.srcElement.height / 2; parentwin.event.srcElement.height = h; w = parentwin.event.srcElement.width / 2; parentwin.event.srcElement.width = w; } else alert (L_Alert_Message); </script> </html> &lt;!--End Zoom Out--!&gt;