![]() |
|
| |||||||
|
| WebMasTer SiTeSi |
| | Seçenekler |
|
#2
| ||||
| | ||||
| Browser Bilgileri Kod: <center>
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
document.write("You're using: <b>"+navigator.appName+" "+navigator.appVersion+"</b>");
//-->
</script>
</center>
__________________ www.cunobag.tr.gg |
|
#3
| ||||
| | ||||
| İsteğe Göre Background Kod: <script language="JavaScript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
function backbs(clr) {
document.bgColor = clr
}
//-->
</script>
<form>
<input type="button" value="Aqua" onclick="backbs('aqua')">
<input type="button" value="Yellow" onclick="backbs('yellow')">
<input type="button" value="Khaki" onclicke="backbs('khaki')">
<input type="button" value="White" onclick="backbs('white')">
<input type="button" value="Gray" onclick="backbs('gray')">
</form>
__________________ www.cunobag.tr.gg |
|
#4
| ||||
| | ||||
| Sağ Tuş Kilidi Kod: <script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var mymessage = "Üzgünüm Sağ Tuş Kullanmanız Engellenmiştir.";
function rtclickcheck(keyp){
if (navigator.appName == "Netscape" && keyp.which == 3) {
alert(mymessage);
return false;
}
if (navigator.appVersion.indexOf("M+++") != -1 && event.button == 2) {
alert(mymessage);
return false;
}
}
document.onmousedown = rtclickcheck
//-->
</script>
__________________ www.cunobag.tr.gg |
|
#5
| ||||
| | ||||
| Buton Üzerinde Kayan Yazı Kod: <script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var speed = 100
var message = "www.designlife.cjb.net "
var s = 0
var l = message.length
document.write("<form name='btn'><input type='button' "
+"name='sc' value='"+ message +"'></form>")
function btnsc() {
document.btn.sc.value = message.substring(s,l) + message.substring(0,s)
s++
if (s >= l) {
s = 0
}
setTimeout("btnsc()",speed)
}
btnsc();
//-->
</script>
__________________ www.cunobag.tr.gg |
|
#6
| ||||
| | ||||
| Kronometre Kod: <script language="JavaScript"><!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.comvar timerID = 0;
var tStart = null;function UpdateTimer() { if(timerID) {
clearTimeout(timerID); clockID = 0; } if(!tStart)
tStart = new Date(); var tDate = new Date();
var tDiff = tDate.getTime() - tStart.getTime(); tDate.setTime(tDiff);
document.theTimer.theTime.value = ""
+ tDate.getMinutes() + ":"
+ tDate.getSeconds();
timerID = setTimeout("UpdateTimer()", 1000);}function Start() {
tStart = new Date(); document.theTimer.theTime.value = "00:00";
timerID = setTimeout("UpdateTimer()", 1000);}function Stop() {
if(timerID) { clearTimeout(timerID); timerID = 0; }
tStart = null;}function Reset() { tStart = null;
document.theTimer.theTime.value = "00:00";}//--></script>
<body onload="Reset()" onunload="Stop()"><center><form name="theTimer"><table>
<tr> <td colspan=3 align=center>
<input type=text name="theTime" size=5> </td> </tr>
<tr><td></td></tr> <tr> <td>
<input type=button name="start" value="Start" onclick="Start()">
</td> <td>
<input type=button name="stop" value="Stop" onclick="Stop()">
</td> <td>
<input type=button name="reset" value="Reset" onclick="Reset()">
</td> </tr></table></form></center>
__________________ www.cunobag.tr.gg |
|
#8
| ||||
| | ||||
| Sayaç Kod: <script language="Javascript"><!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset); if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));}
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 getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break; } return null;}function SetCookie (name, value) {
var argv = SetCookie.arguments; var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");}function DeleteCookie(name) {
var exp = new Date(); FixCookieDate (exp); // Correct for Mac bug
exp.setTime (exp.getTime() - 1); // This cookie is history
var cval = GetCookie (name); if (cval != null)
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();}
var expdate = new Date();var num_visits;
expdate.setTime(expdate.getTime() + (5*24*60*60*1000));
if (!(num_visits = GetCookie("num_visits"))) num_visits = 0;num_visits++;
SetCookie("num_visits",num_visits,expdate);//--></script>
<script language="Javascript"><!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.geocities.com/ResearchTriangle/1500
document.write("You have been to this page "+num_visits+" times.");//-->
</script>
__________________ www.cunobag.tr.gg |
|
#9
| ||||
| | ||||
| Büyüyüp Küçülen Yazı Kod: www.designlife.cjb.net
<script language="Javascript1.2">
<!--
// please keep these lines on when you copy the source
// made by: Nicolas - http://www.javascript-page.com
var tags_before_clock = "<center>";
var tags_after_clock = "</center>";
var speed = 100;
var speed2 = 2000;
var biggest_text = 28;
var x = 0;
var y = 0;
var themessage, size;
var esize = "</font>";
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var themessage2 = new initArray(
"This is the Growing Banner.",
"It looks a lot cooler than other banners.",
"This is really easy to conform to your page.",
"Just don't make it too long or else..."
);
if(navigator.appName == "Netscape") {
document.write('<layer id="wds"></layer><br>');
}
if (navigator.appVersion.indexOf("M+++") != -1){
document.write('<span id="wds"></span><br>');
}
function upwords(){
themessage = themessage2[y];
if (x < biggest_text) {
x++;
setTimeout("upwords()",speed);
}
else {
setTimeout("downwords()",speed2);
}
if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}
if (navigator.appVersion.indexOf("M+++") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}
function downwords(){
if (x > 1) {
x--;
setTimeout("downwords()",speed);
}
else {
setTimeout("upwords()",speed2);
y++;
if (y > themessage2.length - 1) y = 0;
}
if(navigator.appName == "Netscape") {
size = "<font point-size='"+x+"pt'>";
document.wds.document.write(size+tags_before_clock+themessage
+tags_after_clock+esize);
document.wds.document.close();
}
if (navigator.appVersion.indexOf("M+++") != -1){
wds.innerHTML = tags_before_clock+themessage+tags_after_clock;
wds.style.fontSize=x+'px'
}
}
setTimeout("upwords()",speed);
//-->
</script>
__________________ www.cunobag.tr.gg |
|
#10
| ||||
| | ||||
| Renk Kodu Belirleme Kod: <FORM>
<INPUT TYPE="button" VALUE="Hex Coder" ONCLICK="
var cc=
prompt('Enter word(s) for color .')
document.bgColor=cc;
alert(document.bgColor)">
</FORM>
__________________ www.cunobag.tr.gg |
|
#11
| ||||
| | ||||
| Hareketli 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] = "Soft Lite"
urlArr[1] = "http://www.kimim.com/ps/"
lineArr[2] = "Soft Lite Mail"
urlArr[2] = "http://kimim.com"
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>
</HEAD>
<BODY>
<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>
__________________ www.cunobag.tr.gg |
|
#12
| ||||
| | ||||
| 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("M+++")
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>
__________________ www.cunobag.tr.gg |
|
#13
| ||||
| | ||||
| 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>
__________________ www.cunobag.tr.gg |
|
#14
| ||||
| | ||||
| Deprem Scripti Kod: <HTML>
<HEAD>
<TITLE>Screenquake</TITLE>
<META name="Generator" content="Soft Lite ScriptWorx 4.0">
<script language="JavaScript">
<!--
function shake(shakes, vibration) {
for (i = shakes; i > 0; i--) {
self.moveBy(i, vibration);
self.moveBy(-i, -vibration);
}
}
//-->
</script>
</HEAD>
<BODY topmargin="0" leftmargin="0" link="#0000FF" vlink="#800080" alink="#FF0000"
onLoad="shake('10','10')">
<!-- This requires Internet Explorer 4.0 and above //-->
<!-- The first '10' is the number of shakes
the second is the number of vibrations.
Simply attach the script function onto an
event from the 'events' list
//-->
</BODY>
</HTML>
__________________ www.cunobag.tr.gg |