
August 29th, 2003, 04:10 AM
|
|
Contributing User
|
|
Join Date: Jul 2003
Posts: 30
Time spent in forums: < 1 sec
Reputation Power: 10
|
|
|
css stylechange query
Hi,
I have the following at the moment to switch between stylesheets on my page. Please could someone tell me how to turn this into a drop-down option box, rather than a list of links?
<div class="gentable">
<b>Stylechanger</b><br />
<a style="menu" href="#" onclick="setActiveStyleSheet('sixblocks'); return false;">Default</a> <br />
<a href="#" onclick="setActiveStyleSheet('fire'); return false;">Fire</a> <br />
<a href="#" onclick="setActiveStyleSheet('forest'); return false;">Forest</a> <br />
<a href="#" onclick="setActiveStyleSheet('ice'); return false;">Ice</a> <br />
<a href="#" onclick="setActiveStyleSheet('stripe'); return false;">Stripe</a> <br />
</div>
|