Re: Problem resizing applet frame
From: ScoobyCed (smell_at_my.ass)
Date: 12/10/03
- Next message: Anthony Borla: "Re: Regex problem"
- Previous message: Gerry Quinn: "Re: How Robots Will Steal Your Job"
- In reply to: Kevin Holmes: "Problem resizing applet frame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Dec 2003 17:26:42 +0700
"Kevin Holmes" <khomer@telus.net> wrote in message
news:0NwBb.34713$d35.3080@edtnps84...
> I can't seem to get this darn frame to resize (or setsize) when the applet
> is launched. All I get is a little frame window which I can then maximize
> and see my applet. I think I have tried ever possible combination of the
> Frame methods. Could someone please lend a helping hand.
>
The problem is not in the Java code, that's why you don't see it they way
you want. You have to precise the stuff in the HTML <applet> code and in the
code that open the browser windows.
For the first case, use the parameters width='' and height='', this will
tell the browser what size the applet is using within the web page.
For the second thing, you have to do something like:
window.open("applet.html","text","width=640,height=480");
check the javascript code for window.open() method.
or use the myWindow.resize(640,480); method on a window JS object.
Scooby-Ced
- Next message: Anthony Borla: "Re: Regex problem"
- Previous message: Gerry Quinn: "Re: How Robots Will Steal Your Job"
- In reply to: Kevin Holmes: "Problem resizing applet frame"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|