$('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() {
$(this).ScrollTo(3000, 'easeout'); //Changed this.href to this
return 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 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 out why
$('[EMAIL PROTECTED]"#"]').each(function(i){*/
$(this).bind("click", function() {
$(this.href).ScrollTo(3000, 'easeout');
return false;
});
});
Any and all help appreciated.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/