I am looking to script something that will automatically link my
internal page links using the http://interface.eyecon.ro/ ScrollTo
behaviour.
If the script doesn't load the normal browser behaviour should be preserved.
I am using this so far, but is simply isn't working.. I can't seem to
figure
Try$('[EMAIL PROTECTED]#]').each(function(i){*/ $(this).bind(click, function() {$(this).ScrollTo(3000, 'easeout'); //Changed this.href to thisreturn false;
});});No since trying to scroll to an attribute of the link.On 9/28/06, neotoxic
[EMAIL PROTECTED] wrote:I am looking to script
I think he was trying to use the href attribute to find the target element. Try this to find the target:$('a[name='+this.href.slice(this.href.indexOf(#)+1)+']')Blair
On 9/29/06, Matt Stith [EMAIL PROTECTED] wrote:
Try$('[EMAIL PROTECTED]#]').each(function(i){*/ $(this).bind(click, function() {