Log in

View Full Version : Create a plugin which only appears at a specific time?


shoppingtelly
04-14-2007, 01:02 AM
Hi guys,

I want to add this code, which launches a floating window on our forum:

<!-- Advanced DHTML Popup Linking section start -->
<!-- Please place just after the <body> tag -->
<script language="JavaScript" src="radio_adplib.js"></script>
<script language="JavaScript" src="radio.js"></script>
<!-- Advanced DHTML Popup Linking Section End -->

But we only want it to appear between 8pm and 9pm when we operate our talk radio station on the site.

Is there a way to create a plugin with this code which I can then tell to only launch at 8pm and onwards but not after 9?

Any help would be very appreciated :)