[jQuery] Re: Plugin to link words/phrases

2007-06-04 Thread Michael Edmondson
@Renato Formato: Very nice. Perhaps DOM tree walking would be better than my blanket regex over HTML... Thanks.

[jQuery] Re: Plugin to link words/phrases

2007-06-04 Thread Michael Edmondson
My latest attempt tries to handle if the "unlink" file is missing and uses a linkTopicsOnce setting: (function($) { $.fn.extend({ linktopics: function( settings ) { var self = this; this.settings = $.extend({}, $.linktopics.

[jQuery] Re: Plugin to link words/phrases

2007-06-04 Thread Michael Edmondson
What happens if there is other HTML -- be it other spans or links -- in the paragraph?

[jQuery] Re: Plugin to link words/phrases

2007-06-02 Thread Michael Edmondson
"link": "http://jquery.com/";, "strings": [ "jQuery", "Javascript framework", "John Resig"

[jQuery] Plugin to link words/phrases

2007-06-01 Thread Michael Edmondson
I am working on writing a plugin that, given a list of words/phrases, will link text. That sounds so ... less than spectacular. The concept is similar to those in-text ads, except without the popups/bubbles. (Even less spectacular-sounding.) I was wondering if there already existed a plugin fo