matt
matt

Reputation: 44293

jQuery: Scale entire div with its children?

is it somehow possible to use jQuery or Javascript to scale an entire div down to 70%. E.g. I have a horizontal slider with images. On smaller screens the slider with all its images (and their captions) should be like 70% of it's original size. It's really difficult though do shrink everything manually with jquery and remember all the original sizes.

Any idea how I could solve this?

Upvotes: 0

Views: 2010

Answers (1)

Impiastro
Impiastro

Reputation: 858

Maybe you can find inspiration from:

http://css-tricks.com/examples/AnythingZoomer/

A zoomer that can zoom forth and back a generic html content, made in jQuery by a famous web designer.

Upvotes: 1

Related Questions