Ok, I\'m building a horizontal scroll website for a photographer. We have some really nice wireframes done and I\'m looking to create a neat effect where it highlights the
you'll have to synthesize two figures.
a - you can find the position of the scroll using
oDiv.scrollLeft
b - once pictures are loaded - you can sum the sizes of the pictures (or if you set it mannually - you don't even have to wait for them to load.
oImg.style.width
Assuming you give the same spacing between the pictures - the math becomes obvious.
It's a little JavaScript, that's all :)