reset and begin
7/06/2009

menu simple

<pre><script language="javascript">

function chane(obj)

{

var sid=document.getElementById(obj);

if(sid.style.display=='block')

{

sid.style.display='none';

}

else

{

sid.style.display='block';

}

}

</script>


<div id="menu1" onclick="chane('sub1')">mainmenu</div>

<span id="sub1" style="display:none">

- <a href="#"> link 4</a><br />

- <a href="#">link 3</a><br />

- <a href="#">link 2</a><br />

- <a href="#">link 1</a>

</span>

<div id="menu2" onclick="chane('sub2')">mainmenu</div>

<span id="sub2" style="display:none">

- <a href="#"> link 4</a><br />

- <a href="#">link 3</a><br />

- <a href="#">link 2</a><br />

- <a href="#">link 1</a>

</span>

</pre>


Bloger Comments
G+ Comments
Comments FaceBook

No comments:

List

Profiles Information


About me : Nothing is 1 vài thứ - 1985

Places I've Lived : I Hà Nội

Home Page : http://www.shimivn.blogspot.com/

Think : 1:1000000000

Languages spoken : Vietnamese,English.

Mobile : sony C2305

dell : i3-Ram 3GB- HDD 250GB .