Connecting Tech Pros Worldwide Forums | Help | Site Map

newbie question for java heads

Newbie
 
Join Date: Jul 2007
Location: PA
Posts: 12
#1: Jul 19 '07
Hey java heads. I am an actionscript developer. I have this code on a button that opens a new window a certain size etc.

on (release) {
getURL ("javascript:NewWindow=window.open('http://myurl.html','newWin','width=650,height=570,left=20 0,top=200,toolbar=No,location=No,scrollbars=Yes,st atus=No,resizable=Yes,fullscreen=No'); NewWindow.focus(); void(0);");

I was wondering if anyone knew how to change the script to open a page _self, not newWindow. I just need to know how to edit the stuff beyond the word javascript.

Thanks in advance,
Matt

JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: Jul 19 '07

re: newbie question for java heads


Quote:

Originally Posted by koolaid82

Hey java heads. I am an actionscript developer. I have this code on a button that opens a new window a certain size etc.

on (release) {
getURL ("javascript:NewWindow=window.open('http://myurl.html','newWin','width=650,height=570,left=20 0,top=200,toolbar=No,location=No,scrollbars=Yes,st atus=No,resizable=Yes,fullscreen=No'); NewWindow.focus(); void(0);");

I was wondering if anyone knew how to change the script to open a page _self, not newWindow. I just need to know how to edit the stuff beyond the word javascript.

Thanks in advance,
Matt

This is a Javascript question posted in a Java forum. The two languages are
totally different, no matter their names. Do you want me to move your question
to a Javascript forum where your question will most likely get a better answer?

kind regards,

Jos
Reply


Similar Java bytes