Jump to content

Best CSS approach

- - - - -

  • Please log in to reply
1 reply to this topic

#1
graphicsman

graphicsman

    Newbie

  • Members
  • PipPip
  • 21 posts
Sup guys

I am wanting to improve some of my CSS knowledge and I had some ideas for a couple of sites but I was unclear in my method nor did I come up with some solutions through my googling. I have a few objectives:

I would like to make a preloaded for a friends photography site that would work with OUT the use of a AJAX or JavaScript event.

I was planning on creating a cool effect but was unclear if I could create a switch that the viewer could select that will allow a color to change.I had in mind something like calling a class and just adding a .red for red stuff or .green for green stuff. I don't know if I am unclear or not.

My overall goal is to make sites that have function for people that usually have JavaScript turned off so you are not loosing key design components people usually spend with JavaScript or jQuery. Any ideas or guidance would be great and I am a big fan of reading.

#2
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
No Javascript , then say no to easy methods.
If javascript isn't available then switching themes like example from red to green which easily could be done using javascript should be done using Round Trip to server. Post the selected color/Theme to the server write logic to change theme and make sure it is maintained until changed again.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users