Papatyam Forum - Tekil Mesaj gösterimi - Html Kodları 2
Konu Başlıkları: Html Kodları 2
Tekil Mesaj gösterimi
Alt 21 January 2009, 22:34   Mesaj No:1

agasarlinuris

Papatyam Aktif Üyesi
Avatar Otomotik
Durumu:agasarlinuris isimli Üye şimdilik offline konumundadır
Papatyam No : 1326
Üyelik T.: 16 July 2008
Arkadaşları:0
Cinsiyet:
Mesaj: 53
Konular:
Beğenildi:
Beğendi:
Takdirleri:10
Takdir Et:
Konu Bu  Üyemize Aittir!
Standart Html Kodları 2

Html Kodları 2

Diyalog Kutusu
<FORM>
<INPUT TYPE="button" VALUE="Lütfen Buraya Tıklayınız!!!"
onClick='alert("Sizin Siteniz ismi.com &quot'>
<FORM>

Ziyaretçi Selamlama

<SCRIPT LANGUAGE="JavaScript">
<!--
function GetCookie(name) {
var arg=name+"=";
var alen=arg.length;
var clen=****************.length;
var i=0;
while (i<clen) {
var j=i+alen;
if
(****************.substring(i,j)==arg)
return "here";
i=****************.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);
****************="shant=here; expires="+expire;
}
// -->
</SCRIPT>

Browser Bilgileri
<center>
<script language="Javascript">
<!--

