首页>>焦点图>>固定高度全屏slide又一例(2016-03-22)

固定高度全屏slide又一例

 本例与《jquery全屏图片滑动切换代码,固定高度》有一定的区别,链接有文字,当然是隐藏的,另外本例很方便在banner中添加其他元素,包括图片,文字等等

固定高度全屏slide又一例
赞赏支持
立刻微信赞赏支持 关闭

 

XML/HTML Code
  1. <div id="full-screen-slider" unselectable="on" style="-moz-user-select:none;" onselectstart="return false;">  
  2.                     <ul id="slides" style="position: relative; width: 1903px; height: 370px;">  
  3.                                         <li style="position: absolute; width: 1903px; left: 0px; top: 0px; display: none; background: url('http://www.freejs.net/demo/540/images/slide1.jpg') 50% 50% no-repeat;"><a href="#" target="_blank">3月活动</a></li>  
  4.                                         <li style="position: absolute; width: 1903px; left: 0px; top: 0px; display: none; background: url('http://www.freejs.net/demo/540/images/slide2.jpg') 50% 50% no-repeat;"><a href="#" target="_blank">活动</a></li>  
  5.                                         <li style="position: absolute; width: 1903px; left: 0px; top: 0px; display: block; background: url('http://www.freejs.net/demo/540/images/slide3.jpg') 50% 50% no-repeat;"><a href="#" target="_blank">app</a></li>  
  6.                                          
  7.                                 </ul>  
  8.             <ul id="pagination" style="margin-left: -180px;"><li class=""><a>1</a></li><li class=""><a>2</a></li><li class="on"><a>3</a></li><li class=""><a>4</a></li><li class=""><a>5</a></li><li class=""><a>6</a></li></ul>  
  9.             <div class="slide-tabs slide-left pngFix" style="display: block; opacity: 0.3721;"></div>  
  10. <div class="slide-tabs slide-right pngFix" style="display: block; opacity: 0.3721;"></div>  
  11.                         <div class="user-state">              
  12.                         <div class="logged-state">  
  13.                 <p class="welcome">欢迎来freejs.net</p>  
  14.                   
  15.             </div>  
  16.                     </div>  
  17.             </div>  
  18.        
  19. </div>  

 


原文地址:http://www.freejs.net/article_jiaodiantu_541.html