Message version has too long message will put the page to support a very long, everyone to those very long message version is not feel uncomfortable to see, every time a lot of scroll bar.
If only the title appears at the beginning of each time, click on the title will appear below the content (note is not pop-up window), so it is not very good!
Next we'll look at how to do this:
First of all to the title and the content of the ID, which is the first message of the ID set, we put the title of the ID TD1, the content is TDD1, followed by the same.
Here is the title
Here is the content
Shut down
"Onclick=goit (TDD1) onmouseout=noit (TD1) onmouseover=onit (TD1)"
These three sentences are mouse events, Noit () and Onit () just change the color, Goit () is the function to open or close the content, the specific function is:
Finally, do not forget to initialize your page, is to hide the content first.
http://www.bkjia.com/PHPjc/315742.html www.bkjia.com true http://www.bkjia.com/PHPjc/315742.html techarticle message version has too long message will put the page to support a very long, everyone to those very long message version is not feel uncomfortable to see, every time a lot of scroll bar. If one ... every time .