trying to utalize a self sizing popup window, see it here:
http://65.36.226.10/content/reelspecs.cfm on available colors.
works everywhere but ie of course

code is:
head section:
<!-- popup script -->
<script type="text/javascript">
   function PopupPic(sPicURL) {
     window.open( "popup.cfm?"+sPicURL, "",
     "resizable=1,HEIGHT=200,WIDTH=200");
   }
</script> 

link:
javascript:PopupPic('#request.homepage#/images/reelcolors/canyon/CanyonBigGame_Front_Black.jpg')"
 >

popup page:
 <script type="text/javascript">
   var arrTemp=self.location.href.split("?");
   var picUrl = (arrTemp.length>0)?arrTemp[1]:"";
   var NS = (navigator.appName=="Netscape")?true:false;

     function FitPic() {
       iWidth = (NS)?window.innerWidth:document.body.clientWidth;
       iHeight = (NS)?window.innerHeight:document.body.clientHeight;
       iWidth = document.images[0].width - iWidth;
       iHeight = document.images[0].height - iHeight;
       window.resizeBy(iWidth, iHeight);
       self.focus();
     };
 </script>
</head>
<body bgcolor="#000000" onload='FitPic();' topmargin="0"  
marginheight="0" leftmargin="0" marginwidth="0">
 <script type="text/javascript">
 document.write( "<img src='" + picUrl + "' border=0>" );
 </script>

Is it possible to work in ie or should i just get made, piss and moan, scream, 
kick things and flip bill the bird?

~Dave the disruptor~
good sites - make money getting rid of ie :)
http://explorerdestroyer.com/
http://www.killbillsbrowser.com/ 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225038
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to