Im trying to make a button to open a link, in a new window, at a fixed size and without toolbars etc.
Ive searched these forums and looked for variuos guides, but to no avail. I cant get them to work =(. I found a guide(which I cant find again o0) on Kirupa but it didnt work either.
heres what I came up with:
code1:
on (release) {
getURL("http://img519.imageshack.us/img519/5747/screenie8ya.jpg", "_blank");
target_winName = "test";
width = 640;
height = 458;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
}
Opens a new tab in firefox and displays the URL but not at the correct size or without the toolbars.
code2:
on (release) {
getURL("javascript:window.open('http://www.newgrounds.com/','Newgrounds','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=80,height=180')");
}
*Not my own code since I dont know any java.
*Opens a new tab in firefox and displays “null” on a blank screen and the java code in the URL field.
code3:
on (release) {
getURL("javascript:openWindow('http://www.newgrounds.com','newWindow','toolbar=0,location=0,directries=0,status=0,menubar=0,scrollbars=0,resizable=0,width=800,height=600,left=80,top=180')");
}
Opens a new empty tab in firefox.
Anyone got any clue as to how to get these to work? or a guide on one that works? or simply a script that will work?
thanks for your time =).