Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-17 Thread Jim Steil
I've done that already. I was just asking because of some ideas I had about how to resolve this. -Jim On 9/17/2011 8:37 AM, Anthony wrote: It sounds like we should just make this easier in SQLFORM.grid -- maybe submit an issue about this on Google Code: http://code.google.com/p/web2py/is

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-17 Thread Anthony
It sounds like we should just make this easier in SQLFORM.grid -- maybe submit an issue about this on Google Code: http://code.google.com/p/web2py/issues/list On Saturday, September 17, 2011 1:14:04 AM UTC-4, Jim S wrote: > > The reason I'm asking is because I'm looking for a way to modify > SQ

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Jim Steil
The reason I'm asking is because I'm looking for a way to modify SQLFORM.grid in sqlhtml.py to get the icons to show up on the buttons properly whether or not jquery-ui is loaded or not. By default SQLFORM.grid tries to use jquery-ui for the user interface. base.css in web2py has a number of

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread pbreit
You would only be able to figure it out if you had the HTML page transmit that info to you via a form submission, querystring field, etc. But why do you need to do this? Don't you know whether or not you are serving the library? I'm confused.

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Jim Steil
Thanks Richard, that's what I'm looking for. I'll check it out in a bit. -Jim On 9/16/2011 10:03 AM, Richard Vézina wrote: You want to know it to degrade gracefully you css? If it is the case you can just make sure that your page display well with or without the js is allowed to execute

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Richard Vézina
You want to know it to degrade gracefully you css? If it is the case you can just make sure that your page display well with or without the js is allowed to execute on client side. Here idea for your exact question : http://jquery-howto.blogspot.com/2010/07/how-to-check-loaded-jquery-ui-version.h

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Jim Steil
Sorry I should have been more clear. In my controller I want to know whether or not jquery-ui is available to the page I'm building. -Jim On 9/16/2011 9:43 AM, Richard Vézina wrote: Use chrome dev tool or under firefox firebug there is also firebug lite for chrome... In chrome dev tool

Re: [web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Richard Vézina
Use chrome dev tool or under firefox firebug there is also firebug lite for chrome... In chrome dev tool there is a Network tab that will tell you if each refering file (.css, .js, etc.) is finded and loaded or not with HTML code error of related error. Richard On Fri, Sep 16, 2011 at Use10:34 A

[web2py] Determine whether or not jquery-ui is loaded

2011-09-16 Thread Jim Steil
In my python code, is there a way for me to determine whether or not jquery-ui has been loaded? -Jim