But it could also be used to highlight things on the current page, maybe a live search, and if someone wants to link to a page with the live search results highlighted, then they could add ?q=Terms onto the end.

On 9/11/06, Dossy Shiobara <[EMAIL PROTECTED]> wrote:
On 2006.09.11, Matt Stith <[EMAIL PROTECTED]> wrote:
> Great job! Personally, i would check if document.location has a 'q'
> set, and if not, use the referrer, That would make it a little more
> usable.

More usable how?  The idea behind this code snippet is to highlight
search query terms on click-through from a SERP.  The SERP's URL is
what we have in document.referrer, not document.location .

-- Dossy

--
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to