Jump to content

DISPLAY/BLOCK DIV .. HELP PLEASE!


jwk811

Recommended Posts

i will use this as the onClick function:
[code]function showHideDiv() {
    var div = document.getElementById('yourDiv').style;
    if (div.display == 'block') {
div.display = 'none';
    } else {
        div.display = 'block';
    }
}[/code]
so what will i put in the div to make it start off at blocked?
Link to comment
https://forums.phpfreaks.com/topic/26397-displayblock-div-help-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.