dc_jt Posted January 8, 2008 Share Posted January 8, 2008 Hi I tried searching but couldnt find anything relevant. I was wondering what the best way is to do a switch between text only and a graphical version of a dynamic website? Is it to basically set a session and switch between the two css style sheets depending on the session? Thanks Link to comment https://forums.phpfreaks.com/topic/85028-text-only/ Share on other sites More sharing options...
revraz Posted January 8, 2008 Share Posted January 8, 2008 That's how I would do it, unless you need to code 2 pages per page instead, because some layouts without CSS are really bad. Link to comment https://forums.phpfreaks.com/topic/85028-text-only/#findComment-433613 Share on other sites More sharing options...
dc_jt Posted January 8, 2008 Author Share Posted January 8, 2008 Thanks for the reply, just wondering what would be the best way to use the session. Shall I just refresh the page using $_SERVER['REQUEST_URI'] or send to a separate page and direct back to the page they clicked? Link to comment https://forums.phpfreaks.com/topic/85028-text-only/#findComment-433620 Share on other sites More sharing options...
revraz Posted January 8, 2008 Share Posted January 8, 2008 if textonly="yes" then either display different CSS or show a completely different page I think it depends on which route you take. Link to comment https://forums.phpfreaks.com/topic/85028-text-only/#findComment-433636 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.