Programalama > HTML

Etiketler: degisik, bir, slide, yazi., efektler

Ort. 3
Puan ver:
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1254">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>JavaFILE</title>
<base target="leftframe">
<style>
</head>

<body onload="StartHeadliner()" onunload="StopHeadliner()">

<p></style> <script language="JavaScript">

<!-- start hide

// Delay in milliseconds for the growing headliner

growWait=90



// Delay in milliseconds for the expanding headliner

expandWait=120



// Delay in milliseconds for the scrolling headliner

scrollWait=100



// Number of characters in scrolling zone for the scrolling headliner

scrollWidth=40



// Number of lines, specify as much as you want to use

lineMax=4

lines=new Array(lineMax)



// Define the lines (Text to display, url, effect, time to wait)

lines[1]=new Line("Meraba Sayın Webmaster Arkadaşım Bu Birinci Mesaj Bitmedi Dur", "http://www.adresonline.gen.tr.tc", Expand, 2000)

lines[2]=new Line("FREE Banners! FREE 3D Logos! FREE Fonts İstiyorsan! Click Here! Yani Tikla", "http://www.adresonline.gen.tr.tc", Scroll, 1000)

lines[3]=new Line("Program in JavaScript!Ve Dahasını İstiyorsan Yine Click Here!", "http://www.adresonline.gen.tr.tc", Static, 2500)

lines[4]=new Line("Hadi Bana email atın...Nedersiniz Hoş Olmazmı!", "mailto:sonturk@yenimail.com?subject=The Headliner&nobody@nobody.com", Grow, 3000)



// Some other variables (just don't change)

lineText=""

timerID=null

timerRunning=false

spaces=""

charNo=0

charMax=0

charMiddle=0

lineNo=0

lineWait=0



// Define line object

function Line(text, url, type, wait) {

	this.text=text

	this.url=url

	this.Display=type

	this.wait=wait

}



// Fill a string with n chars c

function StringFill(c, n) {

	s=""

	while (--n >= 0) {

		s+=c

	}

	return s

}



function Static() {

	document.formDisplay.buttonFace.value=this.text

	timerID=setTimeout("ShowNextLine()", this.wait)

}



function Grow() {

	lineText=this.text

	lineWait=this.wait

	charMax=lineText.length

	TextGrow()

}



function TextGrow() {

	if (charNo <= charMax) {

		document.formDisplay.buttonFace.value=lineText.substring(0, charNo)

		charNo++

		timerID=setTimeout("TextGrow()", growWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function Expand() {

	lineText=this.text

	charMax=lineText.length

	charMiddle=Math.round(charMax / 2)

	lineWait=this.wait

	TextExpand()

}



function TextExpand() {

	if (charNo <= charMiddle) {

		document.formDisplay.buttonFace.value=lineText.substring(charMiddle - charNo, charMiddle + charNo)

		charNo++

		timerID=setTimeout("TextExpand()", expandWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function Scroll() {

	spaces=StringFill(" ", scrollWidth)

	lineText=spaces+this.text

	charMax=lineText.length

	lineText+=spaces

	lineWait=this.wait

	TextScroll()

}



function TextScroll() {

	if (charNo <= charMax) {

		document.formDisplay.buttonFace.value=lineText.substring(charNo, scrollWidth+charNo)

		charNo++

		timerID=setTimeout("TextScroll()", scrollWait)

	}

	else {

		charNo=0

		timerID=setTimeout("ShowNextLine()", lineWait)

	}

}



function StartHeadliner() {

	StopHeadliner()

	timerID=setTimeout("ShowNextLine()", 1000)

	timerRunning=true

}



function StopHeadliner() {

	if (timerRunning) { 

		clearTimeout(timerID)

		timerRunning=false

	}

}



function ShowNextLine() {

	(lineNo < lineMax) ? lineNo++ : lineNo=1

	lines[lineNo].Display()

}



function GotoUrl(url)

{

	top.location.href=url

}

// end hide -->

</script> </p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><img
src="http://zevzek34.sitemynet.com/banner2.gif"
alt="Gençliğin Yeni Adres Portalı...!" border="0"></a> </p>

<form name="formDisplay">
    <p align="center"><input type="button" name="buttonFace"
    value="Unlimited - Limit Yok - Kaynak Çok"
    class="stHeadLiner" onclick="GotoUrl(lines[lineNo].url)"> </p>
</form>

<p align="center"><a href="http://www.adresonline.gen.tr.tc">Download
the Script</a></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
color="#FF0000" size="2" face="Verdana"><strong>Adres</strong></font><font
color="#0000FF" size="2" face="Verdana"><strong>Online</strong></font></a></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
size="2" face="Verdana"><strong>İnternet Kaynakları</strong></font></a></p>
</body>
</html>


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.