a) Have you read about JSNI? Probably the easiest way.
b) You have a few choices here. GWT -> JS so you could use JSNI or the
GWT DOM apis. Or if you want to stick closer to pure GWT then you can
use multiple RootPanels. This just requires the the DOM elements you
want to use have ids. (You can generate these in GWT if not in the
host document).

On Jul 19, 10:25 am, Rich <[email protected]> wrote:
> Hi,
>
> This is my first post, I have read the group charter, I hope this
> message is appropriate.
>
> I have 2 issues I am struggling with.
>
> a) I want to be able to access variables defined in the host html
> document
>
> eg:
>
> <script type="text/javascript">
> <!--
> client = "8";
> width = 728;
> height = 90;
> //-->
> </script>
>
> b) I would like to be able to add elements to DOM at the location in
> DOM that the gwt script is specified.
>
> Thank you for your time,
>
> Kind Regards,
>
> Richard Jennings.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to