GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — webSpecialEffect/animate.html at master · 93qlin/webSpecialEffect

Expand file tree

/

animate.html

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
43 lines (41 loc) · 1.46 KB
/

animate.html

Copy path

File metadata and controls

43 lines (41 loc) · 1.46 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!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=utf-8" />
<title>懒人原生jQuery小动画效果</title>
<style>
*{margin: 0;padding: 0;list-style: none;}
#lanren{width: 120px;height: 255px;overflow: hidden;position: relative; margin:100px auto;}
#lanren img{position: absolute;top: 0}
#lanren img#left{left: 0;z-index: 2;opacity:0; filter:alpha(opacity=0);}
#lanren img#middle{left: 0;z-index: 1;}
#lanren img#right{right: 0;z-index: 2;opacity:0; filter:alpha(opacity=0);}
</style>
</head>
<body>
<div id="lanren">
<img src="images/2.jpg" height="255" width="60" alt="" id="left" />
<img src="images/3.jpg" height="255" width="120" alt="" id="middle" />
<img src="images/1.jpg" height="255" width="60" alt="" id="right" />
</div>
<script src="http://www.lanrenzhijia.com/ajaxjs/jquery.min.js"></script>
<script>
$(function(){
$('#lanren img#middle').animate({
'opacity':'0.3',
'filter':"alpha(opacity=30)"
},2000,function(){
$('#lanren img#left').animate({
'opacity':'0.7',
'filter':'alpha(opacity=70)'
},1400,function(){
$('#lanren img#right').animate({
'opacity':'0.7',
'filter':"alpha(opacity=70)"
},900);
});
});
})
</script>
</body>
</html>
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.