1

In my rails app I currently have a *.mobile.erb and *.html.erb file for each view.

jquerymobile has a great set of css div tags. I'd love to create the same set of tags I use most frequently (eg: data-role="page|header|navbar|content") but have this dictate a clean lookking laptop/desktop browser theme as opposed to a mobile theme.

With this, in my rails app I'd still render either the jquerymobile css and js files or the standard jquery/browser css and js files but I think I could probably get away with re-using the views by referencing the same div tags that render differently based on the platform. I'd love to use something that exists as opposed to creating my own. Any thoughts or suggestions?

Thanks in advance, Dave

4

0 に答える 0