-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample79.htm
More file actions
executable file
·53 lines (40 loc) · 1.29 KB
/
example79.htm
File metadata and controls
executable file
·53 lines (40 loc) · 1.29 KB
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
44
45
46
47
48
49
50
51
52
53
<!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 79</title>
<script src="PJ.js"></script>
<script>Initialize()</script>
</head><body>
<div id='billb' style='display:none'>
<font face='Times New Roman'>
<div id='b1'><img id='p1' src='palace.png' align='left' style=
'padding-right:10px'>For sale: 600 room, 300 year old central London
house, located close to all the amenities, right in the heart of
Westminster.</div>
<div id='b2'><img id='p2' src='plan.png' align='right' style=
'padding-left:10px'>829,818 sq ft: Historical setting, famous
residents, exquisitely decorated throughout. Phone 555 1234 for more
details.</div>
<img id='b3' src='london.png' />
</div>
<script>
window.onload = function()
{
S('billb').border = 'solid 1px'
Resize('billb', 320, 100)
objects = Array('b1', 'b2', 'b3')
Resize(objects, 320, 100)
S(objects, 'background.Color', '#ffffff')
Show('billb')
Billboard('billb', objects, 1, 500, 3000)
O('billb').onmouseover = pause
O('billb').onmouseout = resume
function pause()
{
Billboard('billb', '', '', '', 'stop')
}
function resume()
{
Billboard('billb', objects, 1, 500, 3000)
}
}
</script>