The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

menu- switch external css & more

hey guys. for wvmimaging.com my client decided that because much of his business is conducted on elderly folks, they might not be able to read size 2 font on the web. as a result, he asked if there is a way to make the text larger. now, it's insane to have size 3 font on a web page (especially for smaller resolution screens) so i decided to add a little feature on each page. it would be a dropdown menu with 2 choices- normal text and large text. when the user selects large text (normal is default) the entire page's text will reformat to a larger size.
the way i plan on doing this is by changing the external style sheet that the page is pointed to. im sure it can be done, but i dont know how.
moreover, there should be a way to remember which option the user chose so that every linked page or future page will have the same setting (the menu will still be there though). maybe using a cookie or some javascript that uses the menu name.

hmmm thanks we're getting there. now first off is the /> on the link rel a mistake or no? secondly, i called the javascript from a text link. is that correct? cuz what seemed to happen was that all text formatting disappeared... meaning the stylesheet was disconnected without another being applied. so at least it disconnected my /assets/main.css by /assets/mainlarge.css didnt hook up (and yes i changed the location)