there are three attachments.
"menushow.jpg" is the result,the first level menu show the icons.
"copydata.html" is the main file, it use "appmenu.js" for init menu.
in code,no set the menu's icons,but in the view, the menu show icons. How can I do?
in "copydata.html", please change
<script src="D:/appmenu.js"></script> for your dir.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<script src="D:/appmenu.js"></script>
</head>