Book Section
-----
TY JavaScript 3rd Ed.
Teach Yourself JS 1.5
Teach Yourself DHTML
Teach Yourself JS 1.3
LLWW: JavaScript

General Section
-----
Discussion Forum
Articles / Tips
JavaScript Links
About the Author
Privacy Policy
Contact Me



Other Sites
-----
Website Workshop
JavaScript Weblog

JavaScript Workshop Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Change the magnification level of a div with contents insid

 
Post new topic   Reply to topic    JSWorkshop Forum Index -> DHTML and CSS
View previous topic :: View next topic  
Author Message
rahuls2930
New member
New member


Joined: 12 Jun 2009
Posts: 1
Location: India

PostPosted: Fri Jun 12, 2009 12:47 am    Post subject: Change the magnification level of a div with contents insid Reply with quote

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
View user's profile Send private message
mukeshv
New member
New member


Joined: 16 Oct 2009
Posts: 1
Location: Pune, India

PostPosted: Fri Oct 16, 2009 6:15 am    Post subject: Re: Change the magnification level of a div with contents in Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    JSWorkshop Forum Index -> DHTML and CSS All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
(c) 1997-2002 Starling Technologies and Michael Moncur. Portions (c) Sams Publishing.