September 27, 201213 yr Hi all, does anyone know a way how to create a drop down list that changes the appearance of the page when a value is selected? for example the box has 3 values : style 1 style 2 style 3 I want to be able to select each option, and for them to load a different style sheet. So style 1 will load style1.css and so on. The research i have done so far suggests i am going to be using .onchange functions?... Thanks for your help Al
September 27, 201213 yr http://www.alistapart.com/articles/alternate/ says "When a document is initially loaded, the persistent and preferred style sheets are applied to the document. The alternate style sheets can then be selected by the user. The W3C tells us that the browser should give us a choice of the style sheet we want to use, and suggests that perhaps a drop–down menu or tool bar will be provided." which should cover your request to link different stylesheets to your links Style 1, etc.
Create an account or sign in to comment