I'm talking about "dynamically load a html and its respective
stylesheet. (after ,say, clicking a button). " That's what usually
happens when a user clicks a link on a web page (or a button with a
little script to set location). If that's all you want, why don't you
just let the browser do it?
Walden
On Nov 7, 11:14 am, samsus <[EMAIL PROTECTED]> wrote:
> what are you talking about?
>
> On Nov 7, 4:04 pm, walden <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---