Tuesday, June 15, 2010

Re: exchange image by browser

I personally prefer to keep logic in the application's language. I
like to keep CSS for just styling and keep all my logic in JS. Is
there a particular reason you can't just use JS to detect which
browser is running and then grab the right ImageResource for the job
(in this case you then need one ImageResource for each browser)? Of
course, you don't have to comply with my own standards and as such you
would need to use conditional css as was kindly mentioned by fmod.

:)

On Jun 15, 7:38 pm, fmod <francisco.mode...@gdsoft.eu> wrote:
> I did not try myself, but I think you need conditional css.http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm...
>
> On Jun 15, 11:27 am, Stefan Bachert <stefanbach...@yahoo.de> wrote:
>
>
>
> > Hi,
>
> > I would like to use ClientBundle and ImageResource.
> > But I would like to supply different images (under the same name) by
> > browser.
>
> > Does anyone have an idea how this could be achieved easily?
>
> > Stefan Bacherthttp://gwtworld.de

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate