Google, Msn, Yahoo search on your web
Page 1 of 1
Google, Msn, Yahoo search on your web
- Code:
<!-- This Script is from www.freecodescript.com, Coded by: Krishna Eydatoula, Mahmood Bina-->
<!--<body>-->
<form name="js4ir" action="http://www.google.com/search" method="get" onSubmit="jksitesearch(this)">
<input id="hiddenquery" type="hidden" name="q">
<input name="qfront" type="text" style="width: 200px" value=""> <input type="submit" value="Search"><br>
<div style="font: bold 11px Verdana;">
Google:<input name="se" type="radio" checked>
Yahoo:<input name="se" type="radio">
MSN:<input name="se" type="radio">
</div>
<script language="javascript" link="www.htmlfreecodes.com">
var domainroot=""
var searchaction=[ "http://www.google.com/search","http://search.yahoo.com/search","http://search.msn.com/results.aspx"]
var queryfieldname=["q","p","q"]
function switchaction(cur, index){
cur.form.action=searchaction[index]
document.getElementById("hiddenquery").name=queryfieldname[index]
}
function jksitesearch(curobj){
for (i=0; i< document.htmlfreecodes.se.length; i++){
if (document.js4ir.se[i].checked==true)
switchaction(document.htmlfreecodes.se[i], i)
}
document.getElementById("hiddenquery").value=""+domainroot+" "+curobj.qfront.value
}
</script>
</form>
<!--</body>-->
<br><font face="Tahoma"><a target="_blank" href="http://www.freecodescript.com/"><span style="font-size: 8pt; text-decoration: none">Free Code Script</span></a></font>
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum