Bump! Would also like to see this. I have some great webkit styling for native scrollbars via css but for other browsers I am having to use a jQuery plugin to replace the native ones (yuck)
I would like to only include this script for non webkit browsers but currently its all or nothing. On Sunday, 16 October 2011 23:20:52 UTC+1, Lukas Laag wrote: > > Hi all, > > I would like to create a GWT module which includes a third-party > javascript library (a javascript xpath library) to patch a weakness for > one of the targeted browsers (IE, which does not support xpaths). > However I do not want to impact negatively the other browsers, which > already have native xpath support: it would be a bad idea to force them > to download the library if they are not going to use it. > > Does anybody know if there is a way to use a <script> tag in my module > file, but only for the ie user agent ? If not does anybody have a clever > way of achieving the same thing ? > > Many thank & regards > > Lukas > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/0oMq8UabNzIJ. 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.
