|
SWiSH Forum Forum użytkowników programów SWiSH |
 |
SWiSH Max - problem z oknem pop-up
ventnor - Czw 19 Paź, 2006 21:08 Temat postu: problem z oknem pop-up jak mozna zrobic w SWISH MAX ,ze mam zdjecie i po kliknieciu pojawia mi sie ono w oknie pop up ?
świniak - Czw 19 Paź, 2006 23:13 Temat postu: chyba tak.. on (press) {
javascript("{\r\n\r\nvar width=500;\r\nvar height=500;\r\n\r\nPosX=(screen.width-width)/2;\r\nPosY=(screen.height-height)/2;\r\n\r\nvar newWindow = window.open('obrazek.jpg','website','width='+width+',height='+height+',left='+PosX+',top='+PosY+',scrollbars=0,toolbar=0,status=0');\r\nnewWindow.focus();\r\n\r\n}");
}
albo...
window.open('http://www.predro.com','','width=500,height=500,resizable=no,scrollbars=no,toolbar=no,top='+((screen.availHeight/2)-(500/2))+',left='+((screen.availWidth/2)-(500/2))+'');void(0);
|
|