Difference between revisions of "Team:CHINA CD UESTC/memberDemo"

 
Line 1: Line 1:
 
{{Template:Team:CHINA_CD_UESTC/menu}}
 
{{Template:Team:CHINA_CD_UESTC/menu}}
{{Template:Team:CHINA_CD_UESTC/menu/style}}
 
  
 
<!DOCTYPE html>
 
<!DOCTYPE html>
Line 87: Line 86:
 
<script type="text/javascript" src="./saved.js"></script>  
 
<script type="text/javascript" src="./saved.js"></script>  
 
<script src='./jquery.js'></script>  
 
<script src='./jquery.js'></script>  
<script type="text/javascript">
 
  //slide menu
 
  $(function() {
 
var Accordion = function(el, multiple) {
 
this.el = el || {};
 
this.multiple = multiple || false;
 
 
// Variables privadas
 
var links = this.el.find('.link');
 
// Evento
 
links.on('mouseenter', {el: this.el, multiple: this.multiple}, this.dropdown)
 
}
 
 
 
Accordion.prototype.dropdown = function(e) {
 
var $el = e.data.el;
 
$this = $(this),
 
$next = $this.next();
 
 
$next.slideToggle();
 
$this.parent().toggleClass('open');
 
 
if (!e.data.multiple) {
 
$el.find('.submenu').not($next).slideUp().parent().removeClass('open');
 
};
 
}
 
 
var accordion = new Accordion($('#accordion'), false);
 
});</script>
 
<script type="text/javascript">//<![CDATA[
 
var controllerName="home";
 
var actionName="index";
 
var base="";
 
var baseLang="/en";
 
var lang="en";
 
data=[];//]]>
 
</script>
 
  
 
     </script>
 
     </script>
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 03:04, 21 May 2015

<!DOCTYPE html>

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试

正文测试