FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "Sound_tests"


expected html
nothing
t1Here are some sound tests.t
2<p>
3I got here from <a style="color:red;" href="/tbwiki/Nathans_page">Nathans page</a>
4<p>
5<a href="/tbwiki/Nathan_Sound_Board">Nathan Sound Board</a>
6<p>
7Here is a script that plays a soundfile on startup.  You can't see it, but it's here.
8 
9<script language="javascript" type="text/javascript">
10 function playSound(soundfile) {
11 document.getElementById("dummy").innerHTML=
12 "<embed src=\""+soundfile+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />";
13 }
14</script>
15 
16<p>
17 
18If you click on the following paragraph, including the image, you should hear a click sound.<br>
19 
20<p onclick="playSound('/tbw-files/hit1.ogg');">
21<font color="red">Nathan image inside paragraph with sound.<br>
22There's more text here just to put more text on the screen so we can see if the onclick
23also applies to text
24<br>
25Add some more text here<br>and some more text which is kind of verbose here.<br>
26and here<br>so there's something obvious to click on.</font>
27<br>
28<img src="/tbw-files/Nathan-as-Steve-from-minecraft-cropped.jpg" height="320" width="180">
29</p>
30<p>
31 
32<h2>onclick example (piano)<h2>
33Here's an onclick example that loads a sound from another site.
34<span id="dummy"></span>
35<a href="#" onclick="playSound('http://www.kozco.com/tech/piano2-Audacity1.2.5.mp3');">Click here to hear a piano sequence (mp3)</a>
36 
37<h2>onmouseover example (scream)<h2>
38<p onmouseover="playSound('/tbw-files/scream1.ogg');">Mouse over this text to hear a scream.</p>
39 
40<h2>embed example<h2>
41Here is an alternate example of sounds, using embed and object tags.
42 
43''These are currently disabled.  To test them, remove the '-not' from the tags.
44 
45<embed-not height="100" width="100" src="http://www.kozco.com/tech/piano2-Audacity1.2.5.mp3">
46 
47<h2>object example (stare)<h2>
48<object-not height="50" width="100" data="/tbw-files/stare.ogg"></object>
49 
50<h2>object example (scream1)<h2>
51<object-not height="50" width="100" data="/tbw-files/scream1.ogg"></object>
52 
53 
54Here's a ghast.  The image is not connected to anything.
55<img src="/tbw-files/150px-Ghast.png" height="172" width="172">
56 
57 
58<p>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "Sound_tests"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
TBWiki engine 1.9.3 by Tim Bird