according to the documentation, i should be able to zoom inside a container with the zoomooz jquery script.
this is my code:
function zoom()
{
var mydiv = $("#fullpage");
mydiv.zoomTo({targetsize:1, duration:1000});
}
Body content:
<body onload="zoom();">
<div class="zoomViewport">
<div class="zoomContainer">
<div id="fullpage" width="2000">some page content</div>
</div>
</div>
but when it zooms, instead of zooming the fullpage div (making it small enough to fit the page) it zooms everything including the viewport.
why?