source: trunk/www.guidonia.net/wp/wp-content/themes/facebook/scripts.js@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 1.2 KB
Line 
1function showList(id) {
2 document.getElementById('list1').style.display = 'none';
3 document.getElementById('list2').style.display = 'none';
4 document.getElementById('list3').style.display = 'none';
5 document.getElementById('list'+id).style.display = 'block';
6}
7
8function showVideo(id) {
9 document.write("<object width=\"318\" height=\"251\"><param name=\"movie\" value=\"http://www.youtube.com/v/"+id+">&amp;hl=en&amp;fs=1\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.youtube.com/v/"+id+"&amp;hl=en&amp;fs=1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"318\" height=\"251\"></embed></object>");
10}
11
12function showFlash(id) {
13 document.write("<object width=\"310\" height=\"120\"><param name=\"movie\" value=\"http://www.guidonia.net/wp/files/"+id+"\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"http://www.guidonia.net/wp/files/"+id+"\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"310\" height=\"120\"></embed></object>");
14}
Note: See TracBrowser for help on using the repository browser.