hallo!
was ich machen möchte ist folgendes:
im right:
ein textfeld und danach ein button....
text eingeben und button klick und im MAIN soll das gefundene google, lycos, bzw. yahoo ergebnis angezeigt werden.. (für yahoo und lycos mache ich e andere buttons und textfelder noch.. :)
habt ihr eine idee we ich das OHNE php oder sowas hinbekomme..
danke schon mal
mfg
herbert
ps.:
head:
<script language="javascript">
myreg=new RegExp("(cwsurf.de|beerdrinkers.eu)","i");
if ( !myreg.test("'"+top.location+"'")) {
nwreg=new RegExp ("http://([^/]+)?(/([a-z0-9A-Z-\_]+)?[^']+)","i");
rn=nwreg.exec("'"+self.location+"'");
if (parent.frames.length==2) { top.location="http://" + rn[1] + rn[2]; }
else { top.location="http://" + rn[1] + "/" + rn[3]; }
}
if(window == window.top) {
var address=window.location;
var s='<html><head><title>'+'</title></head>'+
'<frameset cols="*,142" frameborder="0" border="0" framespacing="0" onload="return true;" onunload="return true;">'+
'<frame src="'+address+'?" name="CwMemberPage" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'<frame src="http://community.cwsurf.de/advertisements/frame/ad.php?u_id=intgrp06&u_url='+escape(address)+'" name="CwCityAd" marginwidth="0" marginheight="0" scrolling="auto" noresize>'+
'</frameset>'+
'</html>';
document.write(s);
}
</script>
body:
<tbody><tr align="center">
<table bgcolor="darkblue" border="1" width="100%">
<tbody><tr align="center">
<td height="20"><a target="_blank">SEARCH ENGINES</a></td>
</tr>
</table>
<br>
Lycos:
<br>
<table Border = 1 width = 50%>
<tr>
<td align = center>
<form target="_blank" action=http://suche.lycos.de/cgi-bin/pursuit method=get >
<P>
<select name = cat>
<option select value = "lycos">Gesamt
<option value = "graphics"> Bilder
<option value = "sounds">Musik
</select>
Suchbegriff:
<Input type = text name = quary value ="" size = 15> <input type = submit value = "Suche starten!"></P>
</table>
<form method="get" action="http://www.google.de/custom" target="_blank">
<table border="0" width="138" cellpadding="0" cellspacing="0" align="center" class="navigation">
<tr>
<td width="138" align="center"><div align="center"><span class="style1">Google suche:</span></div></td>
</tr>
<tr>
<td valign="top" align="center" height="32"><input type="hidden" name="client" value="pub-8000940427139377">
<input type="hidden" name="forid" value="1">
<input type="hidden" name="ie" value="ISO-8859-1">
<input type="text" name="q" size="30" maxlength="255" style="border:1px solid; background-color:#FFFFFF; border-color:#000000; font-size:8pt; color:#000000;" value="">
<input type="hidden" name="oe" value="ISO-8859-1">
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;">
<input type="hidden" name="hl" value="de">
<p>
<input type="submit" border="0" name="sa" style="font-size:9pt" value="Suchen" align="absmiddle">
</p>
</tr>
</table>
</form>
<form action="http://search.yahoo.com/search" method=get target="_top" style="border:1px solid #999; padding:5px;/*/*/width:160px;/**/">
<center>
<a href="http://search.yahoo.com/">
<img src="http://us.i1.yimg.com/us.yimg.com/i/us/search/ysan/ysanlogo.gif" border=0></a><br>
<input type="text" name="p" size=19 style="margin-top: 10px"><br>
<input type="hidden" name="fr" value="yscpb">
<input type="submit" value="Search" style="margin-top: 10px">
</center>
</form>