The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Javascript help
Hey!
I want to make a little code that allows a little message to come up in the breadcrumb to display good morning, good afternoon, and good evening. I have the code: Code:
<script type="text/javascript"> var d = new Date() var time = d.getHours() if (time<10) { document.write("<b>Good morning,</b>") } else if (time>10 && time<16) { document.write("<b>Good afternoon,</b>") } else { document.write("<b>Good evening,</b>") } </script> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|