Originally Posted by Echo1031
Man i missed what indy said but hes but nevermind :\ Anyways that probaly not the whole code but it does give him some ideas how it works.
|
That's just the code that calls the JavaScript to do the real work, here...
PHP Code:
<script language="javascript" type="text/javascript">
function _open(){
document.getElementById('options').style.display='block';
document.getElementById('status').innerHTML='<span onclick="_close();">Close Options</span>';
}
function _close(){
document.getElementById('options').style.display='none';
document.getElementById('status').innerHTML='<span onclick="_open();">Open Options</span>';
}
</script>
<div id="status"><span onclick="_open();">Open Options</span></div>
<div id="options" style="display: none">
<?php echo $PHProxy->options_list(true, true) ?>
</div>
Just place that were you want the options...