Answer to Question #3616 in AJAX | JavaScript | HTML | PHP for Michael

Question #3616
How do I create a hyperlink with text that will open (or display) a list <ul> below, using <onClick> tags, when selected; then when selected again will close the list?
1
Expert's answer
2011-07-15T14:40:33-0400
example function hiddenLayer() { document.getElementById(&quot;descr&quot;).style.visibility = &quot;hidden&quot;;
}
function showLayer() {
document.getElementById(&quot;descr&quot;).style.visibility = &quot;visible&quot;;
}
click me!!Some text; here you can put your list

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS