Welcome to forums of Dark eFfectX !
Enter the digital revolution. Design technology, coding & gaming.

The exchange of Digital Knowledge while Anime, Manga and Technology collide in a Alchemy of Thought and Illusion.

Learn the magic of today from the science of tomorrow. Web site modifications, custom style sheets (CSS) and coding support + more.

Guests, please register or log in to view the entire forum.

[code] Chrono Skin (CSS) changer

View previous topic View next topic Go down

[code] Chrono Skin (CSS) changer

Post  Bad Wolf on Sun May 27, 2007 1:17 am

To set skinz to change with users PC clock

<script language="javascript">
/* script by ????*/
now = new Date();
itime = now.getHours();
function TSkinChange() {
if (itime >= 12) {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://your 1st url.com/here">');
if (itime >= 24) {
document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="http://your 2nd url.com/here">');

Bad Wolf

Age : 39
Number of posts : 1644
Location : The Evil Empire

Reputation : 6
Usage Points : 652
Registration date : 2006-12-24

Title: The Digital Alchemist
555/555  (555/555)
670/777  (670/777)

View user profile http://www.darkfx.com

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum