摘要:
1:主要学习实现这种菜单的方法之一 结构:<ul> <li> <span>菜单1</span> <ul> <li></li> <li></li> </ul> </li> <li> <span>菜单2</span> <ul> <li></li> <li></li> </ul> </li> </ul> 阅读全文
posted @ 2020-04-21 13:22
gaoshengjun
阅读(175)
评论(0)
推荐(0)
摘要:
1:Dom对象获取元素的几种方式 //Dom对象获取元素的方式 document.getElementById("id"); //单个获取 document.getElementsByClassName("className"); //获取的多个 document.getElementsByTagN 阅读全文
posted @ 2020-04-21 10:38
gaoshengjun
阅读(150)
评论(0)
推荐(0)
摘要:
1:页面加载的几种写法 $(function(){}), jQuery(function(){}), $(document).ready(function(){}), $().ready(function(){}) $(document).ready(function () { console.lo 阅读全文
posted @ 2020-04-21 09:19
gaoshengjun
阅读(181)
评论(0)
推荐(0)

浙公网安备 33010602011771号