I am trying to make a link or div that you can click and have another div appear under it. Ideally i want it to use the css display: inline and none attributes to have the div make room when it appears. I am actually using classes and things but here is a basic example of what works in IE:
<div id="news1" onclick="news2.style.display='inline';">Find out what we've been up to.</div> <div id="news2" style="display: none;">Well, here is all the news about us...</div>
What do I need to make this effect work in Netscape/Mozilla?
Thanks!

New Topic/Question
Reply


MultiQuote



|