Search in forum:
Search


« View previous topic :: View next topic »  
Author Message
Post08/24/2008 at 6:05am (UTC)    
Post subject: Show different background colour of your site

Code:
<script type="text/javascript">
<!--

        var now = new Date();
        var hours = now.getHours();
        var psj=0;
      document.write('<style type="text/css">')
        //18-19 night
        if (hours > 17 && hours < 20){
                document.write('body{background:orange; color:#FFFFFF;} a{color: yellow !important}')
        }

        //20-21 night
        if (hours > 19 && hours < 22){
                document.write('body{background:orangered; color:#FFFFFF;} a{color: yellow !important}')
        }

        //22-4 night
        if (hours > 21 || hours < 5){
                document.write('body{background:black; color:#FFFFFF;} a{color: yellow !important}')
        }

        //9-17 day
        if (hours > 8 && hours < 18){
                document.write('body{background:deepskyblue; color:#FFFFFF;} a{color: yellow !important}')
        }

        //7-8 day
        if (hours > 6 && hours < 9){
                document.write('body{background:skyblue; color:#FFFFFF;} a{color: yellow !important}')
        }

        //5-6 day
        if (hours > 4 && hours < 7){
                document.write('body{background:steelblue; color:#FFFFFF;} a{color: yellow !important}')
        }
      document.write('</style>')
       
//-->
</script>

BYusing this code,show different background colour of your site during different times of day.
Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy [/code]
Post08/25/2008 at 10:16am (UTC)    
Post subject:

Thanks....................... Very Happy
______________
<img src="http://i281.photobucket.com/albums/kk227/Tanvir2020/TanvirsSignature.png" alt="My SigNaTuRe !!" />
Post09/02/2008 at 4:21pm (UTC)    
Post subject: Thanks

Thanks


Last edited by abc21 on Wed Sep 10, 2008 9:32 pm; edited 2 times in total
Post09/02/2008 at 4:32pm (UTC)    
Post subject:

tanvirmahmudchowdhury wrote:
Thanks....................... Very Happy


to have signature on board just put this

Code:
[img]===>>>>the url of your picture or graphics===>>>>[/img]


______________
<img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://lovescents.webs.com/apps/profile/profilePage?id=40574415/" target="_blank" class="postlink"><img src="http://lovescents.webs.com/1.gif" border="0"><span style="font-weight: bold;">Lovescents</span> </a><img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.homepage-help.page.tl/" target="_blank" class="postlink"><span style="font-weight: bold;">SUPPORT PAGE</span></a> <img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.own-free-website.com/forum/search.php" target="_blank" class="postlink"><span style="font-weight: bold;">SEARCH IN FORUM</span></a> <img src="http://lovescents.webs.com/left.gif" border="0"> <a href="http://www.own-free-website.com/forum/viewtopic.php?t=5512" target="_blank" class="postlink"><span style="font-weight: bold;">PLEASE READ BEFORE POSTING A NEW TOPIC!!</span></a></span>
Post11/01/2008 at 4:33am (UTC)    
Post subject:

tanvirmahmudchowdhury wrote:
Thanks....................... Very Happy


Quote Spammer
______________
germain frantzy


Last edited by lookforward on Sat Nov 01, 2008 6:44 am; edited 2 times in total
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group