| | |||||
| ||||||||
| 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: Apr 2006 Location: Berlin
Posts: 333
![]() ![]() | Expandable Menu? Hi, I want to make expandable menu same with this one. http://www.flyproxy.com/# Please click "More Options" and menu will expand. How could I do it? Thanks for your helps... |
| |
| | #3 (permalink) |
| NamePros Regular Join Date: Aug 2005 Location: NY, USA
Posts: 610
![]() ![]() ![]() ![]() ![]() ![]() | Code: <script>
function toggle(objid) {
var obj = document.getElementById(objid);
if(obj.style.display == "none")
obj.style.display = "block";
else
obj.style.display = "none";
}
</script>
<a href="#" onclick="toggle('testlayer');">Hide/Show</a>
<div id="testlayer" style="display: none;">
Hidden Text
</div>
__________________ ask me about the internet |
| |