just yesterday I tried something similar $("a|area").not('[EMAIL PROTECTED]').addClass("target"); works fine... but with quotes around the hash, it does not,.. it shows quotes in the docs,.... I am confused!
On 9/28/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/