-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample74.htm
More file actions
executable file
·35 lines (27 loc) · 809 Bytes
/
example74.htm
File metadata and controls
executable file
·35 lines (27 loc) · 809 Bytes
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head><title>Plug-in JavaScript: Example 74</title>
<script src="PJ.js"></script>
<script>Initialize()</script>
</head><body>
<center>
<b>
<font face='Verdana' size='6'>
<span id='t'>New - See our latest offers!</span><br />
<span id='m'>Mouseover Me</span>
</font>
</b>
</center>
<script>
window.onload = function()
{
ColorFade('t', '#ffff00', '#0000ff', 'text', 2000, 0)
ColorFade('t', '#0000ff', '#ffff00', 'back', 2000, 0)
O('m').onmouseover = function() { fade('#000000', '#0088ff') }
O('m').onmouseout = function() { fade('#0088ff', '#00000') }
function fade(a, b)
{
ColorFade('m', a, b, 'text', 256, 1)
}
}
</script>