View Full Version : Toggle Div visible using a static logo

02-25-2010, 09:20 PM
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';
e.style.display = 'block';

I can't find a way to get the static logo link to toggle it just errors :/

Help Please