• ARCHIVES 
  • » If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

Pages: 1

If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

bagusxfantasy
» FTalker
FTalk Level: zero
176
0
1969-12-31

If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's computer time setting. [spoiler][quote]//auto css switch everyday by bagusxfantasy var d=new Date(); theDay=d.getDay(); switch (theDay) { case 0: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no1[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); break; case 1: break; var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no 2[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); case 2: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no3[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); break; case 3: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no 4[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); break; case 4: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no 5[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); break; case 5: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no 6[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); break; default: var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "[b]url css no 7[/b]"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css); }[/quote] [/spoiler] Edit the bold part. Note: Case 0 is sunday, case 1 is monday, case 2 is tuesday, and so on. [url=http://profiles.friendster.com/91341104][b]Test here[/b][/url] Change your computer time setting to another day to see the effect than view the test profile. If you want different Js everyday just change this part. [quote][b]var css = document.createElement("link"); css.type = "text/css"; css.rel = "stylesheet"; css.href = "url css"; css.media = "screen, print"; document.getElementsByTagName("head")[0].appendChild(css);[/b][/quote] with this [quote][b]var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "url js"; document.getElementsByTagName("head")[0].appendChild(myjs);[/b][/quote] Enjoy tweaking :thumbsup: :D

Last edited by bagusxfantasy (2008-12-12 10:55:14)

dewiarina
» n00b
FTalk Level: zero
3
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

ohooh.. is the code work?? i will try.. nice..:wow:
bagusxfantasy
» FTalker
FTalk Level: zero
176
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

[quote=dewiarina]ohooh.. is the code work?? i will try.. nice..:wow:[/quote] sure just change you time setting to see the effect you'll find different layout in different day :D Tested on windows XP
Aziq_Red
» n00b
FTalk Level: zero
69
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

nice man.. thanx for sharing..:) keep it up..:thumbsup:

Last edited by Aziq_Red (2008-12-12 02:28:58)

yeW
» FTalker
FTalk Level: zero
137
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

wow :o <<<im shocked :eh: thanx for sharing this :cool::thumbsup:
shielvin23
» n00b
FTalk Level: zero
6
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

is this working?... :question: i try this if this is working!!!! this is cool......... :thumbsup:
akoba
» FTalkAddict
FTalk Level: zero
335
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

nice . im gonna try this too. thnx for sharing
yeW
» FTalker
FTalk Level: zero
137
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

[quote=shielvin23]is this working?... i try this if this is working!!!![/quote] ofcourse this script working.. if not, why he shared to us :P
chipster489
» FTalkWorm
FTalk Level: zero
16296
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

[b]Great, i'll use dat starting Monday to Sunday. :) [/b]
lloyd
» FTalker
FTalk Level: zero
133
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

nice script but its to long to see the preview!! we have to wait 24 hours to see the effect!! hahaha~!! but btw its nice!! tnx for sharing!!
yeW
» FTalker
FTalk Level: zero
137
0
1969-12-31

Re: If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

thanx for sharing :cool::thumbsup:
  • ARCHIVES 
  • » If you bored with your same layout. You might try this code. It will change ur layout everyday. Put this codes at the top of your main Js. This will change your css every day dpending on viewer's co

Pages: 1

Board footer

© 2025 F Talk

Current time is 09:16

[ 10 queries - 0.024 second ]
Privacy Policy