Tuesday, July 9, 2013

Mobile emulator with PHP


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:

Wednesday, May 22, 2013

Dynamic web page layout


Hi folks,
Today I will be sharing a very widely used plug-in, called masonry. The basic idea is to create a web page, containing various HTML blocks spread throughout. But the catch is, the boxes are supposed to adjust themselves based on their content size. The layout of the web page, or rather the blocks will be dynamic as far as their positioning is concerned.

Following is an example of the same: