»
Tiếng AnhTiếng PhápTiếng Việt

In - Liên kết popup - JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Liên kết » Liên kết popup
URL: https://www.javascriptbank.com/easy-drop-down-container-index.html

Liên kết popup © JavaScriptBank.comJavaScriptBank.com: free JavaScripts source code, Tutorials, Example Code, DHTML, CSS trình đơns, AJAX for developing web, Online services, JavaScript encryption, scrollbar maker, Resources and more. JavaScriptBank.com provide thousands of free JavaScripts for you. You can find everything about JavaScript you need in JavaScriptBank.com. You do not need to be a member to get support from JavaScriptBank.com

Phiên bản đầy đủ: jsB@nk » Liên kết » Liên kết popup
URL: https://www.javascriptbank.com/easy-drop-down-container-index.html



CSS
<style type="text/css"><!--#newspanel {  width:30%;  height:20px;  background:#f0f0f0;  overflow:hidden;}.mborder {  border:1px #404040 double;  border-top:1px #c0c0c0 double;  border-right:1px #c0c0c0 solid;  background:#f0f0f0;}--></style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script type="text/javascript"><!-- Begin/*Created by: Jeff Manning :: [email protected] */var doit = truefunction showm(ob,pict) {  if(doit) {    document.getElementById(ob).style.height = '125'    document.getElementById(pict).src = 'arrowl.gif'    doit = false  }  else {    document.getElementById(ob).style.height = '20'    document.getElementById(pict).src = 'arrowd.gif'    doit = true  }}// End --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<div id="newspanel" class="mborder">Put your heading here  <img src="arrowd.gif" alt="arrow down" title="click to view" onclick="showm('newspanel','newsst')" id="newsst"><ul style="list-style-type:none; text-align: left;"><li>Lorem ipsum dolor sit amet.</li><li>Ut wisi enim ad minim veniam.</li><li>Vel illum dolore eu feugiat.</li><li>luptatum zzril delenit augue.</li></ul></div><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


Files
http://javascriptbank.com/javascript/link/Easy_Drop_Down_Container/arrowd.gifhttp://javascriptbank.com/javascript/link/Easy_Drop_Down_Container/arrowl.gif