1. Go to Hive \Web Server Extensions\14\TEMPLATE\ LAYOUTS\
2.. Create folder called Custom\goole.html
<html>
<form method="get" action="http://www.google.com/search" target='_blank'>
<div style="padding:4px; vertical-align:middle; ">
<table border="0" cellpadding="0" cellspacing="0" >
<tr><td valign="bottom" style=" height:75px; ">
<table cellpadding="0" cellspacing="0"><tr><td valign="middle" style="height:35px">
<input type="text" name="q" size="25"
maxlength="255" value="" />
</td><td>
<input type="image" value="Google Search" src="/_LAYOUTS/style/Images/Cute-Ball-Search-icon.png"/>
</td></tr></table>
</td>
</tr>
</table>
</div>
</form>
</html>
3.Add a Page Viewer web part add the following paths. /_layouts/Custom.google.html.
2.. Create folder called Custom\goole.html
Copy the following code into Google.html
<form method="get" action="http://www.google.com/search" target='_blank'>
<div style="padding:4px; vertical-align:middle; ">
<table border="0" cellpadding="0" cellspacing="0" >
<tr><td valign="bottom" style=" height:75px; ">
<table cellpadding="0" cellspacing="0"><tr><td valign="middle" style="height:35px">
<input type="text" name="q" size="25"
maxlength="255" value="" />
</td><td>
<input type="image" value="Google Search" src="/_LAYOUTS/style/Images/Cute-Ball-Search-icon.png"/>
</td></tr></table>
</td>
</tr>
</table>
</div>
</form>
</html>
3.Add a Page Viewer web part add the following paths. /_layouts/Custom.google.html.
No comments:
Post a Comment