I’m developing a mobile application using jquery mobile. I am looking for a solution to accomplish the following:
A large image is divided in three seperate clickable images

The images have to look like one big image at all times but have to resize to all available space while keeping the width/height ratio.
Has anyone done something like this before?
I have tried using a table and using the jquery mobile “content grids” without success.
I’d save the images as one image an use the following – working fiddle link at the bottom.
You can change “low_starts_here” and “right_starts_here” to fit your needs.
Also you can switch to “width:auto;height:100%” in the css, if that’s better for you.
html:
css:
jquery:
http://jsfiddle.net/uLHhQ/6/