Buton kodları
ALARMLI BUTON
Kod:<CENTER>
<FORM>
<INPUT TYPE="button" VALUE="Buraya İstediğiniz Metni Yazabilirsiniz." onClick='alert("Burayada Yazın Ne Olcak Sanki , Bir hata oluştu bilgisayarınıza format atmak zorunda kaldık
)))")'>
</FORM>
</CENTER>
BUTON 1
Kod:<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Premshree Pillai (premshree( at )hotmail.com ) -->
<!-- Begin
count=0;
var inv_button_flag=0;
if (navigator.appName=="Microsoft Internet Explorer" || (navigator.appName=="Netscape" && navigator.appVersion >= "5"))
{
document.write('<form name="qiksearch_ticker"><input type="button" name="qiksearch_ticker" onclick="goURL();" style="background:#FFFFFF; width:377; height:22; border-width:1; border-color:#000000; cursor:hand" onmouseover="this.style.background='#BDDCFF';retur n true" onmouseout="this.style.background='#FFFFFF';return true" onmousedown="this.style.background='#FFD543';retur n true"><input type="button" value="5" onclick="javascript:inv_button();inv_msg();inv_URL ();" style="width:22; height:22; font-family:webdings; background:#FFFFFF; border-left-width:0; border-right-width:1px; border-top-width:1px; border-bottom-width:1px; border-color:#000000; cursor:hand" name="inv_but" title="Yukarı Çevirmek için Tıkla"></form>');
}
else
{
document.write('<form name="qiksearch_ticker"><input type="button" name="qiksearch_ticker" onclick="goURL();" width="349" border="0"><input type="button" width="50" value="up" onclick="javascript:inv_button();inv_msg();inv_URL ();" name="inv_but"></form>');
}
var ticker_speed=1;
// Ticker messages
var ticker_msg = new Array(
"www.javascriptbankasi.com.tr.tc sitesine hoşgeldiniz.",
"Javascript Bankası programını",
"Beğendiniz mi?",
"Bize javascript göndermek için",
"Sitemize Uğrayın" ); // No comma after last ticker msg
// Ticker URLs
var ticker_url = new Array(
"http://www.javascriptbankasi.com.tr.tc",
"http://www.javascriptbankasi.com.tr.tc",
"http://www.javascriptbankasi.com.tr.tc",
"http://www.javascriptbankasi.com.tr.tc",
"http://www.javascriptbankasi.com.tr.tc" ); // No comma after last ticker url
function tick()
{
if(count<ticker_msg.length)
{
this.document.qiksearch_ticker.qiksearch_ticker.va lue=ticker_msg[count];
count++;
if(count==ticker_msg.length)
{
count=0;
}
setTimeout("tick();",ticker_speed*1000);
}
}
function goURL()
{
if(this.document.qiksearch_ticker.qiksearch_ticker .value==ticker_msg[ticker_msg.length-1])
{
location.href=ticker_url[ticker_msg.length-1];
}
else
{
location.href=ticker_url[count-1];
}
}
function inv_button()
{
if (navigator.appName=="Microsoft Internet Explorer" || (navigator.appName=="Netscape" && navigator.appVersion >= "5"))
{
if (inv_button_flag==0)
{
this.document.qiksearch_ticker.inv_but.value="6";
this.document.qiksearch_ticker.inv_but.title="Aşşa ğı Çevirmek için Tıkla";
inv_button_flag=1;
}
else
{
this.document.qiksearch_ticker.inv_but.value="5";
this.document.qiksearch_ticker.inv_but.title="Yuka rı Çevirmek için Tıkla";
inv_button_flag=0;
}
}
else
{
if (inv_button_flag==0)
{
this.document.qiksearch_ticker.inv_but.value="Down ";
inv_button_flag=1;
}
else
{
this.document.qiksearch_ticker.inv_but.value="Up";
inv_button_flag=0;
}
}
}
function inv_msg()
{
for(var i=0;i<Math.floor(ticker_msg.length/2);i++)
{
var temp=ticker_msg[i];
ticker_msg[i]=ticker_msg[ticker_msg.length-1-i];
ticker_msg[ticker_msg.length-1-i]=temp;
}
}
function inv_URL()
{
for(var i=0;i<Math.floor(ticker_msg.length/2);i++)
{
var temp=ticker_url[i];
ticker_url[i]=ticker_url[ticker_msg.length-1-i];
ticker_url[ticker_msg.length-1-i]=temp;
}
}
tick();
// End -->
</script>
BUTON 2
Kod:<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Happy Smart -->
<!-- Begin
var message=" Javascript Bankası ";//Put Your Message Here
function ButtonURL(){
window.location="test.html"
}
function scroll()
{
message = message.substring(1,message.length) + message.substring(0,1);
document.bs.bs.value = message;
setTimeout("scroll()",140);
}
window.onload=scroll
document.write('<style type="text/css">')
document.write('.select{background: blue;border-color:"yellow";color:"white";font-family:Arial,Helvetica,Verdana;font-size:10pt;font-weight: bold;}')
document.write('</STYLE>')
document.write('<form name=bs><INPUT class="select" TYPE="button" NAME="bs" value="" onclick="ButtonURL()"></FORM>') // End -->
</script>
GERİDÖN BUTONU
Kod:<input onclick="history.back();" type="button" value="<<geri dön">
UZAYIP KISALAN BUTON
Kod:<SCRIPT LANGUAGE="JavaScript">
<!--
var timerID = null
var timerRunning = false
var charNo = 0
var charMax = 0
var lineNo = 0
var lineMax = 2 // number of URL's you will use
var lineArr = new Array(lineMax)
var urlArr = new Array(lineMax)
lineArr[1] = "Geri Dön......."
urlArr[1] = "java2.htm"
lineArr[2] = "Ana Menü......."
urlArr[2] = "main.htm"
var lineText = lineArr[1]
function StartShow() {
StopShow()
ShowLine()
timerRunning = true
}
function FillSpaces() {
for (var i = 1; i <= lineWidth; i++) {
spaces += " "
}
}
function StopShow() {
if (timerRunning) {
clearTimeout(timerID)
timerRunning = false
}
}
function ShowLine() {
if (charNo == 0) { // Next line
if (lineNo < lineMax) {
lineNo++
}
else {
lineNo = 1
}
lineText = lineArr[lineNo]
charMax = lineText.length
}
if (charNo <= charMax) { // Next char
document.formDisplay.buttonFace.value = lineText.substring(0, charNo)
charNo++
timerID = setTimeout("ShowLine()", 100)
}
else {
charNo = 0
timerID = setTimeout("ShowLine()", 3000)
}
}
function GotoUrl(url)
{
top.location.href = url
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
document.write("<FORM NAME=\"formDisplay\">");
document.write("<INPUT TYPE=\"BUTTON\" NAME=\"buttonFace\" VALUE=\"&{lineText}\" SIZE=\"18\" onClick=\"GotoUrl(urlArr[lineNo])\">");
document.write("</FORM>");
StartShow();
//-->
</SCRIPT>
<a name='e2598254'></a>
<IfesAllowed><div class='author'><%%></div></IfesAllowed>
<FORM action=https://ett.turktelekom.com.tr/etts/genel method=post target=_blank><INPUT type=hidden value=aktifAboneFaturalari name=method>
<TABLE width="98%" border=0>
<TBODY>
<TR>
<TD width="50%" height=15>
<HR>
</TD></TR>
<TR>
<TD align=middle><FONT color=#33ff33 size=+1><B>TÜRK TELEKOM FATURA SORGULAMA</B></FONT></TD></TR>
<TR>
<TD height=5><FONT color=#33ff33></FONT></TD></TR>
<TR>
<TD align=middle><FONT color=#33ff33><B>HizmetNo:</B> </FONT><INPUT maxLength=20 value="tlf yazınız.." name=hizmetNo><FONT color=#33ff33> </FONT></TD></TR>
<TR>
<TD align=middle><FONT color=#33ff33><FONT size=-1>Ör: Telefon hizmeti için: <U>312</U>1234567</FONT> </FONT></TD></TR>
<TR>
<TD height=5><FONT color=#33ff33></FONT></TD></TR>
<TR>
<TD align=middle><FONT size=-2><FONT color=#33ff33><U>Aşağıdaki resimde görülen güvenlik kodunu giriniz:</U> </FONT></FONT></TD></TR>
<TR>
<TD align=middle><INPUT style="WIDTH: 76px; HEIGHT: 22px" maxLength=6 size=6 name=guvenlikKodu><FONT color=#33ff33> <IMG height=30 alt="" src="https://ett.turktelekom.com.tr/etts/images/guvenlikKodu.jsp" width=60 align=top> </FONT></TD></TR>
<TR>
<TD align=middle><INPUT class=button type=submit value=Sorgula name=test><FONT color=#33ff33> </FONT><INPUT class=button onclick="location_dot_href='https://ett.turktelekom.com.tr/'" type=button value=Vazgeç name=test><FONT color=#33ff33> </FONT></TD></TR>
<TR>
<TD height=10><FONT color=#33ff33></FONT></TD></TR>
<TR>
<TD align=middle><FONT color=#33ff33><FONT size=-1>Soru ve Sorunlarınız için 444 1 444'ü arayınız.</FONT>