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 spame...@gmail.com

 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 angelo.compagnu...@gmail.com
 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


[web2py] Re: Responsivekit for web2py!

2012-01-15 Thread 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 angelo.compagnu...@gmail.com
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 spame...@gmail.com



  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 angelo.compagnu...@gmail.com
  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


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 :

!--[if !IE]!--
  script language=JavaScript
  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)}}'
  /script
  link rel=stylesheet type=text/css
href={{=URL('static','plugin_responsivekit/responsivekit.css')}} /
  script
src={{=URL('static','plugin_responsivekit/responsivekit.js')}}/script
  !--![endif]--

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 spame...@gmail.com

 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 angelo.compagnu...@gmail.com
 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 spame...@gmail.com
 
 
 
   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 angelo.compagnu...@gmail.com
   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


[web2py] Re: Responsivekit for web2py!

2012-01-14 Thread 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 angelo.compagnu...@gmail.com
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


[web2py] Re: Responsivekit for web2py!

2012-01-13 Thread Angelo Compagnucci
Hi list!

I'm reading Marcotte's book (Responsive Web Design) and I think we should
modify slightly our web2py.css. Tag img should be
img { border: 0; max-width: 100%;} so it can use the width of parent
instead to overflow if bigger than that and it automatically reflow when
size changes.

This is a patch:

web2py.css

25c25
 img { border: 0; }
---
 img { border: 0; max-width: 100%; }

2012/1/13 Angelo Compagnucci angelo.compagnu...@gmail.com

 Hello list,

 I want to share with you my new plugin (aiming to web2py inclusion!),
 responsivekit, you can find it on github
 https://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