| View previous topic :: View next topic |
| Author |
Message |
rahuls2930 New member

Joined: 12 Jun 2009 Posts: 1 Location: India
|
Posted: Fri Jun 12, 2009 12:47 am Post subject: Change the magnification level of a div with contents insid |
|
|
Hi, I have a main div with a fixed width for which the overflow is set to hidden. Inside that there is a content div which can have variable width depending on the number of its contents. Each content has an image and some text. There may be 100 s of contents. I have a scrollbar for changing the magnification level and a scrollbar for viewing the contents inside the content div.
I have tried using style.zoom property for the content div. But it has problems when the position of the div is changed using the other scrollbar.
Is there any alternative to change the magnification level for the content div?? |
|
| Back to top |
|
 |
mukeshv New member

Joined: 16 Oct 2009 Posts: 1 Location: Pune, India
|
Posted: Fri Oct 16, 2009 6:15 am Post subject: Re: Change the magnification level of a div with contents in |
|
|
| rahuls2930 wrote: | Hi, I have a main div with a fixed width for which the overflow is set to hidden. Inside that there is a content div which can have variable width depending on the number of its contents. Each content has an image and some text. There may be 100 s of contents. I have a scrollbar for changing the magnification level and a scrollbar for viewing the contents inside the content div.
I have tried using style.zoom property for the content div. But it has problems when the position of the div is changed using the other scrollbar.
Is there any alternative to change the magnification level for the content div?? |
It is not very difficult problem. Simply use some good quality DHTML library like Jquery and change the font size and image size, as someone changes the manifacation level. Make sure your text and image is accessible using Jquery. |
|
| Back to top |
|
 |
|