Saturday, December 11, 2004

'Google Suggest'

Google never fails to come up with ideas which though seem small, are pretty useful. You would feel the need and presto they come up with it! The recent addition is Google Suggest. Google Suggest provides you with suggestions as you type your keywords. These keyword-suggestions are ranked by the number of results. Another website which does this is SurfWax News Accumulator.

The user experience is good without any intermittent page refreshes, the way the do this is quite simple:

1. Handle the OnKeyUp event for the text box where the keyword is typed, so that after every keystroke the function can assess what the user has typed and whether it can make any suggestions.

<input onkeyup="ShowSuggestions(event);" name="txtSearch">

2. Provide an IFRAME below the ‘txtSearch’ textbox (say ‘iSuggest’) which will display the suggestions. Every IFRAME has an URL property from which it loads its contents and this URL can be changed dynamically.

3. Now to the javascript function ShowSuggestions:
function ShowSuggestions(e)
{
var charCode;
//get char code
charCode = e.which;
//check if it is enter key, then submit the form to search
if (charCode == 13)
{
searchForm.submit();
}

/*
if is not enter key, get the letters so far typed change the URL of the IFRAME so that it now refers to your search URL. Pass the letters so far typed as a partof the querry-string. Your search URL provides the suggestions as the response which will be displayed below the search textbox
*/

iSuggest.location = "http://mysearch.com/suggest.aspx?wordsSoFarTyped=" + txtSearch.value;
}

Hmm, quite interesting and simple right?

35 Comments:

At 9:29 AM, Anonymous Anonymous said...

Your logic for the code is based on Surfwax, but if you take a look at how Google does it, it is quite different.

What sets Google apart is that it makes the values appear right there as a dropdown, as part of an "autocomplete component". There are no IFRAMES here.

It makes an instance of the ActiveXObject which opens a connection using the Microsoft.XMLHTTP method and retrieves an array of data which I am assuming are pre-stored in a database.
What I can't figure out (thanks to the 1 character vars in the Google code) is how the code works, i.e to how replicate that logic so that anyone can implement such a tool on their site.

 
At 5:27 AM, Blogger NGM said...

Yes what you said is right, the code base i have given as example holds good for SurfWax, may be not for google,

As you said the other way is use XMLHTTPRequest, i have used it found it to be pretty useful

 
At 4:00 PM, Blogger Wealthy from the internet said...

Hi NGM,

Did you know that Toni is the beste journalist and that de beste journalist Dutch is?

de beste journalist means that he is the beste journalist

click to see de beste journalist van nederland

This great post was brought to you by Blog submitter

 
At 9:01 PM, Blogger INTERNET PERS said...

PERSBERICHT


Ede, oktober 2005

Zoekmachine marketing - Werkwijze van W2solutions garandeerd top 10 plaatsing op Yahoo, Google en Msn binnen een week!

Vanaf vandaag, 30 oktober 2005 kunnen bedrijven en particulieren zich inschrijven voor de nieuwste en erg succesvol gebleken zoekmachine marketing van het bedrijf W2solutions. Het bedrijf is gespecialiceerd in zoekmachine optimalisatieen versnelde zoekmachine plaatsing. Na een periode van onderzoek en investeren is W2solutions op de markt gekomen met W2 SEinclude. Dit pakket verzekert 100% plaatsing op de meest bekende zoekmachines te weten Yahoo Msn en Google. De wachttijd bedroeg gemiddeld twee tot vier weken, als je dan al geplaatst wordt. Het unieke aan deze het nieuwe W2 SEinclude is dat men als klant al na maximaal een week (7dagen ja) het gewenste resultaat bereikt heeft. Binnen zeven dagen een top tien positie op de zoekmachines? Dankzij onze zoekmachine marketingkan het zelfs binnen twee dagen als het moet.

