[jQuery] Re: Text Highlighting from Search

2007-05-15 Thread Glen Lipka
On 5/15/07, Renato Formato <[EMAIL PROTECTED]> wrote: > Wow, that looks robust. Definetely let me know when it's released. > So I assume, I would remove the search definitions and add something like: > [/^http:\/\/(www\.)?commadot\./i, /s=([^&]+)/i], > > I get a little lost on the syntax there

[jQuery] Re: Text Highlighting from Search

2007-05-15 Thread Renato Formato
Wow, that looks robust. Definetely let me know when it's released. So I assume, I would remove the search definitions and add something like: [/^http:\/\/(www\.)?commadot\./i, /s=([^&]+)/i], I get a little lost on the syntax there. It might be worth while in the plugin to make a simple api t

[jQuery] Re: Text Highlighting from Search

2007-05-14 Thread Glen Lipka
On 5/14/07, Renato Formato <[EMAIL PROTECTED]> wrote: Glen Lipka ha scritto: > I have a search which yields a URL like this: (searching for [jets daniel]) > http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search >

[jQuery] Re: Text Highlighting from Search

2007-05-14 Thread Renato Formato
Glen Lipka ha scritto: I have a search which yields a URL like this: (searching for [jets daniel]) http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search

[jQuery] Re: Text Highlighting from Search

2007-05-13 Thread Ⓙⓐⓚⓔ
similar to a prototype I did for a children's book program. http://jpassoc.com/junior/story/ jQuery.fn.hook=function(hash){ var fix = function(text,hash){ var t = text.split(/\b/) var inTag = false for (var i = 0; i < t.length; i++){