往往在一个系统中很多页面都有相同的部分,比如导航栏,那么在活字格母版页是用来设计共享部分的页面。
也就是说母版页可以给多个普通页面共享使用,那么共享的部分比如导航栏就可以直接设计在母版页中。
在母版页中分为两部分,一部分是普通的单元格区域,可以进行设计,比如导航按钮等等,另外一个是页面占位区
页面占位区是用来切换显示普通页面的。
<video src="http://video1.grapecity.com.cn/HuoZiGe/Tutorials/第14章管理网页页面/14.3母版页.mp4" width="800" height="450" poster="http://video1.grapecity.com.cn/HuoZiGe/Tutorials/第14章管理网页页面/14.3母版页.jpg" controls="controls" onplaying="startplay()">您的浏览器不支持播放此视频。</video> <script> var isplayed = 1; var startplay = function(){ if(isplayed){ ga('send', 'event', 'Play Video', '活字格', '第14章 管理网页页面'); isplayed = 0; } return false; } </script> |