nphnhi
asked on
open new window from an applet
Hello,
How to open new window from an applet.
I have an applet with one button "Edit". On click this button, I want to open new window. I used:
getAppletContext().showDoc ument(new URL("javascript:window.ope n('/eportf olio/form/ editchart. jsp?type=5 &chart=5', null, 'width=720, height=400, scrollbars=1, status=yes');"));
It will open new window, but the parent window (I mean the page where this applet displayed) will change the URL like: javascript:window.open('/e portfolio/ form/editc hart.jsp?t ype=5&char t=5', null, 'width=720, height=400, scrollbars=1, status=yes');
Please help me
How to open new window from an applet.
I have an applet with one button "Edit". On click this button, I want to open new window. I used:
getAppletContext().showDoc
It will open new window, but the parent window (I mean the page where this applet displayed) will change the URL like: javascript:window.open('/e
Please help me
ASKER
If you use a normal Url, the new window will have a toolbar, status bar.... but I don't want to have them.
Not entirely sure that an applet would support a JS url.
>>Not entirely sure that an applet would support a JS url.
Until you can determine that question with certainty, i would try to work around it by getting the applet to actually call JS by ...? (you know what - i can't remember the name of the technology ;-)) JSObject
Until you can determine that question with certainty, i would try to work around it by getting the applet to actually call JS by ...? (you know what - i can't remember the name of the technology ;-)) JSObject
ASKER
I dont understand what you mean :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
IOW, get the applet to call a JS function that opens the kind of window you want
> get the applet to call a JS function that opens the kind of window you want
It already is ???
It already is ???
>>It already is ???
No, AFAICT it's trying to create an unsupported URL
No, AFAICT it's trying to create an unsupported URL
Why not just use a normal url?