SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cool Searching Capabilities

    How do I add searching capabilities to my web site? I want to have a search box that locates a string, scrolls to, and possibly highlights, it. If I had to I could just have a match listing page.

  2. #2
    SitePoint Wizard Young Twig's Avatar
    Join Date
    Dec 2003
    Location
    Albany, New York
    Posts
    1,355
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can't the user just use the one in their browser? Or do you mean search multiple pages?

  3. #3
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Multiple

    I want multiple pages like one of those boxes that say "Powered By Google" or somehting like that.

  4. #4
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If your site is indexed by Google: http://www.google.com/help/features.html#sitesearch
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  5. #5
    SitePoint Member
    Join Date
    May 2005
    Location
    China
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If search in one page, you can use TextRange object to locate and hilite the keyword user input.
    My Blog: http://www.cnblogs.com/birdshome/ (Written in Chinese)

  6. #6
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    TextRange is IE5+/Win only.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  7. #7
    SitePoint Member
    Join Date
    May 2005
    Location
    China
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IE support so many special effect. How to choose for us? Disregard them for cross-browser only?
    My Blog: http://www.cnblogs.com/birdshome/ (Written in Chinese)

  8. #8
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Deciding what to use is up to each developer. I just want other developers to realize that many advanced features will not work in all browsers.

    JavaScript scripts should be made to fail gracefully.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •