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

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 758 bytes
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=\"287\" height=\"199\"><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=\"287\" height=\"199\"></embed></object>");
10}
Note: See TracBrowser for help on using the repository browser.