
Untitled
By: a guest on
Apr 26th, 2012 | syntax:
None | size: 1.29 KB | hits: 34 | expires: Never
<!-- load markup: -->
<script type="text/javascript" language="javascript" src="lib/js/tools.js"></script>
<!-- select/div markup: -->
<select name="faq">
<option value="0" onclick="faq_sel(this.value);">Please select a question/issue from the dropdown menu:</option>
<option value="a" onclick="faq_sel(this.value);">Clicking the 'Download' link launches my media player.</option>
<option value="b" onclick="faq_sel(this.value);">The video won't play in my media player after downloading.</option>
</select>
<div class="ans" id="a" style="display:none;">Instead, right-click the link and select "Save target as..." (Internet Explorer) or "Save Link As..." (Firefox).</div>
<div class="ans" id="b" style="display:none;">You don't have the H.264 codec, which can be found packaged within the <a href="http://www.codecguide.com/download_kl.htm" target="_blank">K-Lite codec pack</a>. Alternatively, you can install/use <a href="http://www.videolan.org/vlc/" target="_blank">VLC media player</a>.</div>
<!-- tools.js: -->
function faq_sel($q) {
hide_all();
document.getElementById($q).style.display = '';
}
function hide_all() {
var $divs = document.getElementsByTagName('div');
for ($i = 0; $i < $divs.length; $i++) {
if ($divs[$i].className == 'ans') {
$divs[$i].style.display = 'none';
}
}
}