Hello All, First off thanks to the jquery team, they've made a great little library which has made me get my hand dirty, and understand a little bit of javascript, thanks.
Im hoping someone can help me out with the following... Im trying to make a preview window, that lets you scroll over a page by moving a control. In the page below the page is set to 10000,10000 pixels. The black box is 100/100. When someone moves the white box (control) the page is scrolled to the relative position. See below for an example: http://www.kith-kin.co.uk/tests/scroller_kinda.asp It works ok when someone moves the white box to navigate, but when they scroll using the scrollbars or mousewheel I need to get the control box to update its location. I have had attempt at making this work, but am getting strange results. See below. http://www.kith-kin.co.uk/tests/scroller.asp When you load the page the box doesn't update its relative location. But when you move the white box it jumps to the original location, then slowly creaps back to the new location. Its a cool thing, but not what im after! I think my problem / complication lies with using $(window).scroll beacuse when someone scrolls using scrollbars this works (as intended), but the call also works when you move the box, and hence scroll the page. Is there anyway to work out that somehas scrolled the page by using a mouse wheel, or the scrollbars? Or am I approching this wrong? Any help much appriciated, hope this wasn't too ramblling. Cheers Ian.

