Yazar |
Mesaj |
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
18.09.2012, 12:47 (UTC) Mesaj konusu: |
|
|
Sağ Tuş Engelleme
Kod: <script>
browserName = navigator.appName
browserVersion = parseInt(navigator.appVersion)
document.onmousedown = checkforRightMouseButtonClick;
if (browserVersion<5 && browserName=="Netscape")
{
window.onmousedown = checkforRightMouseButtonClick;
}
function rightClickPressed()
{
alert("Bu Sitede Sağ Tıklamak Yasaktır!");
}
function checkforRightMouseButtonClick(mouseEvent)
{
if ( ((browserName=="Microsoft Internet Explorer") && (event.button >1)) ||
((browserName=="Ne tscape") && (mouseEvent.which > 1)) )
{
rightClickPressed()
return false;
}
else
return true;
}
</script> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:25 (UTC) Mesaj konusu: |
|
|
Hareketli Yazı
Kod: <script LANGUAGE="JavaScript" FPTYPE="dynamicanimation">
<!--
// If you want to change this script, you must also make the following
// changes so that FrontPage will not overwrite your new script.
// In the script tag, change type="dynamicanimation" to type="mydynamicanimation"
// In the first script statement, change "dynamicanimation" to "mydynamicanimation"
// Throughout the HTML content, change dynamicanimation= to mydynamicanimation=
// Change function dynAnimation to function mydynAnimation
// In the body tag, change onload="dynAnimation()" to onload="mydynAnimation()"
dynamicanimAttr = "dynamicanimation"
animateElements = new Array()
currentElement = 0
speed = 0
stepsZoom = 8
stepsWord = 8
stepsFly = 12
stepsSpiral = 16
steps = stepsZoom
step = 0
outString = ""
function dynAnimation()
{
var ms = navigator.appVersion.indexOf("MSIE")
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
if(!ie4)
{
if((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion.substring(0, 1)) >= 4))
{
for (index=document.layers.length-1; index >= 0; index--)
{
layer=document.layers[index]
if (layer.left==10000)
layer.left=0
}
}
return
}
for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
{
el = document.all[index]
animation = el.getAttribute(dynamicanimAttr, false)
if(null != animation)
{
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
{
ih = el.innerHTML
outString = ""
i1 = 0
iend = ih.length
while(true)
{
i2 = startWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, false, "")
if(i2 == iend)
break
i1 = i2
i2 = endWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, true, animation)
if(i2 == iend)
break
i1 = i2
}
document.all[index].innerHTML = outString
document.all[index].style.posLeft = 0
document.all[index].setAttribute(dynamicanimAttr, null)
}
if(animation == "zoomIn" || animation == "zoomOut")
{
ih = el.innerHTML
outString = "<SPAN " + dynamicanimAttr + "="" + animation + "" style="position: relative; left: 10000;">"
outString += ih
outString += "</SPAN>"
document.all[index].innerHTML = outString
document.all[index].style.posLeft = 0
document.all[index].setAttribute(dynamicanimAttr, null)
}
}
}
i = 0
for (index=document.body.sourceIndex; index < document.all.length; index++)
{
el = document.all[index]
animation = el.getAttribute(dynamicanimAttr, false)
if (null != animation)
{
if(animation == "flyLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyRight")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyTop" || animation == "dropWord")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottom")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyTopLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyTopRight" || animation == "flyTopRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottomLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "spiral")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "zoomIn")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else if(animation == "zoomOut")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
el.initLeft = el.style.posLeft
el.initTop = el.style.posTop
animateElements[i++] = el
}
}
window.setTimeout("animate();", speed)
}
function offsetLeft(el)
{
x = el.offsetLeft
for (e = el.offsetParent; e; e = e.offsetParent)
x += e.offsetLeft;
return x
}
function offsetTop(el)
{
y = el.offsetTop
for (e = el.offsetParent; e; e = e.offsetParent)
y += e.offsetTop;
return y
}
function startWord(ih, i)
{
for(tag = false; i < ih.length; i++)
{
c = ih.charAt(i)
if(c == '<')
tag = true
if(!tag)
return i
if(c == '>')
tag = false
}
return -1
}
function endWord(ih, i)
{
nonSpace = false
space = false
while(i < ih.length)
{
c = ih.charAt(i)
if(c != ' ')
nonSpace = true
if(nonSpace && c == ' ')
space = true
if(c == '<')
return i
if(space && c != ' ')
return i
i++
}
return -1
}
function outWord(ih, i1, i2, dyn, anim)
{
if(dyn)
outString += "<SPAN " + dynamicanimAttr + "="" + anim + "" style="position: relative; left: 10000;">"
outString += ih.substring(i1, i2)
if(dyn)
outString += "</SPAN>"
}
function animate()
{
el = animateElements[currentElement]
animation = el.getAttribute(dynamicanimAttr, false)
step++
if(animation == "spiral")
{
steps = stepsSpiral
v = step/steps
rf = 1.0 - v
t = v * 2.0*Math.PI
rx = Math.max(Math.abs(el.initLeft), 200)
ry = Math.max(Math.abs(el.initTop), 200)
el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
el.style.posTop = Math.ceil(-rf*Math.sin(t)*ry)
}
else if(animation == "zoomIn")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
el.style.posLeft = 0
}
else if(animation == "zoomOut")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
el.style.posLeft = 0
}
else
{
steps = stepsFly
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
steps = stepsWord
dl = el.initLeft / steps
dt = el.initTop / steps
el.style.posLeft = el.style.posLeft - dl
el.style.posTop = el.style.posTop - dt
}
if (step >= steps)
{
el.style.posLeft = 0
el.style.posTop = 0
currentElement++
step = 0
}
if(currentElement < animateElements.length)
window.setTimeout("animate();", speed)
}
//-->
</script></head>
<body topmargin="0" leftmargin="0" onload="dynAnimation()">
<p dynamicanimation="flyBottom"
style="position: relative !important; left: 10000 !important"><font face="Verdana,Arial"
color="#0000A0"><strong><big><big><big>ScriptWorx</big></big></big></strong></font></p>
<p dynamicanimation="flyTop" style="position: relative !important; left: 10000 !important"><font
face="Verdana,Arial" size="2" color="#0000FF"><strong><em>Coding Your Way</em></strong></font></p> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:26 (UTC) Mesaj konusu: |
|
|
Hesap Makinesi
Kod: <SCRIPT LANGUAGE="JAVASCRIPT">
<!--
function Oblicz(Objec) {
Objec.domesum.value = eval(Objec.expr.value)
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<form name="Calculator">
<pre>
Sum:
<BR><input type="text" name="expr" size="20">
End Product:
<input type="text" name="domesum" size="20">
<input type="button" name="B1"
value=" Calculate "
onClick="Oblicz(this.form)"
</pre>
</form> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:26 (UTC) Mesaj konusu: |
|
|
Hareketli Menü
Kod: <HTML>
<HEAD>
<TITLE>Insert Your Title</TITLE>
<META name="Generator" content="Soft Lite ScriptWorx 4.0">
<style>
<!--
#slidemenubar, #slidemenubar2{
position:absolute;
left:-155px;
width:160px;
top:170px;
border:1.5px solid navy;
background-color:lightblue;
layer-background-color:lightblue;
font:bold 12px Verdana;
line-height:20px;
}
-->
</style>
</HEAD>
<BODY topmargin="0" leftmargin="0" link="#0000FF" vlink="#800080" alink="#FF0000">
<!-- Type your text here //-->
<script language="JavaScript1.2">
/*
Sliding Menu Bar Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/
if (document.all)
document.write('<div id="slidemenubar2" style="left:-150" onMouseover="pull()" onMouseout="draw()">')
</script>
<layer id="slidemenubar" onMouseover="pull()" onMouseout="draw()">
<script language="JavaScript1.2">
var sitems=new Array()
var sitemlinks=new Array()
//extend or shorten this list
sitems[0]="Home"
sitems[1]="Take our survey!"
sitems[2]="Menus And Navigation"
sitems[3]="Document Effects"
sitems[4]="Scrollers"
sitems[5]="Image Effects"
sitems[6]="Links And Buttons"
sitems[7]="Dynamic Clocks & Dates"
sitems[8]="Text Animations"
sitems[9]="Browser Window"
sitems[10]="User System Information"
sitems[11]="Cascading Style Sheets"
sitems[12]="Other"
//These are the links pertaining to the above text.
sitemlinks[0]="../test.htm"
sitemlinks[1]=".."
sitemlinks[2]="../dynamicindex1/index.html"
sitemlinks[3]="../dynamicindex3/index.html"
sitemlinks[4]="../dynamicindex2/index.html"
sitemlinks[5]="../dynamicindex4/index.html"
sitemlinks[6]="../dynamicindex5/index.html"
sitemlinks[7]="../dynamicindex6/index.html"
sitemlinks[8]="../dynamicindex10/index.html"
sitemlinks[9]="../dynamicindex8/index.html"
sitemlinks[10]="../dynamicindex9/index.html"
sitemlinks[11]="../dynamicindex7/index.html"
sitemlinks[12]="../dynamicindex11/index.html"
for (i=0;i<=sitems.length-1;i++)
document.write('<a href='+sitemlinks[i]+'>'+sitems[i]+'</a><br>')
</script>
</layer>
<script language="JavaScript1.2">
function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}
window.onload=regenerate2
if (document.all){
document.write('</div>')
themenu=document.all.slidemenubar2.style
rightboundary=0
leftboundary=-150
}
else{
themenu=document.layers.slidemenubar
rightboundary=150
leftboundary=10
}
function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",50)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",50)
}
function pullengine(){
if (document.all&&themenu.pixelLeft<rightboundary)
themenu.pixelLeft+=5
else if(document.layers&&themenu.left<rightboundary)
themenu.left+=5
else if (window.pullit)
clearInterval(pullit)
}
function drawengine(){
if (document.all&&themenu.pixelLeft>leftboundary)
themenu.pixelLeft-=5
else if(document.layers&&themenu.left>leftboundary)
themenu.left-=5
else if (window.drawit)
clearInterval(drawit)
}
</script>
</BODY>
</HTML>
|
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:27 (UTC) Mesaj konusu: |
|
|
Renk Değiştiren Text
Kod: <HTML>
<HEAD>
<TITLE>Insert Your Title</TITLE>
<META name="Generator" content="Soft Lite ScriptWorx 3.0">
</HEAD>
<BODY topmargin="0" leftmargin="0" link="#0000FF" vlink="#800080" alink="#FF0000">
<!-- Type your text here //-->
<SCRIPT LANGUAGE="JavaScript">
<!--
//enter the message you wish to be shown, including html tags
var message='<b><font color=000000 size=5>www.kimim.com</font></b>'
//enter a color name to be used as the background color of the message
var backgroundcolor="yellow"
//enter 0 for always display, 1 for a set period, 2 for random display mode
var displaymode=0
//if displaymode is set to display for a set period, enter the period below (1000=1 sec)
var displayduration=10000
//enter 0 for non-flashing message, 1 for flashing
var flashmode=1
//if above is set to flashing, enter the flash-to color below
var flashtocolor="lightgreen"
function regenerate(){
window.location.reload()
}
var which=0
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",400)
}
function display2(){
if (document.layers){
if (topmsg.visibility=="show")
topmsg.visibility="hide"
else
topmsg.visibility="show"
}
else if (document.all){
if (topmsg.style.visibility=="visible")
topmsg.style.visibility="hidden"
else
topmsg.style.visibility="visible"
setTimeout("display2()",Math.round(Math.random()*10000)+10000)
}
}
function flash(){
if (which==0){
if (document.layers)
topmsg.bgColor=flashtocolor
else
topmsg.style.backgroundColor=flashtocolor
which=1
}
else{
if (document.layers)
topmsg.bgColor=backgroundcolor
else
topmsg.style.backgroundColor=backgroundcolor
which=0
}
}
if (document.all){
document.write('<span id="topmsg" style="position:absolute;visibility:hidden">'+message+'</span>')
}
function logoit(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
}
function logoit2(){
topmsg.left=pageXOffset+window.innerWidth/2-topmsg.document.width/2
topmsg.top=pageYOffset+window.innerHeight-topmsg.document.height-5
setTimeout("logoit2()",90)
}
function setmessage(){
document.all.topmsg.style.left=document.body.scrollLeft+document.body.clientWidth/2-document.all.topmsg.offsetWidth/2
document.all.topmsg.style.top=document.body.scrollTop+document.body.clientHeight-document.all.topmsg.offsetHeight-4
document.all.topmsg.style.backgroundColor=backgroundcolor
document.all.topmsg.style.visibility="visible"
if (displaymode==1)
setTimeout("topmsg.style.visibility='hidden'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
window.onscroll=logoit
window.onresize=new Function("window.location.reload()")
}
function setmessage2(){
topmsg=new Layer(window.innerWidth)
topmsg.bgColor=backgroundcolor
regenerate2()
topmsg.document.write(message)
topmsg.document.close()
logoit2()
topmsg.visibility="show"
if (displaymode==1)
setTimeout("topmsg.visibility='hide'",displayduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
}
if (document.layers)
window.onload=setmessage2
else if (document.all)
window.onload=setmessage
//-->
</SCRIPT>
</BODY>
</HTML>
|
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:27 (UTC) Mesaj konusu: |
|
|
Ziyaretçiyi Selamlama
Kod: <SCRIPT LANGUAGE="JavaScript">
<!--
function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=document.cookie.length;
var i=0;
while (i<clen) {
var j=i+alen;
if
(document.cookie.substring(i,j)==arg)
return "here";
i=document.cookie.indexOf(" ",i)+1;
if (i==0) break;
}
return null;
}
var visit=GetCookie("shant");
if (visit==null){
alert("Hoşgeldiniz...");
var expire=new Date();
expire=new
Date(expire.getTime()+7776000000);
document.cookie="shant=here; expires="+expire;
}
// -->
</SCRIPT> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:30 (UTC) Mesaj konusu: |
|
|
Açılır Menü
---------- Bu kisim Sayfanin <head>..</head> etiketleri arasina gelecek ----------
Kod: <SCRIPT LANGUAGE="JavaScript">
<!--
function jumpBox(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
//-->
</SCRIPT>
---------- Bu kisim menüyü koymak istediginiz yere gelecek ----------
Kod: <FORM NAME="form">
<SELECT NAME="site" size=1 onChange="javascript:jumpBox()">
<OPTION VALUE="">Menü
<OPTION VALUE="http://www.mydesign.gen.tr">mydesign.gen.tr
<OPTION VALUE="http://www.d0gma.org">D0gma.org
</SELECT>
</FORM> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:31 (UTC) Mesaj konusu: |
|
|
Altın Fiyatları
Kod: <script type="text/javascript">
var altin_birimleri="Y22-C";
var arka_plan="FFFFFF";
var cerceve="333333";
var kutucuk="FFFFFF";
var piyasa_baslik="FFFFFF";
var tur_baslik="999999";
var fiyat_baslik="CC3300";
var kutu_kose="oval";
var genislik="120";
var baglanti="acik";
var paylasim="kapali";
</script>
<div style="width:120px;font-size:12px;text-align:right;"><a name="altinpiyasa" target="_blank" href="http://altin.piyasadoviz.com/fiyat">altın</a></div><script type="text/javascript" charset="iso-8859-9" src="http://eklenti.piyasadoviz.com/altin.js"></script> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:31 (UTC) Mesaj konusu: |
|
|
Arkaplan müziği
Kod: <!-- START MUSIC CODE -->
<script language="JavaScript" type="text/javascript">
if (navigator.appName == "Microsoft Internet Explorer") {
document.write('<bgsound src="background.mid" LOOP="true">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="background.mid" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="1" HEIGHT="1" WIDTH="1" loop="true"><br>');
}
// End -->
</script>
<!-- END MUSIC CODE --> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:32 (UTC) Mesaj konusu: |
|
|
Aşağıdan yukarı kayan web sayfası (Marquee değildir)
Kod: <html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<title>Aşağıdan Yukarı Kayan Web Sayfası</title>
</head>
<body bgcolor="#FFFFFF">
<p align="center"><!--webbot bot="HTMLMarkup" startspan --><script language="JavaScript1.2">
//kayma hızı aşağıdan değiştirilecek
var speed=1
//_________________//
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function iecompattest(){
return (document.compatMode!="BackCompat")? document.documentElement : document.body
}
function scrollwindow(){
if (document.all)
temp=iecompattest().scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=iecompattest().scrollTop+speed
else
currentpos=window.pageYOffset+speed
window.scroll(0,currentpos)
}
else{
currentpos=0
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",10)
}
window.onload=initialize
</script><!--webbot bot="HTMLMarkup"
endspan --></p>
<div align="center"><center>
<table border="0" width="100%" cellspacing="3" cellpadding="0" bgcolor="#008000">
<tr>
<td width="100%"><div align="center"><center><table border="0" width="100%"
bgcolor="#FFFFFF" cellspacing="3" cellpadding="0">
<tr>
<td width="100%" valign="top" align="left">
<iframe src="http://ksabitk.awardspace.com" scrolling="no" width="100%" height="825"></iframe>
<iframe src="http://ksabitk.awardspace.com" scrolling="no" width="100%" height="825"></iframe>
</td>
</center></div></td>
</tr>
</table>
</center></div>
</body>
</html> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:34 (UTC) Mesaj konusu: |
|
|
İstediğiniz kadar banner'i, sayfanın her yüklenişinde dönüşümlü olarak gösterir
Kod: <body>
<SCRIPT LANGUAGE="JavaScript">
<!--
var imgs = new Array ("birinci_site.gif","ikinci_site.gif","ucuncu_site.gif","dorduncu_site.gif","besinci_site.gif")
var lnks = new Array ("http://www.birinci_site.com","http://www.ikinci_site.com","http://www.ucuncu_site.com","http://www.dorduncu_site.com","http://www.besinci_site.com")
var altimg = new Array ("Birinci Site Alt Metin","İkinci Site Alt Metin","Üçüncü Site Alt Metin","Dördüncü Site Alt Metin","Besinci Site Alt Metin")
var currentAd = 0
var imgCt = 5
function cycle() {
currentAd++
if (currentAd == imgCt) {
currentAd=0
}
document.adBanner.src=imgs[currentAd]
document.adBanner.alt=altimg[currentAd]
adLink.href=lnks[currentAd]
setTimeout("cycle()",10 * 1000)
}
//-->
</SCRIPT>
<a href="http://www.birinci_site.com" name="adLink" target="_blank"><img src="birinci_site.gif" name="adBanner" border="0" width="468" height="60"></a>
<SCRIPT LANGUAGE="JavaScript">
<!--
cycle()
//-->
</SCRIPT>
</body> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:35 (UTC) Mesaj konusu: |
|
|
Durum çubuğunda değişen yazılar
Kod: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>mydesign.gen.tr</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<!-- ##BEGIN SCROLLING -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
// Scrolling status Bar text Script
// Being of Scrolling text in the Status bar
var speed = 50 //decrease value to increase speed (must be positive)
var pause = 2500 //increase value to increase pause
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "mydesign.gen.tr"
ar[1] = "programla dillerinin"
ar[2] = "örnek kodları"
ar[3] = "bu adreste"
ar[4] = "sorularınız için:"
ar[5] = "www.mydesign.gen.tr/myforum"
var currentMessage = 0
var offset = 0
function stopBanner() {
if (bannerRunning)
clearTimeout(timerID)
bannerRunning = false
}
function startBanner() {
stopBanner()
showBanner()
}
function showBanner() {
var text = ar[currentMessage]
if (offset < text.length) {
if (text.charAt(offset) == " ")
offset++
var partialMessage = text.substring(0, offset + 1)
window.status = partialMessage
offset++
timerID = setTimeout("showBanner()", speed)
bannerRunning = true
} else {
offset = 0
currentMessage++
if (currentMessage == ar.length)
currentMessage = 0
timerID = setTimeout("showBanner()", pause)
bannerRunning = true
}
}
// -->
</SCRIPT>
<!-- ##END SCROLLING -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
//this is to start the Scrolling Status Bar
startBanner();
// -->
</SCRIPT>
</head>
<body> <p align="center"> </p>
<p align="center">
<a href="http://www.mydesign.gen.tr" target="_blank" style="text-decoration: none"><font size="2"
face="verdana">mydesign.gen.tr</a></p>
</body>
</html> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:36 (UTC) Mesaj konusu: |
|
|
Durum çubuğunda saat
Kod: <!-- tüm kodlar <head> .. </head> etiketleri arasına gelecek -->
<script Language="JavaScript">
<!-- Script courtesy of http://www.web-source.net - Your Guide to Professional Web Site Design and Development
// Navigation - Stop
// Netscapes Clock - Start
// this code was taken from Netscapes JavaScript documentation at
// www.netscape.com on Jan.25.96
var timerID = null;
var timerRunning = false;
function stopclock (){
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}
function showtime () {
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()
var timeValue = "" + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timeValue += (hours >= 12) ? " P.M." : " A.M."
window.status = timeValue;
// you could replace the above with this
// and have a clock on the status bar:
//
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}
function startclock () {
// Make sure the clock is stopped
stopclock();
showtime();
}
// -->
</script> |
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:36 (UTC) Mesaj konusu: |
|
|
Durum Çubuğunda Sayfanın Yüklenme Durumu
|
|
↑
|
|
|
-
anadolulular
Uzman Üye
Konum: Bochum/Konya
|
24.09.2012, 22:37 (UTC) Mesaj konusu: |
|
|
anadolulular yazmış: Durum Çubuğunda Sayfanın Yüklenme Durumu
Kod: <SCRIPT language=VBScript>
<!--
Dim Bar, Line, SP
Bar = 0
Line = "|"
sP = 100
Function Window_onLoad()
Bar = 95
sP = 10
END Function
Function Count()
If Bar < 100 Then
Bar = Bar + 1
Window.Status = "Yükleniyor: " & Bar & "%" & " " & String(Bar, Line)
setTimeout "Count()", SP
Else
Window.Status = "Yükleme Bitti"
Document.Body.Style.Display = ""
End If
End Function
Call Count()
-->
</SCRIPT> |
|
↑
|
|
|
|