I don't know how to describe this so i may as well show.
What i'm trying to do is build a dynamic site. Which also means a scrolling menu that's put together on the user end.
I've done that by making a <div id=mainlist style=position:absolute>, and then using javascript to generate an html and then changing the mainlist html content.
That involves loading the list from an XML, and i'm trying to keep the explanation simple and my xml parser works so i'm skipping that part of the code in the sample.
However, the problem is that when i start scrolling it, the thing resizes.
http://codetest.+++++++++++++++/html/slide.html
[replace the + with f.r.e.e.h.o.s.t.i.a.com]
If you make it go past the left screen, it goes past it, like it should (It's a very long list), but when you go right, it splits into several lines and makes the site wider.
The div is just this
<div id="mainlist" style="position: absolute; top: 300px; left: 20px;">
<img src='images/icon0001.png'>
<img src='images/icon0002.png'>
<img src='images/icon0003.png'>
<img src='images/icon0004.png'>
<img src='images/icon0005.png'>
<img src='images/icon0006.png'>
</div>
And i'm just modifying the style.left with javascript.
I know i'm going about this wrong but i don't know how to ask techniques in a google search.
What i'm trying to do is build a dynamic site. Which also means a scrolling menu that's put together on the user end.
I've done that by making a <div id=mainlist style=position:absolute>, and then using javascript to generate an html and then changing the mainlist html content.
That involves loading the list from an XML, and i'm trying to keep the explanation simple and my xml parser works so i'm skipping that part of the code in the sample.
However, the problem is that when i start scrolling it, the thing resizes.
http://codetest.+++++++++++++++/html/slide.html
[replace the + with f.r.e.e.h.o.s.t.i.a.com]
If you make it go past the left screen, it goes past it, like it should (It's a very long list), but when you go right, it splits into several lines and makes the site wider.
The div is just this
<div id="mainlist" style="position: absolute; top: 300px; left: 20px;">
<img src='images/icon0001.png'>
<img src='images/icon0002.png'>
<img src='images/icon0003.png'>
<img src='images/icon0004.png'>
<img src='images/icon0005.png'>
<img src='images/icon0006.png'>
</div>
And i'm just modifying the style.left with javascript.
I know i'm going about this wrong but i don't know how to ask techniques in a google search.