Team:KAIST-Korea/menu-BrandNew
From 2011.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<head> | <head> | ||
- | <script type="text/javascript"> | + | <script type="text/javascript" language="javascript"> |
- | function | + | function SubMenu(){ |
+ | document.write("hello world!"); | ||
+ | } | ||
</script> | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | # | + | #Icon { |
width : 50px; | width : 50px; | ||
height : 50px; | height : 50px; | ||
border : 2px solid blue; | border : 2px solid blue; | ||
} | } | ||
- | . | + | .Menu{ |
position:relative; | position:relative; | ||
width:400px; | width:400px; | ||
Line 29: | Line 31: | ||
<body> | <body> | ||
- | <ul class=" | + | <ul class="Menu"> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/1/11/Calculator_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/9/93/Computer_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/e/ea/Control_panel_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/6/6c/Email_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/3/3e/Mac_DVD_player_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/4/4f/Mac_simple_test.png"/></a></li> |
- | <li ><a href=" | + | <li ><a href="javascript:SubMenu();"><img id="Icon" src="https://static.igem.org/mediawiki/2011/f/f3/Search_test.png"/></a></li> |
</ul> | </ul> | ||
Revision as of 15:24, 3 August 2011