|
Clock In Navbar
This modification is in the archives.
Dont Copy This Hack
Javascript Code By http://www.w3schools.com Description: This Shows The Time, In Hours Minutes And Seconds, In The Navbar When The Page Is Loaded 1 New Phrase 1 Template Edit Install: Find In Navbar: Code:
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if> </div> Add Below: Code:
<head>
<script type="text/javascript">
function startTime()
{
var today=new Date()
var h=today.getHours()
var m=today.getMinutes()
var s=today.getSeconds()
// add a zero in front of numbers<10
m=checkTime(m)
s=checkTime(s)
document.getElementById('txt').innerHTML=h+":"+m+":"+s
t=setTimeout('startTime()',500)
}
function checkTime(i)
{
if (i<10)
{i="0" + i}
return i
}
</script>
</head>
<b>
<body onload="startTime()">
<div id="txt"><b>$vbphrase[loading_clock]</b></div>
</body></b>
History - V.1.0 Released Future Developments - Cache Template I Will Only Give Support To Those That Click Install Download
This modification is archived, downloads are still allowed. Screenshots |
|||||||||
Similar Mods
| Clock and Date in Navbar | vBulletin 3.6 Template Modifications |
| Forum Home Enhancements Automatic updating clock in navbar. | vBulletin 3.6 Template Modifications |
| Mini Mods Kpt - Clock and Date In Navbar | vBulletin 3.6 Template Modifications |