The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Moving Boxes – how to resize Re: Moving Boxes – how to resize


Update:: 06/19/09 – I figured this out – I will not say that this is the best method or practice but it worked for me. If someone can improve upon my suggestion please feel free to post –

In the slider.js there are four variables you can change as you scale down the size of the sliding box make sure to update the image width and the slider content height.

Also, you will need to make adjustments to slide distance and position – due to fact that you reduced the image size – the sliding box will now be off center – so adjusted as necessary-