-
The Excentrifugal Force
Exact fit jpeg in popup?
Java q:
I need to open a jpeg in a popup so that viewers can copy the images to their own hd, so I'm using this script:
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.cscproducts.com/images/sv1000.jpg','newWin','width=750,height=400,screenX =0,screenY=0,left=0,top=0,toolbar=No,location=No,s crollbars=No,status=No,resizable=No,fullscreen=No' ); NewWindow.focus(); void(0);");
}
The image is 750x400, same as the window the script creates. Problem is, the image ends up with a background border at top and left, where I need there to be none. The corresponding amount of the image is pushed off the page at right and bottom. I did a whole bunch of searching here and elsewhere, no luck.
Any help greatly appreciated!
John
if (you expect help){
then.help(others);
}else{
gotoAndCheck.aSite4.somePoorBastardinSiteChex;
}
-
place your poppin images in a simple html page with this code in the body tag:
<BODY TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">
then in your button code change the path to the html pages instead of the raw jpg's.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|