Re: resize an applet
On Jul 2, 6:16 pm, "Qu0ll" <Qu0llSixF...@gmail.com> wrote:
"Andrew Thompson" <andrewtho...@gmail.com> wrote in message
news:222f0138-568f-42ee-bf87-adac1d2295c3@w4g2000prd.googlegroups.com...
On Jul 2, 4:51 am, phil89 <pco...@infodev.fr> wrote:
...
Could i dynamically resize Applet ?
Applets with dimensions specified as % can be
resized by the user by resizing the browser
window. That did not work on Opera, last time
I checked (a long time ago).
It still doesn't work on Opera 9.5 although this may not be a direct problem
with applets but maybe a problem with the way Opera deals with CSS and
resizing. I am investigating currently.
Thanks. Please keep us informed of your progress.
When I re-establish the '100% width/height' applet
page, I will add that (latest) Opera info. to the
test results.
Have you considered/tried
- resorting to a JS based resize for Opera?
- specifying applet width/height in CSS (as
opposed to the applet element itself)?
It should be noted that specifying applet
width/height in terms of % is not something
'supported by Sun', and purely at the discretion
of the User Agent (AKA browser) to make intelligent
guesses as to what is meant. Or to put that another
way, Opera's failure to interpret % width/height
as we might hope, is not a 'bug' of any sort.
( Though that does not stop me from being extremely
irritated with the Opera programmers for not doing
'the only sensible thing' with %. ..And a little
irritated with Sun for not having thought to include
the % possibility in the description of applet elements. ;)
--
Andrew Thompson
http://pscode.org/