Hi Robert,
I run presentation in new browse window with all option necessary(size, toolbar, menu bar etc.). Interesting script is generating by easypano when you choose option "customize aplet" - there are some interesting ideas about browser setting.
In autorun I write :
[autorun]
shellexecute=start.html
then in start.html I use script like this:
<script type="text/javascript" language="JavaScript">
// first window - I put it below new and resize (numbers are only example) I can close the first window, but unfortunately browser will ask something like :" Somebody try close window should I close it ? " - so I don't close it but only put below new window
function popresize(){
szer=screen.availWidth; wys=screen.availHeight; x=szer-670; x=Math.round(x/2); y=wys-530; y=Math.round(y/2); self.resizeTo(670,530); self.moveTo(x,y);
}
// new window (tour window)
function new_popup(){ szer=screen.availWidth; wys=screen.availHeight; x=szer-685; x=Math.round(x/2); y=wys-550; y=Math.round(y/2); var option="status=yes,toolbar=no,menubar=no,location=no,resizable=no,personalbar=no,top="+y+",left="+x+",width=685,height=540"; new_win=window.open("your_tour.html","_blank",option); new_win.focus(); } </script>
// in body of html file something like this
<script type="text/javascript" language="JavaScript">
popresize(); new_popup();
</script>
Regards,
Andrew
|