Nieuwe innovatie is van groot commercieel belang.
De combinatie van technieken en software van W2solutions die het proces bewerken zijn bijzonder interresant voor bedrijven die binnen een aanzienbare tijd met het produkt of diensten die zij bieden midden in de (internationale) belangstelling willen staan. Het kan namelijk al binnen 2 dagen, en het is bewezen ook. Wat zou het voor uw bedrijf en uw website kunnen betekenen als u binnen twee dagen boven aan de zoekmachines staat? En dus boven al uw concurrenten? W2 SEinclude maakt het waar. Stel u wilt boven aan staan met als keywoord 'kerst inkopen' De hoogste zoek machine plaatsing. Dat kan volgende week geregeld zijn..En het kan al vanaf Eur 500,00!

W2 Solutions accepteert nog duizend nieuwe klanten tot aan het eind van dit jaar voor het gebruik van deze solution. Deze duizend klanten zullen op een first come first service systeem worden bediend. Het loont zich dus om snel informatie in te winnen of om uw bestelling te plaatsen. W2Solutions biedt een niet goed geld terug garantie. voor de altijd aanwezige sceptici heeft het bedrijf een drietal voorbeelden voor u op een rijtje gezet.

bestinternetearnings - Klikt u op de zoekmachines om de positie te bekijken: MSN - YAHOO

tenmilliondollar.com - Klikt u op de zoekmachine om het voorbeeld te zien. MSN - GOOGLE

De pers pagina
Om enige media aandacht te verkrijgen maakte W2Solutions de perspagina op Yahoo.com. Deze pagina was in eerste intantie gericht aan Tonie van Ringelestijn, journalist van onder andere de TROS. W2Solutions plaatste deze pagina binnen 2 dagen op de nummer twee van Yahoo zoekmachine resultaten. U vindt de pagina hier De keywoorden die hierbij gebruikt zijn waren 'beste en journalist'.

Meer informatie over de w2Solutions vindt u op www.w2solutions.info. De website is in onderhoud tot maandag. U kunt uw bestelling en informatie aanvragen via onderstaande gegevens.

Meer informatie:

Wanneer u uw bedrijf wilt inschrijven kunt ons een mailtje sturen op het navolgend email adres. Wij nemen contact op met u om uw wensen te bespreken.

U kunt ons ook bellen als u verzekerd wilt zijn van een snelle service en om als een van de eersten boven aan de zoekmachines te staan. Voor meer informatie over W2 SEinclude, of om uw bestelling te plaatsen, kunt u daarom contact opnemen met Dhr. Janwillem Heikens, Directeur Research & Developement via 06-30318222.

Voor meer informatie over de W2 SEinclude kunt u ook contact opnemen met Dhr. Walter Schonewille, Commercieel directeur, via telefoonnummer: 06-27278935 of mail uw vragen en/of ebstelling naar w2seinclude@w2solutions.info

 
At 9:23 PM, Anonymous web marketing said...

Calling all SEO'S and Web Marketing Experts a new blog with more information than you can digest
on Search Engine Optimisation and Web Marketing Tips
is now available for your use and the best part of it all, it's FREE, all we ask is that you place a link from your web site or blog to this blog or post your comments on the subject.

Brought to you by Airport Essentials

 
At 11:21 PM, Anonymous seo said...

Hi, can you tell me something about zoekmachine optimalisatie or zoekmachine marketing? I wonder what is the beste nederlandse internet marketing

 
At 6:52 AM, Blogger Wealthy from the internet said...

Hi,

Have you heard of blog submitter?

I can tell that blogsubmitter is very effective.

It brought me over a hundred page ONE listings on search engines! Within only a few days using it.

The real name is blog submitter pro

you will find it @ www.blogsubmitter.info!

 
At 5:18 AM, Blogger incbizz said...

Hi NGM, If you would like to send your ad to the best opportunity seekers please click here multi-safelist blaster.
http://www.submitterbizz.com
multi-safelist blaster

 
At 11:17 AM, Blogger incbizz said...

Hi NGM, If you would like to send your ad to the best opportunity seekers please click here Safelist.
http://www.submitterbizz.com
Safelist

 
At 11:24 PM, Blogger cleanestenergy said...

Hi, NGM , What a great blog you have here! An example for the rest! I particulary enjoyed 'Google Suggest' as we share the same interests I believe. Thanks for the good work! Keep it up.

Regards, Albert krediet

 
At 3:35 AM, Blogger krediet said...

Hi, NGM , What a great blog you have here! An example for the rest! I particulary enjoyed 'Google Suggest' as we share the same interests I believe. Thanks for the good work! Keep it up.

Regards, Albert hypotheken

 
At 12:15 PM, Blogger alextewnewsite said...

Hi NGM ,

Alex Tew here!

You most probably heard of my website, the world famous million dollar pixel page.

Due to it nearly filling up, I personally reccommend the next (and best) working pixel website:

My new and improved pixel adventure: The ten million dollar website.

See what MSN.COM says about it! They even call it: greatest value in advertising

If you did not yet get your pixel advertising, come and get it now!

Regards,


Alex Tew.

 
At 6:17 AM, Blogger alextewnewsite said...

Hi NGM ,

Alex Tew here!

You most probably heard of my website, the world famous million dollar pixel page.

Due to it nearly filling up, I personally reccommend the next (and best) working pixel website:

The new and improved pixel adventure:

The ten million dollar website.

See what MSN.COM already says about it!

They call it the greatest value in advertising

If you did not yet get your pixel advertising, come and get it now on the one and only Ten million Dollar Web Site!!

Regards,


Alex Tew.

 
At 11:21 AM, Blogger alberthaanstra said...

Hi NGM ,

Heb jij wel eens krediet bij Afab gehad? Ik heb namelijk gehoord dat ze de tweede in Nederland zijn op het gebied van kredieten
Dat lijkt me trouwens niet zomaar.
Ik hoop de ervaringen snel te lezen.

Groeten,

Albert Haanstra

 
At 3:09 PM, Blogger SubmitterBizz.com said...

Hi NGM, If you would like to send your ad to the best opportunity seekers please click here multi-safelist blaster.
http://www.submitterbizz.com
multi-safelist blaster

 
At 3:23 PM, Anonymous leningen said...

Hallo NGM ,

Wat een mooi blog heb je hier! Succes ermee!

Groetjes Albert leningen
Van Leeuwenhoek Lyceum, Hoofddorp.

 
At 2:22 PM, Blogger SubmitterBizz.com said...

Hi NGM, If you would like to send your ad to the best opportunity seekers please click here Safelist Submitter.
http://www.submitterbizz.com
Safelist Submitter

 
At 6:48 PM, Anonymous business opportunity said...

Hi. Thanks for the insights.

Steve @
http://www.lifeincome.org

 
At 7:13 PM, Anonymous Anonymous said...

Debt Consolidation Debt Consolidation Programs can help you reduce your interest burden by charging an interest rate lower than the rate on your existing loans. Debt consolidation loan can also allow you to make small monthly payments by extending the loan period

 
At 1:29 AM, Blogger incbizz said...

Click On The Link Below To Get Free Info On Safelist Marketing Techniques. Its Free Info What Do You Have To Lose!
safelist advertising safelist advertising http://www.mysafelistnews.com

 
At 3:22 AM, Blogger incbizz said...

Click On The Link Below To Get Free Info On Safelist Marketing Techniques. Its Free Info What Do You Have To Lose!
free safelist free safelist http://www.mysafelistnews.com

 
At 5:37 PM, Blogger incbizz said...

Click On The Link Below To Get Free Info On Safelist Marketing Techniques. Its Free Info What Do You Have To Lose!
safelist marketing safelist marketing http://www.mysafelistnews.com

 
At 2:24 PM, Anonymous Anonymous said...

Debt Consolidation
Debt Help Home Loans Student Loan Consolidation can help you reduce your interest burden by charging an interest rate lower than the rate on your existing loans. Debt consolidation loan can also allow you to make small monthly payments......
http://www.debt-consolidation.com

 
At 12:03 AM, Blogger http://www.debt-consolidation.com said...

Debt Consolidation
Debt Help Home Loans Student Loan Consolidation can help you reduce your interest burden by charging an interest rate lower than the rate on your existing loans. Debt consolidation loan can also allow you to make small monthly payments......
http://www.debt-consolidation.com

 
At 5:23 PM, Anonymous Anonymous said...

GET FREE QUOTES FOR HOME LOANS,REFINANCE,HOME EQUITY DEBT & STUDENT LOAN CONSOLIDATION
Debt Help Home Loans Student Loan Consolidation

 
At 8:51 AM, Blogger Earn A LifeTime of Income From Anywhere! said...

You gave me an interesting idea. Thanks and visit us at Helping You SafeList

 
At 11:20 AM, Anonymous LifeIncome said...

Got a couple of ideas based on what I saw on your blog. Thanks and visit us at Helping You SafeList

 
At 2:25 PM, Anonymous LifeIncome said...

I am conducting some research on various safelist marketing sites and ran across this page. Even though it wasn't "exactly" what I was looking for, I think your readers might be interested in reading about how to gain more subscribers to their respective web site. We provide information that many people either don't know about or forget. As you know, the more information people have before spending their hard earned money -- the better. Sorry for the self promotion, just trying to get the word out while looking for sites to review. On to the next -- thanks! Visit us at Helping You SafeList

 
At 6:55 PM, Anonymous Anonymous said...

or visit http://mywebcashstore.com/branco0116

 
At 1:04 PM, Anonymous Anonymous said...

The site looks great ! Thanks for all your help ( past, present and future !)

 
At 4:46 PM, Anonymous Anonymous said...

The site looks great ! Thanks for all your help ( past, present and future !)

babcreditloan ::
americredit finance ::
credit eloan line ::
badcreditloans ::
cardinale estate ::
mortgage postcards ::
business class airfare business clas specials ::
businesscenter ::
small business adminstration ::
homebusiness ::
ambank finance ::
hank laundering money loan ::
houston loan money quick ::
money treepay day loan ::
babcreditloan ::
americredit finance ::
credit eloan line ::
badcreditloans ::
cardinale estate ::
mortgage postcards ::
business class airfare business clas specials ::
businesscenter ::
small business adminstration ::
homebusiness ::
ambank finance ::
hank laundering money loan ::
houston loan money quick ::
money treepay day loan
.

 
At 10:59 AM, Anonymous Anonymous said...

The site looks great ! Thanks for all your help ( past, present and future !)

babcreditloan ::
americredit finance ::
credit eloan line ::
badcreditloans ::
cardinale estate ::
mortgage postcards ::
business class airfare business clas specials ::
businesscenter ::
small business adminstration ::
homebusiness ::
ambank finance ::
hank laundering money loan ::
houston loan money quick ::
money treepay day loan ::
babcreditloan ::
americredit finance ::
credit eloan line ::
badcreditloans ::
cardinale estate ::
mortgage postcards ::
business class airfare business clas specials ::
businesscenter ::
small business adminstration ::
homebusiness ::
ambank finance ::
hank laundering money loan ::
houston loan money quick ::
money treepay day loan
.

 
At 10:10 AM, Anonymous Anonymous said...

Are you going to the party?

Brown jordan outdoor furniture and aluminum outdoor furniture will be very useful.

Cheers ;-)

 
At 5:58 AM, Anonymous Anonymous said...

phentermine pills no rxpravachol phentermine pet pharmacy
[url=http://www.bebo.com/buyvicodinnow] buy vicodin [/url]

 
At 4:18 PM, Anonymous Anonymous said...

酒店經紀酒店打工 酒店工作酒店上班 酒店兼差 酒店兼職打工兼差打工兼職台北酒店酒店應徵 禮服酒店 酒店 經紀 打工 兼差

 

Post a Comment

<< Home