By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,485 Members | 1,031 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,485 IT Pros & Developers. It's quick & easy.

Changing the properties of a <div> tag programmatically in javascript.

P: 2
hi
i am using the following code to provide the zoom,scroll for a image.
but this code is working individually either scrolling or zooming.

<div onmousemove=zoom_move(event); onmouseover="zoom_on(event,325,407,'<%= strLeftImage %>');" style="FLOAT: left" onmouseout=zoom_off();>
<div id="divOuterleft" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; Disable:True PADDING-BOTTOM: 0px; MARGIN: 0px; OVERFLOW: auto; WIDTH: 325px; PADDING-TOP: 0px; HEIGHT: 407px" onscroll="Chk_height();Chk_width();">
<img id="leftImage" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px" height="1000" alt="SDF Image" width="750" align="left" runat="server">
</div>
</div>
<div style="CLEAR: both"></div>


i am providing an option either zoom or scroll with a radio buttonlist.
when the user checks the option that functionally should work.

can we change the properites of a <div> tag programmatically in javascript.
if so, plz help me how to approch.


thanks.
Jul 13 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.