Matteo
I had to have
<script type="text/javascript">
var myScroll;
var originalHeight = getHeight();
document.getElementById('wrapper2').style.height =
window.innerHeight + "px";
myScroll = new iScroll('scroller2',
{desktopCompatibility:true,hScrollbar: false,vScrollbar: false});
function getHeight() {
var headerH = document.getElementById('header').offsetHeight,
wrapperH = window.innerHeight - headerH;
return wrapperH;
}
</script>
in my subpage to get it to work.
What is the best way to get all my subpages to scroll with this
script?
I tryed to place it in my index.asp file along with the other
2wayscript but it didnt work so I placed it in the subpage and it
works.
Do I have to place this in all subpages to get it working or is there
a better way?
Thanks.