Hi,
I have a page that has a table that is set to 100%. I then have placed a table inside and centered it and sized it at 760px. Inside the inner table I have placed the DIV for a scroller. The javascript for the scroller has the absolute coordinates for positioning the scroller DIV, and it is positioned correctly when the screen is maximised. The problem is that when the browser window is not maximised the scroller DIV stays at it's absolute coordinates but the rest of the web page moves when the window size is reduced. The actual web page with graphics centres ok when the browser window is reduced and the 100% outer table reduces in size. Is there a way for the scroller DIV container to move with the rest of the web page so it doesn't mess up the format of the page? Relative coordinates??? Here is the script with the absolute positioning...
<script language="javascript" src="scripts/ScrollBox.js"></script>
<script language="javascript">
var scroll = new ScrollBox("scroll1", 300, 125, 380, 200, 100)
</script>
Thanks
I have a page that has a table that is set to 100%. I then have placed a table inside and centered it and sized it at 760px. Inside the inner table I have placed the DIV for a scroller. The javascript for the scroller has the absolute coordinates for positioning the scroller DIV, and it is positioned correctly when the screen is maximised. The problem is that when the browser window is not maximised the scroller DIV stays at it's absolute coordinates but the rest of the web page moves when the window size is reduced. The actual web page with graphics centres ok when the browser window is reduced and the 100% outer table reduces in size. Is there a way for the scroller DIV container to move with the rest of the web page so it doesn't mess up the format of the page? Relative coordinates??? Here is the script with the absolute positioning...
<script language="javascript" src="scripts/ScrollBox.js"></script>
<script language="javascript">
var scroll = new ScrollBox("scroll1", 300, 125, 380, 200, 100)
</script>
Thanks