| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Mar 2006
Posts: 477
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | PHProxy Well this is how far I have got so far with it: www.proxy.vg How do I create one of them + - things in PHProxy where it hides all the options, and then you click + to show them? Also, how do I center the stuff in the middle, without centering the text? Thanks! |
| |
| | #4 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | Code: <script>
function toggleoptions() {
var di = document.getElementById("options");
di.style.display = (di.style.display == 'none') ? '' : 'none';
}
</script>
...
...
<a href="javascript:toggleoptions();">[hide/show options]</a>
<div id="options" style="display: none;">
...options goes here...
</div>
__________________ ask me about the internet |
| |