Back to vBulletin 3.6 Add-ons

Clock In Navbar
Mod Version: 1.00, by EnIgMa1234

This modification is in the archives.
vB Version: 3.6.4 Rating: (6 votes - 4.33 average) Installs: 62
Released: 13 Feb 2007 Last Update: Never Downloads: 258
Not Supported Uses Plugins Template Edits  

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>
Then: Import The Product

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.

File Type: %1$s product-navclock.xml (474 Bytes, 293 downloads)

Screenshots

Click image for larger version
Name:	screenshot1.JPG
Views:	1472
Size:	4.0 KB
ID:	60510   Click image for larger version
Name:	screenshot2.JPG
Views:	909
Size:	4.2 KB
ID:	60511  

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

vblts.ru supports vBulletin®, 2022-2024