OLD | NEW |
---|---|
1 <script type="text/javascript"> | 1 <script type="text/javascript"> |
2 function SetSrc(src) { | 2 function SetSrc(src) { |
3 plugin = document.getElementById('plugin'); | 3 plugin = document.getElementById('plugin'); |
4 plugin.src = src; | 4 plugin.src = src; |
5 } | 5 } |
6 function SetSize(w, h) { | 6 function SetSize(w, h) { |
7 plugin = document.getElementById('plugin'); | 7 plugin = document.getElementById('plugin'); |
8 plugin.width = w; | 8 plugin.width = w; |
9 plugin.height = h; | 9 plugin.height = h; |
10 } | 10 } |
11 function Back() { | |
12 plugin = document.getElementById('plugin'); | |
lazyboy
2012/09/20 20:05:42
here and below:
var plugin = document.getElementBy
Fady Samuel
2012/09/21 15:21:56
Done.
| |
13 plugin.back(); | |
14 } | |
15 function Forward() { | |
16 plugin = document.getElementById('plugin'); | |
17 plugin.forward(); | |
18 } | |
19 function Go(relativeIndex) { | |
20 plugin = document.getElementById('plugin'); | |
21 plugin.go(relativeIndex); | |
22 } | |
11 </script> | 23 </script> |
12 | 24 |
13 <object id="plugin" | 25 <object id="plugin" |
14 tabindex="0" | 26 tabindex="0" |
15 type="application/new-browser-plugin" | 27 type="application/new-browser-plugin" |
16 width="640" | 28 width="640" |
17 height="480" | 29 height="480" |
18 border="0px"></object> | 30 border="0px"></object> |
OLD | NEW |