First off, the AUG is fantastic i have done so many things with it!
However, with this tutorial, it works great to what it says it does, but unfortunatly isn't quite up to spec for what i need and was hoping someone would know how to include the following.
As it resizes to fit what is within it, the layout also removes any extended information text, the 'click to close' button and so on. Is there a way to include this and keep the function of auto resizing the pop up window ?
With my current set up, i have various image sizes with sometimes a hefty amount of text (techinical information about products) and i have had to sometimes guess, check, change, check, change, check to get it anywhere near what it should be. I'm not asking for it to resize to fit the text as well, but at least re-include it and leave some space for it.
I have pasted the code below from the AUG just in case, thanks!
However, with this tutorial, it works great to what it says it does, but unfortunatly isn't quite up to spec for what i need and was hoping someone would know how to include the following.
As it resizes to fit what is within it, the layout also removes any extended information text, the 'click to close' button and so on. Is there a way to include this and keep the function of auto resizing the pop up window ?
With my current set up, i have various image sizes with sometimes a hefty amount of text (techinical information about products) and i have had to sometimes guess, check, change, check, change, check to get it anywhere near what it should be. I'm not asking for it to resize to fit the text as well, but at least re-include it and leave some space for it.
I have pasted the code below from the AUG just in case, thanks!
Code:
<html> <head> <Actinic:WINDOW width="<Actinic:Variable Name="ExtendedInfoImageWidth"/>" height="<Actinic:Variable Name="ExtendedInfoImageHeight"/>"/> <title><actinic:variable name="PageTitle" /></title> <actinic:variable name="BaseHref" /> <script language='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 language='javascript'> document.write( "<a href=\"javascript:window.close();\"><img src=\"<Actinic:Variable Name="ExtendedInfoImage"/>\" width=\"<Actinic:Variable Name="ExtendedInfoImageWidth"/>\" height=\"<Actinic:Variable Name="ExtendedInfoImageHeight"/>\" border=\"0\"></a>" ); </script> </body> </html>
Comment