easyslider

Posted on 2010-11-22 20:30  Leon0812  阅读(242)  评论(0编辑  收藏  举报

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Easy Slider jQuery Plugin Demo</title>
	    
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/easySlider1.5.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){	
			$("#slider").easySlider();
		});	
	</script>
	
<style type="text/css">

	body {
		background:#fff url(images/bg_body.gif) repeat-x;
		font:80% Trebuchet MS, Arial, Helvetica, Sans-Serif;
		color:#333;
		 
		margin:0;
		padding:0;
		text-align:center;
	}
	h1{
		font-size:180%;
		font-weight:normal;
		margin:0;
		padding:20px;
		}
	h2{
		font-size:160%;
		font-weight:normal;
		}	
	h3{
		font-size:140%;
		font-weight:normal;
		}	
	img{border:none;}
	pre{
		display:block;
		font:12px "Courier New", Courier, monospace;
		padding:10px;
		border:1px solid #bae2f0;
		background:#e3f4f9;	
		margin:.5em 0;
		width:674px;
		}	
			
    /* image replacement */
        .graphic, #prevBtn, #nextBtn{
            margin:0;
            padding:0;
            display:block;
            overflow:hidden;
            text-indent:-8000px;
            }
    /* // image replacement */
			

	#container{	
		margin:0 auto;
		position:relative;
		text-align:left;
		width:696px;
		background:#fff;		
		margin-bottom:2em;
		}	
	#header{
		height:80px;
		background:#5DC9E1;
		color:#fff;
		}				
	#content{
		position:relative;
		}			

/* Easy Slider */

	#slider{}	
	#slider ul, #slider li{
		margin:0;
		padding:0;
		list-style:none;
		}
	#slider li{ 
		/* 
			define width and height of list item (slide)
			entire slider area will adjust according to the parameters provided here
		*/ 
		width:696px;
		 
		overflow:hidden; 
		}	
	#prevBtn, #nextBtn{ 
		display:block;
		width:30px;
		height:77px;
		position:absolute;
		left:-30px;
		top:71px;
		}	
	#nextBtn{ 
		left:696px;
		}														
	#prevBtn a, #nextBtn a{  
		display:block;
		width:30px;
		height:77px;
		background:url(images/btn_prev.gif) no-repeat 0 0;	
		}	
	#nextBtn a{ 
		background:url(images/btn_next.gif) no-repeat 0 0;	
		}		
	.xxx
		{
            position:absolute; 
            right:50px; 
            bottom:50px; 
            color:red; 
            font-weight:bold; 
        }					

/* // Easy Slider */

</style>	
	
</head>
<body>

<div id="container">

	<div id="content">
	
		<div id="slider">
			<ul>
                <li> 
 
                     <div style= "position:relative ">
                    <div class="xxx"> 图片文字01 </div>
                    <img src="images/01.jpg" alt="Css Template Preview" />
                    </div>
                </li>
                <li> 
                     <div style= "position:relative ">
                    <div  class="xxx"> 图片文字02 </div>
                    <img src="images/02.jpg" alt="Css Template Preview" />
                    </div>
                </li>
<!--                <li> 
                    <img src="images/03.jpg" alt="Css Template Preview" />
                    <div class="xxx">Pic 03</div>
                </li>
                <li> 
                    <img src="images/04.jpg" alt="Css Template Preview" />
                    <div class="xxx">Pic 04</div>
                </li>
                <li> 
                    <img src="images/05.jpg" alt="Css Template Preview" />
                    <div class="xxx">Pic 05</div>-->
                </li>
            </ul>
		</div>
			
	</div>

</div>

</body>
</html>

Copyright © 2024 Leon0812
Powered by .NET 8.0 on Kubernetes