Grow your CSS skills. Land your dream job.

Dynamic CSS Switching using Javascript…

  • # October 4, 2008 at 10:23 pm

    Hi all,

    My server doesn’t allow PHP, so I’m looking for a version of css switching using javscript and based on days of the week only (Monday, Tuesday, Wed. etc.). I would prefer to not switch the css file but rather a background image being called from CSS. Is this possible rather than just switching css files?

    I don’t want to load this on the body tag, but from a DIV tag.

    Any help is appreciated.

    Thanks!

    # October 5, 2008 at 3:54 am

    I’ve noticed that you’ve posted the same question in numerous other forums and you kinda got the same answer as you did here.. which is, well not really an answer. I would suggest getting a host that supports PHP.

    # October 5, 2008 at 12:39 pm

    Spunkmeyer, My server only allows asp .net….no php…that’s not an option to switch…plus, no one supplied answers to this posting in this forum yet. the other forumns weren’t much help too.

    # October 5, 2008 at 12:42 pm

    Give this a read

    http://alistapart.com/stories/alternate/

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".