Skip to content

Commit

Permalink
实现左右满屏焦点图代码
Browse files Browse the repository at this point in the history
实现左右满屏焦点图代码
  • Loading branch information
hehongwei44 committed Aug 4, 2014
1 parent 3333c03 commit 9286429
Show file tree
Hide file tree
Showing 15 changed files with 960 additions and 0 deletions.
56 changes: 56 additions & 0 deletions 实现左右满屏焦点图代码/css/lanrenzhijia.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@charset "utf-8";
body {
margin:0px;
}
img {
border: none;
vertical-align: middle;
}
img {
-ms-interpolation-mode: bicubic;
}
/* common
-----------------------------------------------*/
/*__ 代码整理:懒人之家_*/
#maincontent {
background:#000;
height:528px;
overflow:hidden;
position:relative;
}
#maincontent div.pict {
cursor: default !important;
}
#maincontent div.main {
position: static;
text-align: center;
display: block;
cursor: pointer !important
}
#maincontent .element {
display: none;
position: absolute !important;
}
#maincontent .left {
top :200px;
left: 0;
cursor: pointer;
}
#maincontent .right {
top: 200px;
right: 0;
cursor: pointer;
}
#maincontent .main .guardian {
display: none;
height: 0;
}
#maincontent .navi {
z-index: 9999999;
}
div#maincontent div.main {
display:none;
}
div#maincontent div.element {
position:absolute !important;
}
Binary file added 实现左右满屏焦点图代码/image/0001.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 实现左右满屏焦点图代码/image/0004.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 实现左右满屏焦点图代码/image/002.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 实现左右满屏焦点图代码/image/003.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 实现左右满屏焦点图代码/image/left.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 实现左右满屏焦点图代码/image/right.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions 实现左右满屏焦点图代码/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>jQuery实现左右满屏焦点图代码</title>
<script type="text/javascript" src="js/jquery.pack.js"></script>
<script type="text/javascript" src="js/slides.js"></script>
<script type="text/javascript" src="js/lanrenzhijia.js"></script>
<link href="css/lanrenzhijia.css" rel="stylesheet" type="text/css">
</head>

<body style="text-align:center">

<div id="maincontent">
<div class="element pict"><a href="#"><img src="image/0001.jpg"></a></div>
<div class="element pict"><a href="#"><img src="image/zhaopin.jpg"></a></div>
<div class="element pict main"><a href="#"><img src="image/002.jpg"></a></div>
<div class="element pict"><a href="#"><img src="image/003.jpg"></a></div>
<div class="element pict"><a href="#"><img src="image/0004.gif"></a></div>
<div class="element pict"><a href="#"><img src="image/weibo.jpg"></a></div>

<div class="element navi left"><img src="image/left.gif" alt="left"></div>
<div class="element navi right"><img src="image/right.gif" alt="right"></div>
</div>
</body>
</html>
179 changes: 179 additions & 0 deletions 实现左右满屏焦点图代码/js/jquery.pack.js

Large diffs are not rendered by default.

Loading

0 comments on commit 9286429

Please sign in to comment.