[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Elegant applet resizing



Jeff said:
> 2) You'll need to verify that in-page JavaScript can see attributes set
> by the applet programmatically.  I know the JavaScript can see
> attributes that were specified in <param> tags inside the <applet> or
> <object> tag, but I'm not sure about new attributes your applet sets
> internally.  I am pretty sure it can be done, but you'll want to verify,
> as the whole approach depends on this ability.  I have not written too
> many applets, so I'll a little rusty on the details ;-)

Jeff,

Thanks for the thought you put into your answer.  I agree, it's rather
hack-ish feeling, but I'm willing to give it a try.

However, logically, your point above gives me pause.  Since the applet
would be setting the height/width after the html has already loaded, I'd
be surprised if it was actually accessible *after* the applet has set
them.  It'd be one thing if the page was loaded serially and the code
after the applet or object tag would not evaluate until after the applet
had fully loaded, but I don't believe this is the case.

Regardless, you've sparked a few lightbulbs on my end, so I really
appreciate.

Any other suggestions are welcome as well.

Thanks guys...

John