TinyPortal
General => Chit chat => Topic started by: neil_mcd on April 18, 2005, 12:56:35 AM
Hi,
Just installed a set of themes but looking for an easy way for users to change them (rather than preferences -> Layout -> Change...etc). What SSI code is used for the frontpage Themes selection box? Is there a hyperlink equivalent I could use in the News box?
Cheers,
Neil
Its a simple code snippet ..but I don't know if it will work in news:
<form name="jumpurl1" onSubmit="return jumpit()">
<select size="1" name="jumpurl2">
<option value="index.php?theme=1">default theme</option>
<option value="index.php?theme=2">classic</option>
</select><br />
<input type="button" value="change" onClick="jumpit()">
</form>
<script>
function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>