Arama Butonun Sayfayla Birlikte Hareket Etmesini istiyorum sayfayı indirdiğimde butonda sayfayla birlikte gelecek kod
Kod:
<script>
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
<script>
function showForm() {
oDiv = document.getElementById('aramamotoru');
oDiv.style.display='block';
return false;
}
function hideForm() {
oDiv = document.getElementById('aramamotoru');
oDiv.style.display='none';
return false;
}
</script>
<style>
a.aramamotoru{
position: absolute;
top: 70px;
right: 15px;
text-transform:uppercase;
z-index: 1;
}
#aramamotoru {
display:none;
position:absolute;
margin-left: auto;
margin-right: auto;
top: 35%;
left: 35%;
width:315px;
height: 135px;
text-align: left;
background-image: url(http://hfserver1.googlepages.com/searchbox.png);
padding: 15px 0 0 17px;
z-index: 1;
}
</style>
<p>
<a onclick="return showForm();" href="file:///C:/Users/Hüseyin/Desktop/search.htm" class="aramamotoru" title="Site içi arama"><img src="http://img.webme.com/pic/h/hackerfriend/arama.png" border="0" /></a></p>
<div id="aramamotoru" style="position: absolute; left: 369px; top: 202px; width: 314px; height:133px">
<br/>
<form name="google" action="http://www.google.com/custom" method="get">
<input type=hidden name=sitesearch value="www.catlak-dunya.tr.gg">
<INPUT type=hidden name=sa VALUE="Google Search">
<input type="text" name="q" size="26" length="64" class="search" value="" style="font-family: Verdana; font-size: 13px; border: 1px solid #C0C0C0">
<input type="submit" class="Arama" value="Arama" style="font-family: Verdana; font-size: 13px; border: 1px solid #C0C0C0">
</form>
</div>
______________
@tr.gg dısı link yasaktır