ubuntumobile

How to build a mobile web site using html on ubuntu 12.04


I'm working on a simple mobile web site for a hotel. They don't need much dynamic features. Most is simple HTML. So my question are as below:

  1. I find it's hard to debug mobile web site on Ubuntu because you know desktop browsers are too big to show a mobile website. Each time I need to put it on a server then using a phone to test the mobile web site it is too annoying. Is there a better way to do this?

  2. On windows you have Dreamweaver to change the CSS style, but on Ubuntu can I find a tool like Dreamweaver?

  3. is there any JavaScript code for animation for a mobile web site?

  4. jQuery mobile is a good js lib to create the basic element in webpages, but if I want to do some transition between pictures, how could I do that?

PS: if you want to use PHP to send an email to a email address how to do that?


Solution

  • In chrome you can emulate a mobile device, the viewport and user agent will adjust to desired device. In your developer tools you have something called Emulation where you can change your device.

    Link!

    To send a email with PHP, check the documentation: Link to php docs