OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
How to jump menu select a new style to same webpage
This page's ID:
10846
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I'm writing this quick at work, so I don't have time to write code, but basically you want your onchange to call a function. That function will then check which of your two options are selected and then alter your styles appropriately. You can find which option is selected with: document.[i]formID[/i].[i]selectID[/i].[i]optionID[/i].selected [b]or[/b] document.getElementbyId('[i]optionID[/i]').selected [b]or[/b] some other way that Slime, Bugs or some other DOM genius can tell you about... A simple if...then...else statement ought to do you just fine.
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »