Are you reinventing the browser?
Why don't you put a link on your page and let the user click it.
Maybe you can style the link to look like a button.
On Nov 7, 10:13 am, samsus <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Im trying to do an app where the user can dynamically load a html and
> its respective stylesheet. (after ,say, clicking a button). How can
> this be done?
> im using RequestBuilder to load the html, however when i used to load
> the css, the stylesheet is not apllied, i also tryed:
>
> private native void loadCSS(String cssHref) /*-{
> document.write('<link rel="stylesheet" type="text/css" href="' +
> cssHref + '">');
>
> }-*/;
>
> without results.
>
> Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---