Hi,
I really need your help here, I looked all over and couldn't find an
answer to my problem:
I developed a flash-based site in which I have a gallery of pictures
and when the user presses a magnifier the picture opens in a new pop-up
window. Now, I want this window to be in fullscreen mode. Since I am
doing it from the Flash my code might seem a bit strange:
function BigImage() {
PicGallery.pict ure.stop();
sUrl = bigPic[p];
wdth = "(screen.width+ 10)";
hgth = "(screen.height +10)";
scrbr = "yes";
winName="name_" +(Math.ceil(Mat h.random()*9999 ));
rsiz = "yes";
maxparam = "1";
full = "yes"
lft = 0;//resx/2-wdth/2;
tp = 0;//resy/2-hgth/2;
getURL("javascr ipt:window.open ('"+sUrl+"','"+ winName+"','wid th="+wdth+",hei ght="+hgth+",to p="+tp+",left=" +lft+",resizabl e="+rsiz+",scro llbar="+scrbr+" ,maximize="+max param+",fullscr een="+full+"'); void(0);");
}
In short, it gives:
javascript:wind ow.open('Images/DSCF0001_big.jp g','name_7525', 'width=(screen. width+10),heigh t=(screen.heigh t+10),top=0,lef t=0,resizable=y es,scrollbar=ye s,fullscreen=ye s');void(0);
I also tried a shorter version that works quite similarily:
javascript:wind ow.open('Images/DSCF0001_big.jp g','name_9754', 'fullscreen=yes ');void(0);
The problem is, it works perfectly on my computer locally, but as soon
as I put it on the server it behaves differently on each computer, and
I only checked with IE! I have IE6 and it doesn't work (it opens as a
very small popup window).
Ppppppplllleeee essssseeeee help. it's driving me crazy :-S
Thanks,
Efrat
I really need your help here, I looked all over and couldn't find an
answer to my problem:
I developed a flash-based site in which I have a gallery of pictures
and when the user presses a magnifier the picture opens in a new pop-up
window. Now, I want this window to be in fullscreen mode. Since I am
doing it from the Flash my code might seem a bit strange:
function BigImage() {
PicGallery.pict ure.stop();
sUrl = bigPic[p];
wdth = "(screen.width+ 10)";
hgth = "(screen.height +10)";
scrbr = "yes";
winName="name_" +(Math.ceil(Mat h.random()*9999 ));
rsiz = "yes";
maxparam = "1";
full = "yes"
lft = 0;//resx/2-wdth/2;
tp = 0;//resy/2-hgth/2;
getURL("javascr ipt:window.open ('"+sUrl+"','"+ winName+"','wid th="+wdth+",hei ght="+hgth+",to p="+tp+",left=" +lft+",resizabl e="+rsiz+",scro llbar="+scrbr+" ,maximize="+max param+",fullscr een="+full+"'); void(0);");
}
In short, it gives:
javascript:wind ow.open('Images/DSCF0001_big.jp g','name_7525', 'width=(screen. width+10),heigh t=(screen.heigh t+10),top=0,lef t=0,resizable=y es,scrollbar=ye s,fullscreen=ye s');void(0);
I also tried a shorter version that works quite similarily:
javascript:wind ow.open('Images/DSCF0001_big.jp g','name_9754', 'fullscreen=yes ');void(0);
The problem is, it works perfectly on my computer locally, but as soon
as I put it on the server it behaves differently on each computer, and
I only checked with IE! I have IE6 and it doesn't work (it opens as a
very small popup window).
Ppppppplllleeee essssseeeee help. it's driving me crazy :-S
Thanks,
Efrat
Comment