I am designing a layout for a floor. I want to include zoom in and zoom out feature from client side.I have a div and i made position = absolute,to give my lay out proper looks. I am calling a java script function for zoomin and zoomout. If I remove the position it is Zooming but with position= absolute it is not zooming.But in my case position= absolute is important for looks. So anybody tell me how to ZOOM in from client side when position= absolute is activated.
My java script function is as follows:
function
if
parent.parent.document.body.style.zoom*=1.2;
else
parent.parent.document.body.style.zoom=1.2;
}
My .cs code is as follows:
string
objDataAccess.GetDataSet(
for
{
dblBuildLeft =
dblBuildTop =
dblBuildTop = dblBuildTop + 45;
dblBuildWidth =
dblBuildHeight =
strCaption = dstData.Tables[
hidSecLBreadth.Value = hidSecLBreadth.Value +
dblTotalWidth =+ dblBuildWidth;
hidSecLBreadth.Value = hidSecLBreadth.Value + dblBuildHeight +
I am displaying the hidSecLBreadth.Value into a label in .aspx page.