[css-d] Enlarging Text with a Link
This is an interesting one posed by a new client site. They would like to have a small link at the top of the website that says "Enlarge Text". Basically, they want the end user to be able to simply click on this link and have the text on the entire site resize (for elderly clients who don't know how to resize text). I haven't really begun coding yet, and I was wondering if there was a way to do this without javascript. I think it *can* be done by setting a body class and having th elink go to the new page with the laternate body class, but then I'd have to make 2 or 3 alternates of the same page - and I'd like to avoid that. I'm also wondering if I would need to use some type of cookie so that the text size remains as selected throughout the whole site. I'll be using includes, as well - whether it's PHP or .shtml includes, I don't know yet (hopefully I can use PHP - it makes it easier and I can include the header). I've done PHP "skins" before - I'm wondering if that would work for this, or if there's a better way... Anyone ever run into this? It's a new one on me, and I'm trying to figure out the easiest way to accomplish this. Like I said, I haven't really begun coding yet, so it's preety much "clean slate" at the moment - so any and all brainstorming ideas would be helpful. Thanks! ~Shelly __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Enlarging Text with a Link
[snip] This is an interesting one posed by a new client site. They would like to have a small link at the top of the website that says "Enlarge Text". Basically, they want the end user to be able to simply click on this link and have the text on the entire site resize (for elderly clients who don't know how to resize text). [/snip] Whoa, my boss asked the same exact thing yesterday...called it a Senior's button. There are several methods for changing stylesheets, and I found this article to be a good place to start http://www.alistapart.com/stories/alternate/ __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Enlarging Text with a Link
There are lots of related links on the wiki about this. http://css-discuss.incutio.com/?page=StyleSwitching -- Joel Goldstick www.columbuswebmakers.com __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] Enlarging Text with a Link
Thanks all - for all of this info. I really appreciate it. Now, my issue is I'm told that the client is using a Windows server, with no PHP Agh! Can this be any more fun for me? Anyway, they're verifying this, but I swear I hope they're wrong. Criminy. Anyway, thanks a bunch - it's been very helpful! ~Shelly __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/