[HTML]Arama Motoru | SohbetForumlari.Net Bilgi Paylaştıkça Değerlidir.

[HTML]Arama Motoru

  • Konbuyu başlatan Eqe
  • Başlangıç tarihi
E

Eqe

<html>
<head>

</head>
<table width='69' border='0' cellpadding='0' cellspacing='0' height="62"><tr>
<td width='17' width='95' height="5" align="center" bordercolor="#008000"><center><b><font color='#333399'>
<p align="center">Arama </font></b></center></td></tr>
<td width='95' align="center" height="5" bordercolor="#008000"><font color='#333399'><script>
var MAX_ENGINES = 35;
var tp='';
var tpp='';
var find = 'hunt';
var hold=0;
var hold2=0;
var gog=0;
var ap='';
function MakeArray(n) {
for (var i = 1; i <= n; i++) {
this = 0;
}
this.maxlen = n;
this.len = 0;
return this;
}
var engs = new MakeArray(MAX_ENGINES);
function find_substring(needle
haystack) {
var i
needlen = needle.length
haylen = haystack.length;
for (i=0; i<=haylen-needlen; i++) {
if (needle == haystack.substring(i
i+needlen))
return i;
}
return false;
}
function Engine(name
opts
home
search) {
var gotcha = find_substring(find
search);
this.name = name;
this.opts = opts;
this.home = home;
this.pre_gotcha = search.substring(0
gotcha);
this.post_gotcha= search.substring(gotcha+find.length
search.length);
}
function Add(name
opts
home
search) {
engs.len++;
if (engs.len <= engs.maxlen) {
engs[engs.len] = new Engine(name
opts
home
search)
}
else {
alert ('Better increase MAX_ENGINES: ' + engs.Len + '>' + engs.maxlen)
}
}
function DisplayForm() {
document.writeln('<FORM Name=Gotchaform OnSubmit="HandleForm(this); return false">');
document.writeln('<font face="Verdana" color="#000066" size: 1><INPUT size=22 name="query" >');
document.writeln('<br><font face="Verdana" color="#000066" size: 1><SELECT name="service" >');
for (i=1; i <= engs.len; i++) {
document.writeln("<OPTION " + engs.opts + "> " + engs.name);
}
document.writeln('</SELECT> <input ******submit value=" Ara " >');
document.writeln('</FORM> ');
document.Gotchaform.query.focus()
}
function HandleForm(form){
var i
newq=""
oldq=form.query.value;
for (i=0; i<oldq.length; i++) { // compress [ ]+ into +
var thischar = oldq.charAt(i);
if (thischar =="+")newq += "%2B";
else
if (thischar != ' ')
newq += thischar;
else if (lastchar != ' ')
newq += '+';
lastchar = thischar;
}
var eng = engs[1+form.service.selectedIndex];
// Pencere
search=window.open(newq ? eng.pre_gotcha + newq + eng.post_gotcha : eng.home
"SmartSearch"
"scrollbars=yes
toolbar=yes
********=yes
directories=yes
status=yes
menubar=y es
resizable=yes
width='100%'
hight='100%'");
}Add("Google"
""
"http://www.google.com/"
"http://www.google.com/search?hl=tr&safe=off&q=hunt&btnG=Google%27da+Ara& lr=");
Add("Abonem"
""
"http://arama.abonem.com/"
"http://arama.abonem.com/ara.php?www=true&islem=hunt" );
Add("Yahoo!"
""
"http://www.yahoo.com/"
"http://search.yahoo.com/bin/search?p=hunt" );
Add("Kur'an'da"
""
"http://www.kuranadaara.com/"
"http://www.kurandaara.com/index.php3?konu=ara&ne=1&keyword=hunt&kisi=01&sure _no=");
DisplayForm();
</script>
</table></div>

</body></html>
 

Konuyu Görüntüleyen Kullanıcılar (Toplam:0)

Benzer konular Forum Tarih
bLack Teknoloji Haberleri 0 22

Benzer konular