IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   HTML/CSS/JavaScript (https://www.ircforumlari.net/html-css-javascript/)
-   -   Başlık çubuğunda kayan yazı (https://www.ircforumlari.net/html-css-javascript/625433-baslik-cubugunda-kayan-yazi.html)

hAte 10 Ekim 2014 04:03

Başlık çubuğunda kayan yazı
 
PHP- Kodu:

<html
<
head
<
title_Kayan Başlık Çubuğu</title
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9"
<
meta http-equiv="Content-Type" content="text/html; charset=windows-1254"
<
script language="javascript"
<!-- 
//Begin dHTML Toolltip Timer 
var tipTimer
//End dHTML Toolltip Timer 

function locateObject(nd) { //v3.0 
var p,i,x; if(!dd=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
d=parent.frames[n.substring(p+1)].documentn=n.substring(0,p);} 
if(!(
x=d[n])&&d.allx=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
for(
i=0;!x&&d.layers&&i<d.layers.length;i++) x=locateObject(n,d.layers[i].document); return x


function 
hideTooltip(object) 

if (
document.all

locateObject(object).style.visibility="hidden" 
locateObject(object).style.left 1
locateObject(object).style.top 1
return 
false 

else if (
document.layers

locateObject(object).visibility="hide" 
locateObject(object).left 1
locateObject(object).top 1
return 
false 

else 
return 
true 


function 
showTooltip(object,etipContentbackcolorbordercolortextcolordisplaytime

window.clearTimeout(tipTimer

if (
document.all

locateObject(object).style.top=document.body.scrollTop+event.clientY+20 

locateObject
(object).innerHTML='<table style="font-family: Tahoma, Arial, Helvetica, sans-serif; 
font-size: 11px; border: '
+bordercolor+'; border-style: solid; border-top-width: 1px; border-right-width: 1px; 
border-bottom-width: 1px; border-left-width: 1px; background-color: '
+backcolor+'" width="10" border="0" cellspacing="1" 
cellpadding="1"><tr><td nowrap><font style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; color: 
'
+textcolor+'">'+unescape(tipContent)+'</font></td></tr></table> ' 

if ((e.locateObject(object).clientWidth) > (document.body.clientWidth 
document.body.scrollLeft)) 

locateObject(object).style.left = (document.body.clientWidth 
document.body.scrollLeft) - locateObject(object).clientWidth-10

else 

locateObject(object).style.left=document.body.scrollLeft+event.clientX 

locateObject(object).style.visibility="visible" 
tipTimer=window.setTimeout("hideTooltip('"+object+"')"displaytime); 
return 
true

else if (
document.layers

locateObject(object).document.write('<table width="10" border="0" cellspacing="1" cellpadding="1"><tr 
bgcolor="'
+bordercolor+'"><td><table width="10" border="0" cellspacing="0" cellpadding="2"><tr bgcolor="'+backcolor+'"><td 
nowrap><font style="font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; color: 
'
+textcolor+'">'+unescape(tipContent)+'</font></td></tr></table></td></tr></table>'
locateObject(object).document.close() 
locateObject(object).top=e.y+20 

if ((e.locateObject(object).clip.width) > (window.pageXOffset window.innerWidth)) 

locateObject(object).left window.innerWidth locateObject(object).clip.width-10

else 

locateObject(object).left=e.x

locateObject(object).visibility="show" 
tipTimer=window.setTimeout("hideTooltip('"+object+"')"displaytime); 
return 
true

else 

return 
true


//--> 
</script> 
<style type="text/css"> 
<!-- 
.style1 { 
color: #FF0000; 
font-weight: bold; 
font-family: Verdana, Arial, Helvetica, sans-serif; 
font-size: 18px; 

--> 
</style> 
<!-- ##BEGIN SCROLLING TITLE --> 
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> 
<!-- 
// Scrolling Title Script is the source of RigTechnologies, Author M.Ravi kumar 
// Being of Scrolling Title 
var scroller 
var speed=400 // To increase the speed of scrolling decrease the value, to reduce speed of scrolling increase the value here 
var actualtitle=document.title+" " 
function antiMilitaryTime() { 
if (hr == "12"){ 
ampm="P.M." 

else if (hr == "13"){ 
hr="1" 

else if (hr == "14"){ 
hr="2" 

else if (hr == "15"){ 
hr="3" 

else if (hr == "16"){ 
hr = "4" 

else if (hr == "17"){ 
hr = "5" 

else if (hr == "18"){ 
hr = "6" 

else if (hr == "19"){ 
hr = "7" 

else if (hr == "20"){ 
hr = "8" 

else if (hr == "21"){ 
hr = "9" 

else if (hr == "22"){ 
hr = "10" 

else if (hr == "23"){ 
hr = "11" 

else if (hr == "24"){ 
hr = "12" 


function addZero(){ 
if (min <= "9"){ 
min = "0"+min 

if (sec<= "9"){ 
sec = "0"+sec 

if (hr <=9){ 
hr = "0"+hr 


function time(){ 
dt=new Date() 
sec=dt.getSeconds() 
hr=dt.getHours() 
min=dt.getMinutes() 

function scroll(){ 
time() 
antiMilitaryTime() 
addZero() 
var scroller=" saat: "+hr+":"+min+":"+sec 
document.title=actualtitle+scroller 
var timeout=setTimeout("scroll()", 1000) 

if (document.all||document.getElementById) 
scroll() 
var repeat=1 //enter 0 to not repeat scrolling after 1 run, To Scroll continously enter 1 
var leng=document.title.length 
var start=1 
function titlemove(){ 
titl=document.title.substring(start, leng) + document.title.substring(0, start) 
document.title=titl 
start++ 
if (start==leng+1) { 
start=0 
if (repeat==0) 
return 

setTimeout("titlemove()",speed) 

if (document.title) 
titlemove() 
// --> 
</SCRIPT> 
<!-- ##END SCROLLING TITLE--> 
</head> 

<body> 
<p align="center">&nbsp;</p> 
<p align="center"> 
<a href="
Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir.
php buffer end -->



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 03:05.

Powered by vBulletin® Version 3.8.8 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2024 IRCForumlari.Net