***************("Kullanılan donanım : <b>"+navigator.appName+" "+navigator.appVersion+"</b>"
//-->
</script>
</center>

<center>
<script language="Javascript">
<!--

***************("www.turktechnic.com&quot

//-->
</script>
</center>

Yönlendirme

<SCRIPT LANGUAGE="JavaScript">

var shant="http://www.sitenizinismi.com"
***************('Lütfen bekleyiniz!!! Açılacak sayfa ' + shant)
function forPage()
{
location.href=shant
}
setTimeout ("forPage()", 1000);

</SCRIPT>

İsteğe Göre Arka Fon

<script language="JavaScript">
<!--

function backbs(clr) {
document.bgColor = clr
}

//-->
</script>
<form>
<input type="button" value="Aqua-turkuaz" onclick="backbs('aqua')">
<input type="button" value="Yellow-sarı" onclick="backbs('yellow')">
<input type="button" value="Khaki-haki" onclicke="backbs('khaki')">
<input type="button" value="White-beyaz" onclick="backbs('white')">
<input type="button" value="Gray-gri" onclick="backbs('gray')">
</form>


Sağ Tuş Kilidi


<script language="Javascript1.2">
<!--

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("MSIE&quot != -1 && event.button == 2) {
alert(mymessage);
return false;
}
}

document.onmousedown = rtclickcheck
//-->
</script>




------------------------------------------------------------ -----------

Buton Şeklinde Saat


<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
day = new Date();
miVisit = day.getTime();
function clock() {
dayTwo = new Date();
hrNow = dayTwo.getHours();
mnNow = dayTwo.getMinutes();
scNow = dayTwo.getSeconds();
miNow = dayTwo.getTime();
if (hrNow == 0) {
hour = 12;
ap = " AM";
} else if(hrNow <= 11) {
ap = " AM";
hour = hrNow;
} else if(hrNow == 12) {
ap = " PM";
hour = 12;
} else if (hrNow >= 13) {
hour = (hrNow - 12);
ap = " PM";
}
if (hrNow >= 13) {
hour = hrNow - 12;
}
if (mnNow <= 9) {
min = "0" + mnNow;
}
else (min = mnNow)
if (scNow <= 9) {
secs = "0" + scNow;
} else {
secs = scNow;
}
time = hour + ":" + min + ":" + secs + ap;
document.form.button.value = time;
self.status = time;
setTimeout('clock()', 1000);
}
function timeInfo() {
milliSince = miNow;
milliNow = miNow - miVisit;
secsVisit = Math.round(milliNow / 1000);
minsVisit = Math.round((milliNow / 1000) / 60);
alert("There have been " + milliSince + " milliseconds since midnight, January 1, 1970. "
+ "You have spent " + milliNow + " of those milliseconds on this page. "
+ ".... About " + minsVisit + " minutes, and "
+ secsVisit + " seconds."
}
***************("<form name=\"form\">"
+ "<input type=button value=\"Click for info!\""
+ " name=button onClick=\"timeInfo()\"></form>"
onError = null;
clock();
// End -->
</SCRIPT>

Status Bar'da Değişen Yazılar



<script language="JavaScript">

<!--
// please keep these lines on when you copy the source
// made by: Nicolas -

var currentmsg = 0
var MsgTime = 2000
var MsgEndTime = 4000

function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this = ' '
}
}

msg = new initArray(4)
msg[0]="1. msg Metallica Team ®"
msg[1]="2. msg Metallica Team ®"
msg[2]="3. msg Metallica Team ®"
msg[3]="4. msg Soru ve sorunlarınız için mail:[email protected]"

function msgrotator() {
window.status = msg[currentmsg]

if (currentmsg > msg.length - 1) {
currentmsg = 0
setTimeout("msgrotator()", MsgEndTime)
}

else {
currentmsg = currentmsg + 1
setTimeout("msgrotator()", MsgTime)
}
}

msgrotator();
//-->

</script>


------------------------------------------------------------ -------------
Sayaç

<script language="Javascript"><!--

function getCookieVal (offset) {
var endstr = ****************.indexOf (";", offset); if (endstr == -1)
endstr = ****************.length;
return unescape(****************.substring(offset, endstr));}
function GetCookie (name) { var arg = name + "="; var alen = arg.length;
var clen = ****************.length; var i = 0; while (i < clen) {
var j = i + alen; if (****************.substring(i, j) == arg)
return getCookieVal (j); i = ****************.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;
**************** = 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)
**************** = 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&quot)) num_visits = 0;num_visits++;
SetCookie("num_visits",num_visits,expdat e);//--></scri pt>
<script language="Javascript"><!--
// please keep these lines on when you copy the source
// made by: Nicolas - [Sadece kayıtlı üyeler linkleri görebilirir. ]
***************("You have been to this page "+num_visits+" times."//-->
</script>


Renk Değiştiren Yazı

<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.sim-it.net</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&quot
topmsg.visibility="hide"
else
topmsg.visibility="show"
}
else if (document.all){
if (topmsg.style.visibility=="visible&quot
topmsg.style.visibility="hidden"
else
topmsg.style.visibility="visible"
setTimeout("display2()",Math.round(Math. random()*1 0000)+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){
***************('<span id="topmsg" style="position:absolute;visibility:hidden&qu ot;>'+mess age+'</span>')
}


function logoit(){
document.all.topmsg.style.left=document.body.scrol lLeft+document.body.clientWidth/2-document.all.topmsg.offset Width/2
document.all.topmsg.style.top=document.body.scroll Top+document.body.clientHeight-document.all.topmsg.offsetHei ght-4
}


function logoit2(){
topmsg.left=pageXOffset+window.innerWidth/2-topmsg.document. width/2
topmsg.top=pageYOffset+window.innerHeight-topmsg.document.he ight-5
setTimeout("logoit2()",90)
}

function setmessage(){
document.all.topmsg.style.left=document.body.scrol lLeft+document.body.clientWidth/2-document.all.topmsg.offset Width/2
document.all.topmsg.style.top=document.body.scroll Top+document.body.clientHeight-document.all.topmsg.offsetHei ght-4
document.all.topmsg.style.backgroundColor=backgrou ndcolor
document.all.topmsg.style.visibility="visible "
if (displaymode==1)
setTimeout("topmsg.style.visibility='hidden'& quot;,disp layduration)
else if (displaymode==2)
display2()
if (flashmode==1)
setInterval("flash()",1000)
window.onscroll=logoit
window.onresize=new Function("window.location.reload()&quot
}


function setmessage2(){
topmsg=new Layer(window.innerWidth)
topmsg.bgColor=backgroundcolor
regenerate2()
topmsg.***************(message)
topmsg.document.close()
logoit2()
topmsg.visibility="show"
if (displaymode==1)
setTimeout("topmsg.visibility='hide'",di splaydurat ion)
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>
Alıntı ile Cevapla