[jQuery] Re: search text, find urls and list

2007-07-18 Thread Karl Swedberg
27;d find really useful. My buddies and I have looked at the plug-ins a lot, thought they were really cool but we're not using them. We're already both using the script we've been working on here. Hope that helps. Thanks again for your help with this script and thanks to al

[jQuery] Re: search text, find urls and list

2007-07-18 Thread Hugh Hayes
with this script and thanks to all the people that take care of jquery. Take care. Hugh ----- Original Message - From: Karl Swedberg To: jquery-en@googlegroups.com Sent: Tuesday, July 17, 2007 12:35 PM Subject: [jQuery] Re: search text, find urls and list Hi Hugh,

[jQuery] Re: search text, find urls and list

2007-07-17 Thread Karl Swedberg
id="extLinks"></ol>'); } var thisHref = this.href; $('<li></li>').text(thisHref).appendTo($extLinks); $extLinks.appendTo("#content"); )}; /* ]]> */ I'm serving the files up as xhtml 1.1 with mime-type application/ xhtml+xml fo

[jQuery] Re: search text, find urls and list

2007-07-17 Thread Richard D. Worth
On 7/17/07, Hugh Hayes <[EMAIL PROTECTED]> wrote: $extLinks.appendTo("#content"); )}; It looks like the right paren ) and right curly brace } here are switched. - Richard

[jQuery] Re: search text, find urls and list

2007-07-17 Thread Hugh Hayes
with mime-type application/xhtml+xml for the browsers that understand it and text/html (html 4.01) for the browsers that don't. The page validates and there's no css errors. Thanks in advance for anyone's hints, tips or fixes. Take care. Hugh ----- Original Message -

[jQuery] Re: search text, find urls and list

2007-07-16 Thread Karl Swedberg
Hi Hugh, You might want to use the .each() method for this so you can iterate through the links and create new elements as you go. Something like this should work: var $extLinks; $("#content a").not("[EMAIL PROTECTED]'mysite.com/']").each(function(index) { if (index == 0) { $extLinks =