Results 1 to 1 of 1
Feb 3, 2004, 10:13 #1
- Join Date
- Jan 2004
- 0 Post(s)
- 0 Thread(s)
JS Multi-Style Sheet Switcher - Any Tips?
If you visit http://www.geoworld.org/ref/geog/area/index.php and look at the navigation menu in the top right corner, then click "Control Panel," under "Choose a Theme" you'll see a list of continents and oceans. Clicking "Africa" highlights table rows that denote African nations, while clicking "North America" would highlight Canada, the U.S. and Mexico.
I'd like to rig it so that visitors can apply several style sheets independently. For example, they could choose to highlight North America AND South America, or Africa, Eurasia and Australia.
Similarly, I'd like to be make webpages that let visitors choose various parameters independently. Thus, one set of alternate style sheets might control the background color and design, while another control table colors and a third set control font/text styles.
Also, do you any idea why my alternate style sheets might get "stuck"? When testing them locally, I often have to refresh the page several times before they work. They usually work fine online, but they don't seem to work on the page URL I referenced above until a few minutes after I first click an alternate style sheet.