![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to toggle a <div in and out of view. My question, which of the below examples would best be supported. Or is there another approach, that would be better used..TIA.. .A.. a href="#" onclick="C1.style.visibility='visible';">open</a a href="#" onclick="C1.style.visibility='hidden'">close</a .B.. a href="#" onclick="C1.style.display='block'">display</a a href="#" onclick="C1.style.style.display='none'">none</a .C.. a href="#" onclick="document.getElementById('C1').style.visib ility='visible'">open</a a href="#" onclick="document.getElementById('C1').style.visib ility='hidden'">close</a .D.. a href="#" onclick="document.getElementById('C1').style.displ ay='block'">display</a a href="#" onclick="document.getElementById('C1').style.displ ay='none'">none</a |
#3
| |||
| |||
|
|
I want to toggle a <div in and out of view. My question, which of the below examples would best be supported. Or is there another approach, that would be better used..TIA.. |
#4
| |||
| |||
|
|
I want to toggle a <div in and out of view. |
#5
| |||
| |||
|
|
I want to toggle a <div in and out of view. My question, which of the below examples would best be supported. Or is there another approach, that would be better used..TIA.. .A.. a href="#" onclick="C1.style.visibility='visible';">open</a a href="#" onclick="C1.style.visibility='hidden'">close</a |
|
.B.. a href="#" onclick="C1.style.display='block'">display</a a href="#" onclick="C1.style.style.display='none'">none</a |
|
.C.. a href="#" onclick="document.getElementById('C1').style.visib ility='visible'">open</a a href="#" onclick="document.getElementById('C1').style.visib ility='hidden'">close</a |
![]() |
| Thread Tools | |
| Display Modes | |
| |