Now I’m going to share with you a google search page of your own. You can Edit the page, add links, or whatever else you like. Below is the code. This page will do a google search and return the results on the same page.
Just copy/paste the html below and insert it into a .html page. After that, you can give it a custom look if you like, add links, or cobrand it to look like your website. After you make it your own search page, you can also save it as the default search page for your pc or business computers simply by opening the page and in your browser click on tools/options/Click on the main tab, then click on “use current page” and it will be the default home page when users open a web browser on your designated computer. This can be useful for many applications because you can at any time edit the page on your server and the changes will be seen when the page is accessed by anyone that has this url saved as their default homepage.
The only change you need to make is this:
Look for this code below (form action=”http://www.livenetnow.com/search.html” id=”cse-search-box”>) And change the URL from (http://www.livenetnow.com/search.html) To what your naming your search page.
<——-Code Begins Below Here—->
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Google Search by Live Net Now LLC</title>
<style type=”text/css”>
<!–
.style2 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.style3 { color: #FF0000;
font-weight: bold;
}
–>
</style>
</head>
<body><div align=”center”>
<table width=”695″ border=”0″ align=”center”><tr><td valign=”top”><table width=”695″ border=”0″ align=”center”>
<tr>
<td valign=”top”><div align=”center”>
<table width=”695″ border=”0″ align=”center”>
<tr>
<td height=”107″ valign=”top”> </td>
<td valign=”top”><p align=”center”> <br />
<img src=”images/logo.gif” width=”276″ height=”110″ /><br />
<style type=”text/css”>
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div style=”background-color:#FFFFFF; color:#000000″>
<div>
<form action=”http://www.livenetnow.com/search.html” id=”cse-search-box”>
<div>
<div align=”center”>
<input type=”hidden” name=”cx” value=”partner-pub-8922664653339479:8rsl4wf0oq1″ />
<input type=”hidden” name=”cof” value=”FORID:10″ />
<input type=”hidden” name=”ie” value=”ISO-8859-1″ />
<input type=”text” name=”q” size=”31″ />
<input type=”submit” name=”sa” value=”Search” />
</div>
</div>
</form>
</div>
<div>
<div align=”center”></div>
</div>
<div></div>
</div></td>
<td valign=”top”> </td>
</tr>
<tr>
<td height=”454″ valign=”top”> </td>
<td valign=”top”><div align=”center”>
<div id=”cse-search-results”>
<p> </p>
</div>
<script type=”text/javascript”>
var googleSearchIframeName = “cse-search-results”;
var googleSearchFormName = “cse-search-box”;
var googleSearchFrameWidth = 300;
var googleSearchDomain = “www.google.com”;
var googleSearchPath = “/cse”;
</script>
<script type=”text/javascript” src=”http://www.google.com/afsonline/show_afs_search.js”></script>
</div></td>
<td valign=”top”> </td>
</tr>
<tr>
<td width=”13″ height=”201″ valign=”top”><h1 span> </h1></td>
<td width=”652″ valign=”top”><p> </p>
<p> </p>
<p> </p>
<p align=”center”><style type=”text/css”>
@import url(http://www.google.com/cse/api/branding.css);
</style>
<div style=”background-color:#FFFFFF; color:#000000″>
<div>
<form action=”http://www.livenetnow.com/search.html” id=”cse-search-box”>
<div>
<div align=”center”>
<input type=”hidden” name=”cx” value=”partner-pub-8922664653339479:8rsl4wf0oq1″ />
<input type=”hidden” name=”cof” value=”FORID:10″ />
<input type=”hidden” name=”ie” value=”ISO-8859-1″ />
<input type=”text” name=”q” size=”31″ />
<input type=”submit” name=”sa” value=”Search” />
</div>
</div>
</form>
</div>
<div> </div>
<div></div>
</div>
</td>
<td width=”16″ valign=”top”> </td>
</tr>
</table>
</div></td>
</tr>
</table> <p align=”center”></td>
</tr>
</table>
</div>
</body>
</html>
<——–Code Ends Above Here——>
I hope you enjoy this code,
Carlo DiTucci
CEO/President
http://www.LiveNetNow.com
Web Design/Web Hosting/SEO
529 One Center Blvd. Suite 211
Altamonte Springs Florida 32701
carlo@livenetnow.com
(407)-953-5167
Filed under: google, HTML, JAVA Tagged: | custom google search, google code, google search