Results 1 to 2 of 2

Thread: text result - vary in size

  1. #1
    Join Date
    Jan 2008
    Posts
    441
    Thanks
    67
    Thanked 4 Times in 4 Posts

    Default text result - vary in size

    does anyone know what this is called and how to do it?
    the larger text shows greater relevance
    Last edited by ggalan; 06-10-2011 at 07:52 PM.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There are probably two parts to the script. (I can't be certain since it's interactive, but I'm guessing from the image.)

    The first is a dynamic search that searches as you type. Google "search as you type" for more information. It's also similar to autofill searching, but that's a little different because it's not generating text in the text field, but below it. Still, it's similar.


    The second is what appears below the search. It's called a tag cloud and there are many versions. Some look more like "clouds" and others, like above, look more like regular lists. Size is usually related to relevance. There's lots of info if you search for "tag cloud" on google.

    The basic explanation for how this works is that you have a database in which different terms are related to other terms. For example, for each term you have a list of related terms, and maybe how related they are. Then you search for any terms related to the user input and display them. Of course the algorithms can be more complex.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    ggalan (06-10-2011)

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
  •