add new menu

This commit is contained in:
lh_wang
2015-08-21 16:11:39 +08:00
parent b19fdc32bb
commit c3da446b54
2 changed files with 13 additions and 8 deletions
+3 -3
View File
@@ -82,7 +82,7 @@
<div class="tag alizarin">2</div> <div class="tag alizarin">2</div>
<a> <a>
<i class="icon bubble"></i> <i class="icon bubble"></i>
<strong>Event监控</strong> <strong>业务大盘</strong>
</a> </a>
</li> </li>
<li data-selected="selected" class="" data-href="Problem_section" id="module_Problem_section"> <li data-selected="selected" class="" data-href="Problem_section" id="module_Problem_section">
@@ -238,7 +238,7 @@
</li> </li>
<li data-icon="checkbox-checked" class="active" data-href="Event_section" data-icons="bubble"> <li data-icon="checkbox-checked" class="active" data-href="Event_section" data-icons="bubble">
<span class="icon bubble"></span> <span class="icon bubble"></span>
<i class="icon checkbox-checked"></i>Event监控 <i class="icon checkbox-checked"></i>业务大盘
</li> </li>
<li data-icon="checkbox-checked" data-href="Problem_section" data-icons="bell"> <li data-icon="checkbox-checked" data-href="Problem_section" data-icons="bell">
<span class="icon bell"></span> <span class="icon bell"></span>
@@ -246,7 +246,7 @@
</li> </li>
<li data-icon="checkbox-unchecked" data-href="Matraix_section" data-icons="rocket"> <li data-icon="checkbox-unchecked" data-href="Matraix_section" data-icons="rocket">
<span class="icon rocket"></span> <span class="icon rocket"></span>
<i class="icon checkbox-unchecked"></i>Matraix监控 <i class="icon checkbox-unchecked"></i>网络大盘
</li> </li>
</ul> </ul>
</article> </article>
+10 -5
View File
@@ -488,14 +488,19 @@ function clearNotice(){
} }
} }
var playHandle;
function autoPlay(){ function autoPlay(){
console.log("autoPlay") console.log("autoPlay");
var myAuto = document.getElementById('myaudio'); playHandle &&(clearTimeout(playHandle), playHandle=null);
myAuto.play(); playHandle = setTimeout(function(){
setTimeout(function(){ var myAuto = document.getElementById('myaudio');
myAuto.pause(); myAuto.play();
setTimeout(function(){
myAuto.pause();
}, 1000);
}, 1000); }, 1000);
} }