possibly, i've never done a horizontal type thing but i guess it would be the same technique. have you got an example of what you mean? when you say delay, why would you want a delay? or do you mean slide/animate to a position over time?
if you mean slide/animate, i was thinking of that with some jquery i've seen - where they slide back to the top of the page, its quite a nice little effect instead of just jumping
Code: Select all
$('html,body').animate({scrollTop:$('[name="'+this.hash.substring(1)+'"]').offset().top}, 500);
to tidy this up, it would probably be better to have the mouse position and changing the top value in the jquery script, but this is as test2 with the added jquery to slide to its position instead of just jumping there
also, if you wanted to do it really nice, it would be good to turn the li:hover off while its scrolling to position