(刚才我使用HTML编辑,直接使用iFrame将外部的页面嵌入这里,保存,然后灾进行编辑的时候,竟然使得IE出现问题,试了几次都是这样,怎么搞的嘛!)
代码:
1
<div id=SEng class="Econtent"><img src="zd.gif" align="absmiddle"> <span class=EnText></span><div class=ChText></div></div><div style="height:5px;overflow:hidden"></div>
2
<script>
3
//-------------背单词------------
4
var En=new Array()
5
var Ch=new Array()
6
var Ei=0
7
function showE(first){
8
if (first!=1) SEng.filters[0].apply();
9
SEng.innerHTML="<img src='zd.gif' align='absmiddle'> <span class=EnText>"+En[Ei]+"</span><div class=ChText>"+Ch[Ei]+"</div>"
10
if (first!=1) SEng.filters[0].play();
11
Ei++
12
if (Ei==En.length) {Ei=0}
13
}
14
15
En[0]='A man,a horse,and a dog are never weary of each others company.'
16
Ch[0]='人、马、狗可以永远相伴不厌倦。'
17
En[1]='A well-Prepared mind hopes in adversity and fears in prosperity.'
18
Ch[1]='遇事有准备的人逢逆境不失望,处顺境不大意。'
19
En[2]='Every man is his own enemy.'
20
Ch[2]='人都有与自己为敌的时候. /败事全由已.'
21
En[3]='Great men\'s sons soldom do well.'
22
Ch[3]='伟人的儿子有出息的不多。'
23
En[4]='Happiness is a way station between too much and too little.'
24
Ch[4]='幸福是太多和太少之间的一站.'
25
En[5]='If Jack\'s in love, he\'s no judge of Jill\'s beauty.'
26
Ch[5]='要是杰克爱上了吉尔,吉尔再丑他也说俊俏.'
27
En[6]='If you have a garden and a library, you have everything you need.'
28
Ch[6]='如果你有一块园地和一个图书馆,那么你就拥有了你所需要的一切.'
29
En[7]='Knowledge is a matter of science,and no dishonesty or conceit whatsoever is permissible.What is required is definitely the reverse--honesty and modesty.'
30
Ch[7]='知识的问题是一个科学问题,来不得半点的虚伪和骄傲,决定地需要的倒是其反面--诚实和谦逊的态度.'
31
En[8]='Men at some time are masters of their fates.'
32
Ch[8]='人有时是命运的主人.'
33
En[9]='Most of the trouble in the world is caused by people wanting to be important.'
34
Ch[9]='世界上大部分的麻烦都是要想成为伟大人物的人搞出来的。'
35
En[10]='The most precious of all possessions is a wise and loyal friend.'
36
Ch[10]='最宝贵的财富是明智而忠实的朋友.'
37
En[11]='Too many cooks spoil the broth.'
38
Ch[11]='厨师太多烧坏汤。'
39
En[12]='You never know what you can do till you try.'
40
Ch[12]='不尝试就不知道你能做什么.'
41
En[13]='Better safe than sorry'
42
Ch[13]='小心不出大错。'
43
En[14]='From 4 to 4:30.'
44
Ch[14]=' 四点到四点半。'
45
En[15]='I\'ll take it'
46
Ch[15]='我要了。'
47
En[16]='He majored in Computers.'
48
Ch[16]=' 他主修计算机。'
49
En[17]='"Oh,that\'s not good."'
50
Ch[17]=' 哦,那可不好。'
51
En[18]='I\'ve got a pain in my back.'
52
Ch[18]=' 我背疼。'
53
En[19]='Please give me your advice.'
54
Ch[19]=' 请给我提些建议。'
55
showE(1);window.setInterval ("showE()",10000)</script><style type="text/css">
56
<!--
57
body {
58
margin-top: 3px;
59
margin-bottom: 0px;
60
}
61
.Econtent{
62
border:1px #999999 solid;
63
padding:4px;
64
background-color:#fafafa;
65
width:99.6%;
66
cursor:default;
67
font-family: Tahoma, Verdana, "宋体";
68
font-size: 12px;
69
color:#333333;
70
filter:blendtrans(duration=.3);
71
}
72
.EnText{
73
font-family: Verdana, "宋体";
74
font-size: 11px;
75
color:#0000ff;
76
}
77
.ChText{
78
padding-left:20px;
79
padding-top:4px;
80
border-top:1px #cccccc solid;
81
font-family: "宋体";
82
font-size: 12px;
83
color:#006600;
84
margin-top:4px;
85
}
86
-->
87
</style>

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

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87
