Ⓙⓐⓚⓔ schrieb:
> I looked at that page... wouldn't it be cooler to just say <a
> href="#place"> and have it scroll to <a name="place"> ?
>
> and let JQ do it all behind the scenes?
>
> Is there a more experienced JQ person out there to tackle this?
That is to me also the desired way to do it. It would be totally
unobtrusive, would work without javascript as well and the information
where to scroll could be gathered automatically from the link...:
$(...).click(function() {
var to = '#' + this.href.split('#')[1];
$(to).ScrollTo(1000, 'easeout')"
});
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/