function resizeItem(item,w,h){
item.style.height = h + "px";
- item.style.minHeight = h + "px";
- item.style.maxHeight = h + "px";
+// item.style.minHeight = h + "px";
+// item.style.maxHeight = h + "px";
item.style.width = w + "px";
- item.style.minWidth = w + "px";
- item.style.maxWidth = w + "px";
+// item.style.minWidth = w + "px";
+// item.style.maxWidth = w + "px";
}
function int_of_px(px) {
}
}
- resize();
+ $(window).bind("resize", resize);
+
+ // resize();
}
function resize() {
- var htmlheight = int_of_px(window.getComputedStyle(body.parentNode,null).height);
- var htmlwidth = int_of_px(window.getComputedStyle(body.parentNode,null).width);
- apparea.resize(htmlwidth,htmlheight);
+ // var htmlheight = int_of_px(window.getComputedStyle(body.parentNode,null).height);
+ // var htmlwidth = int_of_px(window.getComputedStyle(body.parentNode,null).width);
+ // apparea.resize(htmlwidth,htmlheight);
+ apparea.resize($(window).width(),$(window).height());
}
function updateSide() {