<script type="text/javascript"
src="http://lmcdwriting.org/userfiles/lmcsilver20121007/SlidingBackgroundImageMenu/js/jquery.bgImageMenu.js"></script>
<script type="text/javascript"
src="http://lmcdwriting.org/userfiles/lmcsilver20121007/SlidingBackgroundImageMenu/js/jquery.easing.1.3.js"></script>
$(function () {
$('#sbi_container').bgImageMenu({
defaultBg : '開頭照片網址',
menuSpeed : 300,
border : 1,
width : 580,
height : 386 ,
type : {
mode : 'verticalSlideAlt',
speed : 450,
easing : 'easeOutBack'
}
});
});
</script>
href="http://lmcdwriting.org/userfiles/lmcsilver20121007/SlidingBackgroundImageMenu/css/sbimenu.css"
media="screen">
<style>
.sbi_content ul li{
font-family: Verdana, '微軟正黑體';
font-size: 1.02em;
font-weight: normal;
line-height: 160%;
text-align: left;
background: rgba(105,105,105,0.6);
height: 100px;
}
</style>
<div class="sbi_panel"
data-bg="第一照片網址"><a
href="#" class="sbi_label">第一標題 </a>
<div class="sbi_content">
<ul>
<li>第一內文 <br>
</li>
</ul>
</div>
</div>
<div class="sbi_panel"
data-bg="第二照片網址">
<a href="#" class="sbi_label">第二標題</a>
<div class="sbi_content">
<ul>
<li>第二內文<br>
<br>
</li>
</ul>
</div>
</div>
<div class="sbi_panel"
data-bg="第三照片網址">
<a href="#" class="sbi_label">第三標題</a>
<div class="sbi_content">
<ul>
<li>第三內文<br>
</li>
</ul>
</div>
</div>
</div>
原始語法來源:Sliding Background Image Menu