> Hello,
>
> In my default html page that drives my GWT app, I would like to have
> some html text, etc. within a <div> section. Then in GWT be able to
> make that <div> section invisible and visible.
>
> Is this possible and if so, what is the syntax?
There are a variety of ways to do this. I'm sure others will provide
their solutions.
Here's one to get you started:
Attach an id to the div tag, then in the GWT, use
DivElement divElement =
DivElement.as(Document.get().getElementById("theId"));
Although this will give you the hook you need, you probably want to just
delete the element from the DOM, then replace it with one or more GWT
widgets.
> My goal is to have my home page intro text and images in the HTML page
> so that the search engine robots will parse it but then once the user
> is using the site, hide the section and replace it with the content
> from the GWT code.
>
> Thanks,
>
> Kevin Courtney
> http://www.beatlessongsandvideos.com/
>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment