[thelist] pop up window for image without MSIE image resize

Dan Stockton prosayist at yahoo.com
Sat Sep 14 02:46:01 CDT 2002


--
[ Picked text/plain from multipart/alternative ]

> "rudy"
> got a url?

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/ie/reskit/ie6/part3/c09ie6rk.asp

> "James Aylard"
><script type="text/javascript">
>  function fnPopWin(vSrc)
>  {
>    var win ;
>    win = window.open() ;
>    win.document.open() ;
>    win.document.write('<html><head><title>Image</title></head>' +
>      '<body><img src="' + vSrc + '"></body></html>') ;
>    win.document.close() ;
>  }
></script>

change line 8 to;
      '<body><img src="' + vSrc + '" galleryimg="false"></body></html>') ;
alternatively, change line 7 to;
    win.document.write('<html><head><title>Image</title><meta http-equiv="imagetoolbar" content="false"></head>' +

I don't know if it'll change the Automatic Image Resizing (a 'feature' of MSIE 6) as I haven't seen it documented anywhere (yet) that this attribute will change anything but the Image Toolbar but you might play around with that. I recalled reading this at sitepoint or somethin' once but didn't give it much thought as my current project doesn't have images (.. at least, no links to big ones.. at least, not yet;) but you brought it up again so I was forced to research it in slightly more depth, so..
thanks
-Dan



---------------------------------
Do you Yahoo!?
Yahoo! News - Today's headlines



More information about the thelist mailing list