PDA

View Full Version : Carousel code / Rotating



jop_008
3 May 2012, 8:35 AM
Hi,

I am trying to make a page part of a bottom panel as a carousel. I can do this with carousel with the usage of card. But then the problem arise how to make the picture full size of the page.
Must I code it with width and height? How do I know the width and height of the container? Hard coding of sizes isn't the way to go I think.

When I rotate the device nothing is happening. How must I ensure the rotating of the user interface as well?

https://gist.github.com/2586842 This is the code of the viewport.

The whole site can be found here http://jophosting.x10.mx/mvillacomfort/mvillacomfort.zip
as a zip and the code in action here http://jophosting.x10.mx/mvillacomfort/ (it is the third icon at the bottom causing me a headache).

Thanks for help,
John

mitchellsimoens
5 May 2012, 5:49 AM
You can use percentage sizing.

jop_008
5 May 2012, 6:02 AM
Hi,

Thanks for answer I did already experiment with width and height 100% but nothing changed.
Can you be a little bit more specific. Where must I use the percentage?

John