I am using the code from the folling link on mouseover function http://perplexed.co.uk/1991_jquery_scroll_tabs_like_browser_tabs.htm
i check the values of offset during mouseover and set the visibility prev and next button. But the checking always happens in the next mouseover . Eg: i have to set the next button to invisible during the same mouse over event when i scroll and reach the end. but it happens in the next mouseover.
Is it posiible to write an if function within the animate function