Re: [web2py] Re: Responsivekit for web2py!

2012-01-15 Thread Angelo Compagnucci
Hi Alan,

If you use the plugin_responsivekit, simply remove conditional import (or
comment it) in plugin_responsivekit/layout.html :


  
  var width_filter = '{{=current.plugins.responsivekit.screensize_filter}}'
  var controller   = '{{=URL(a=request.application,
c=current.plugins.responsivekit.screensize_controller ,
f=current.plugins.responsivekit.screensize_function)}}'
  
  
  
  

Removing these lines, you disable loading of responsivekit components. I'll
try to add a globlal variable to enable/disable this!

I've updated the demo, showing more examples!

Thank you for your feedback!

2012/1/16 Alan Etkin 

> Thank you. I continued using the demo and could see the resizing
> effect. Really impressing. It would be interesting to have a way to
> activate/deactivate this feature transparently by default in the
> scaffolding application with a simple function call or a Settings
> attribute.
>
> On 15 ene, 14:32, Angelo Compagnucci 
> wrote:
> > Hi Alan!
> >
> > If you want to test it with a pc simply resize the browser window, when
> the
> > windows is of a certain size, it triggers the responsive reflow of
> tables.
> > Images works same way, but you have to refresh the page to get the
> resized
> > image, I'll add this instructions to page!
> >
> > Angelo
> >
> > 2012/1/15 Alan Etkin 
> >
> >
> >
> > > Would it be possible to test it with a desktop pc? I visited the demo
> > > and found difficult to appreciate the features. Is image and table
> > > resizing being performed by the plugin?
> >
> > > On 13 ene, 10:51, Angelo Compagnucci 
> > > wrote:
> > > > Hello list,
> >
> > > > I want to share with you my new plugin (aiming to web2py inclusion!),
> > > > responsivekit, you can find it on githubhttps://
> > > github.com/angeloc/web2py-responsivekit.
> >
> > > > Responsivekit implements responsive tables and responsive images
> using
> > > the
> > > > best known techniques at the moment (I'm basing on Marcotte,
> > > > SmashingMagazine and filamentgroups reccomendations). More will come!
> >
> > > > Comments are welcome.
> >
> > > > Cheers,
> >
> > > > Angelo
> >
> > > > --
> > > > Profile:http://it.linkedin.com/in/compagnucciangelo
> >
> > --
> > Profile:http://it.linkedin.com/in/compagnucciangelo
>



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo


Re: [web2py] Re: Responsivekit for web2py!

2012-01-15 Thread Angelo Compagnucci
Hi Alan!

If you want to test it with a pc simply resize the browser window, when the
windows is of a certain size, it triggers the responsive reflow of tables.
Images works same way, but you have to refresh the page to get the resized
image, I'll add this instructions to page!

Angelo

2012/1/15 Alan Etkin 

> Would it be possible to test it with a desktop pc? I visited the demo
> and found difficult to appreciate the features. Is image and table
> resizing being performed by the plugin?
>
> On 13 ene, 10:51, Angelo Compagnucci 
> wrote:
> > Hello list,
> >
> > I want to share with you my new plugin (aiming to web2py inclusion!),
> > responsivekit, you can find it on githubhttps://
> github.com/angeloc/web2py-responsivekit.
> >
> > Responsivekit implements responsive tables and responsive images using
> the
> > best known techniques at the moment (I'm basing on Marcotte,
> > SmashingMagazine and filamentgroups reccomendations). More will come!
> >
> > Comments are welcome.
> >
> > Cheers,
> >
> > Angelo
> >
> > --
> > Profile:http://it.linkedin.com/in/compagnucciangelo
>



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo