Hi there,
I will discuss about a device emulator which I had to make for one of my website. The basic idea is to allow the users to see how their websites would look like in a mobile device. The code snippet I am attaching here is default to IOS5, but you can make it dynamic and take it to a whole new level of craziness.
Lets see the output of the code first. This will give a better idea of what I am doing:
Download demo: device-emulate.zip
Explanation: