Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Корзина » Google поиск в таблице форума


Google поиск в таблице форума

Сообщений 1 страница 7 из 7

1

Подскажите скрипт поиска google прямо в таблице. Видел на многих форумах.

0

2

Скрипт поиска по самым извесным поисковым системам мира!!

Код:
<script type="text/javascript" language="JavaScript">document.write('<form name="metasearch" onsubmit="search()" action=""><table border="0" cellpadding="5" cellspacing="0"><tr><td nowrap align="center">');
document.write('Search for:</td><td><input name="query" type="text" size="15" maxlength="100">');
document.write('</td><td nowrap>With: ');
document.write('<select name="engine"><option>--------------------------------</option>');
document.write('<option>About</option>');
document.write('<option>AltaVista</option>');
document.write('<option>AOL Search</option>');
document.write('<option>Ask Jeeves</option>');
document.write('<option>Bay9 (Rocketlinks)</option>');
document.write('<option>Britannica.com</option>');
document.write('<option>Deja (Usenet)</option>');
document.write('<option>Direct Hit</option>');
document.write('<option>Dogpile</option>');
document.write('<option>Euroseek</option>');
document.write('<option>Excite</option>');
document.write('<option>Fast (All the Web)</option>');
document.write('<option>FindIt-Quick</option>');
document.write('<option>FindWhat</option>');
document.write('<option>500search.com</option>');
document.write('<option>GO.com (Infoseek)</option>');
document.write('<option>Google</option>');
document.write('<option selected>GoTo</option>');
document.write('<option>HotBot</option>');
document.write('<option>InfoSpace</option>');
document.write('<option>IQSeek</option>');
document.write('<option>iWon</option>');
document.write('<option>Ixquick</option>');
document.write('<option>Kanoodle.com</option>');
document.write('<option>LookSmart</option>');
document.write('<option>Lycos</option>');
document.write('<option>Lynx Prowler</option>');
document.write('<option>Mamma</option>');
document.write('<option>MetaCrawler</option>');
document.write('<option>MoreClickThrus</option>');
document.write('<option>MSN Search</option>');
document.write('<option>NBCi (Snap)</option>');
document.write('<option>NetFlip</option>');
document.write('<option>Netscape Search</option>');
document.write('<option>Northern Light</option>');
document.write('<option>Open Directory</option>');
document.write('<option>Raging Search</option>');
document.write('<option>Search.com</option>');
document.write('<option>SearchGalore</option>');
document.write('<option>Sprinks</option>');
document.write('<option>WebCrawler</option>');
document.write('<option>Webtop</option>');
document.write('<option>Yahoo!</option>');
document.write('<option>--------------------------------</option></select></td><td align="center">');
document.write('<input type="button" value="Go!" onclick="search()">');

document.write('</td></tr></table></form>');

function search()
{
 zoekTerm = document.metasearch.query.value;    
 if(zoekTerm != "")
 {
  zoekTerm = zoekTerm.replace(/\s/ig, "+");
  
  zoekMachine = document.metasearch.engine.selectedIndex;
  eindTerm = "";

  if(zoekMachine == 1)
  {eindTerm = "http://search.about.com/fullsearch.htm?terms=" + zoekTerm + "&PM=59_0100_S";
  }
  else if(zoekMachine == 2)
  {eindTerm = "http://www.altavista.com/sites/search/web?q=" + zoekTerm + "&kl=XX&pg=q";
  }
  else if(zoekMachine == 3)
  {eindTerm = "http://search.aol.com/dirsearch.adp?query=" + zoekTerm + "&bfmid=11468709&siteid=38402391&bfpage=aol7";
  }
  else if(zoekMachine == 4)
  {eindTerm = "http://www.ask.com/main/askjeeves.asp?ask=" + zoekTerm + "&origin=0&site_name=Jeeves&metasearch=yes&ads=";
  }
  else if(zoekMachine == 5)
  {eindTerm = "http://www.bay9.com/cgi-local/search.cgi?keyword=" + zoekTerm + "&AID=1110111&PID=811938&link=&clicktrade=";
  }
  else if(zoekMachine == 6)
  {eindTerm = "http://www.britannica.com/search?query=" + zoekTerm;
  }
  else if(zoekMachine == 7)
  {eindTerm = "http://groups.google.com/groups?q=" + zoekTerm + "&hl=en&lr=&safe=off&site=groups";
  }
  else if(zoekMachine == 8)
  {eindTerm = "http://www.directhit.com/search.asp?qry=" + zoekTerm + "&alias=websrch";
  }
  else if(zoekMachine == 9)
  {eindTerm = "http://search.dogpile.com/texis/search?q=" + zoekTerm + "&geo=no&fs=web";
  }
  else if(zoekMachine == 10)
  {eindTerm = "http://www.euroseek.com/query?query=" + zoekTerm;
  }
  else if(zoekMachine == 11)
  {eindTerm = "http://search.excite.com/search.gw?trace=a&search=" + zoekTerm;
  }
  else if(zoekMachine == 12)
  {eindTerm = "http://www.alltheweb.com/search?cat=web&advanced=1&type=all&query=" + zoekTerm + "&jsact=&lang=any&charset=iso-8859-1&wf%5Bn%5D=3&wf%5B0%5D%5Br%5D=&wf%5B0%5D%5Bq%5D=&wf%5B0%5D%5Bw%5D=&wf%5B1%5D%5Br%5D=%2B&wf%5B1%5D%5Bq%5D=&wf%5B1%5D%5Bw%5D=&wf%5B2%5D%5Br%5D=-&wf%5B2%5D%5Bq%5D=&wf%5B2%5D%5Bw%5D=&dincl=&dexcl=&hits=10&nooc=off";
  }
  else if(zoekMachine == 13)
  {eindTerm = "http://www.findit-quick.com/cgi-local/search/cobrand.fcgi?Terms=" + zoekTerm + "&affiliate=avenue_it";
  }
  else if(zoekMachine == 14)
  {eindTerm = "http://www.findwhat.com/results.asp?DC=25&MT=" + zoekTerm + "&aff_id=0&filter_pref=0";
  }
  else if(zoekMachine == 15)
  {eindTerm = "http://www.500search.com/cgi-bin/affiliates/clickthru.cgi?id=avenueit&campaign=Metasearch&page=http://www.500search.com/cgi-bin/search/smartsearch.cgi?keywords=" + zoekTerm;
  }
  else if(zoekMachine == 16)
  {eindTerm = "http://www.goto.com/d/search/p/go/?Partner=go_home&Keywords=" + zoekTerm;
  }
  else if(zoekMachine == 17)
  {eindTerm = "http://www.google.com/search?q=" + zoekTerm;
  }
  else if(zoekMachine == 18)
  {eindTerm = "http://service.bfast.com/bfast/click?bfsiteid=38402450&bfpage=sibstc03&bfmid=253985&Promo=befree&adultStatus=adult&Keywords=" + zoekTerm;
  }
  else if(zoekMachine == 19)
  {eindTerm = "http://hotbot.lycos.com/?MT=" + zoekTerm;
  }
  else if(zoekMachine == 20)
  {eindTerm = "http://service.bfast.com/bfast/click?pgtarg=wbsres&qvref=befree&siteid=38403203&bfpage=search11a&bfmid=20810152&QKW=" + zoekTerm;
  }
  else if(zoekMachine == 21)
  {eindTerm = "http://www.iqseek.com/cgi-bin/quicksearch.pl?username=avenue-it&search_string=" + zoekTerm;
  }
  else if(zoekMachine == 22)
  {eindTerm = "http://search.iwon.com/commerce/multisearch.jsp?searchfor=" + zoekTerm + "&symbol_search_select=short&alias=%2Falias%2Fsearch&type=on";
  }
  else if(zoekMachine == 23)
  {eindTerm = "http://ixquick.com/do/metasearch.pl?query=" + zoekTerm + "&language=english&cat=web&linkback_url=http%3A%2F%2Fwww.avenue-it.com%2Fbin%2Fmetasearch.html&linkback_sitename=avenue-it.com";
  }
  else if(zoekMachine == 24)
  {eindTerm = "http://www.kanoodle.com/aff.cool?id=13173160&query=" + zoekTerm;
  }
  else if(zoekMachine == 25)
  {eindTerm = "http://www.looksmart.com/r_search?search=0&comefrom=ds.US-go67837-search&key=" + zoekTerm;
  }
  else if(zoekMachine == 26)
  {eindTerm = "http://search.lycos.com/main/?query=" + zoekTerm + "&rd=y";
  }
  else if(zoekMachine == 27)
  {eindTerm = "http://www.lynxprowler.com/cgi-bin/search/affjump.fcgi?affiliate=avenue_it&Terms=" + zoekTerm;
  }
  else if(zoekMachine == 28)
  {eindTerm = "http://search.mamma.com/10670?qtype=0&timeout=4&lang=10670&query=" + zoekTerm;
  }
  else if(zoekMachine == 29)
  {eindTerm = "http://search.metacrawler.com/crawler?general=" + zoekTerm + "&method=0&redirect=web&refer=mc-box";
  }
  else if(zoekMachine == 30)
  {eindTerm = "http://www.moreclickthrus.com/cgi/search/affjump.cgi?affiliate=avenue_it&Terms=" + zoekTerm;
  }
  else if(zoekMachine == 31)
  {eindTerm = "http://search.msn.com/results.asp?q=" + zoekTerm + "&FORM=SMCRT&cfg=SMCINITIAL&v=1&un=doc";
  }
  else if(zoekMachine == 32)
  {eindTerm = "http://nbci.dogpile.com/texis/search?geo=no&brand=nbci&q=" + zoekTerm;
  }
  else if(zoekMachine == 33)
  {eindTerm = "http://www.netflip.com/nf/Search/?rei=5043443&v=1&w=4881849&hid=5043301&x=88&y=31&t=s&q=" + zoekTerm;
  }
  else if(zoekMachine == 34)
  {eindTerm = "http://service.bfast.com/bfast/click?siteid=38403202&bfpage=affiliate_search&bfmid=22319463&cp=nsraffbef&search=" + zoekTerm;
  }
  else if(zoekMachine == 35)
  {eindTerm = "http://www.northernlight.com/nlquery.fcg?cb=0&qr=" + zoekTerm + "&orl=All+Sources";
  }
  else if(zoekMachine == 36)
  {eindTerm = "http://search.dmoz.org/cgi-bin/search?search=" + zoekTerm;
  }
  else if(zoekMachine == 37)
  {eindTerm = "http://www.altavista.com/sites/search/res_text?sc=on&hl=on&amb=txt&q=" + zoekTerm + "&kl=XX";
  }
  else if(zoekMachine == 38)
  {eindTerm = "http://www.search.com/search?channel=1&tag=st.se.fd..sch&q=" + zoekTerm;
  }
  else if(zoekMachine == 39)
  {eindTerm = "http://www.searchgalore.com/cgi-bin/search/affjump.fcgi?Terms=" + zoekTerm + "&affiliate=avenue_it";
  }
  else if(zoekMachine == 40)
  {eindTerm = "http://search.sprinks.about.com/search.htm?terms=" + zoekTerm;
  }
  else if(zoekMachine == 41)
  {eindTerm = "http://search.excite.com/search.gw?s=" + zoekTerm + "&lk=webcrawler&showSummary=true&start=0&perPage=25";
  }
  else if(zoekMachine == 42)
  {eindTerm = "http://www.webtop.com/search/autoflavour/results.htm?QUERY=" + zoekTerm + "&GID=B01BF762-0AFD-11d4-920F-0000B4BE6054";
  }
  else if(zoekMachine == 43)
  {eindTerm = "http://search.yahoo.com/bin/search?p=" + zoekTerm;
  }
  
  if(zoekMachine != 44 && zoekMachine != 0)
  {
    zoekraam=window.open(eindTerm,"zoekresultaat","width=screen.availWidth,height=screen.availHeight,scrollbars,toolbar,menubar=1,location=1,resizable=1,status=1,directories=0,top=0,left=0");
    zoekraam.focus();
  }
 }
}
</script>

0

3

И куда же эту "бандуру" пихать? И что она делает?

0

4

А в обьяву ее можно тыкнуть? (у меня там таблица и поиск будет)

0

5

Можно))) Все можно :)

0

6

а ")))" это прикол?

0

7

Кстати, не в тему: я однажды зашел куда-то у вас в форум, и увидел там скрипт, где слева от поста (под аватарой) можно менять порядок надписей. Дайте ссылочку плиз, а то я все переискал. Просто я поставил в дополнительных полях Предупреждения, и хочу чтоб она торчала не в конце, а прмо под именем

Отредактировано Force (Вт, 8 Май 2007 18:54:17)

0


Вы здесь » Единый форум поддержки » Корзина » Google поиск в таблице форума