-
Toggle Div visible using a static logo
Ok so what i want to do is use a static logo to open and close a Div, can anyone help with my problem? Here are the basic codes im using:
http://www.dynamicdrive.com/dynamicindex4/logo.htm - Site Logo/ Watermark Script
and for the toggle_visibility
<script type="text/javascript">
<!--
function toggle_visibility(commentForm) {
var e = document.getElementById(commentForm);
if(e.style.display == 'block')
e.style.display = 'none';
else
e.style.display = 'block';
}
//-->
</script>
I can't find a way to get the static logo link to toggle it just errors :/
Help Please
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks