Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
jmack159 #1
javascript problem!
I have JavaScript question. on my page, I have two videos I want to link to,
one low bandwidth, one high bandwidth. I want to have a dropdown menu for the
user to select either low or high bandwidth, and a button that will play the
video with bandwidth selected. the code I have is as follows:
<script type="text/JavaScript">
//video select//
function gothere(){
var box = document.noacvideoselect.bandwithselect.options;
var where_to = box.value;
if (where_to == ""){return}
else {window.location = where_to;}
}
</script>
<form name="noacvideoselect">
<select name="bandwithselect">
<option selected="selected">--select a bandwidth--</option>
<option value="/~thackray/flash/noac2006flash_highqual.exe">High
Bandwith</option>
<option value="/~thackray/flash/noac2006flash_lowqual.exe">Low
Bandwidth</option>
</select>
<input type="button" value="Play Movie!" onclick="goThere()" />
</form>
this is not working correctly. I think there is a problem with my JavaScript,
but I am not sure what it is. can you help me? thanks!
jmack159 Guest
-
problem with Acrobat 3D and Javascript
I try to make invisible an object in 3D annotation, but I have the following error "node has no properties". My code: var a3d = getAnnots3D(0); if... -
javascript problem in CF 7 MX and IE 6.0
I've got a javascript pull down menu on my pages and they work fine on regular HTML pages, but in Coldfusion pages, they render whitespace as... -
PHP & Javascript problem
Hi, This is more a javascript than a PHP problem, but anyway, if anyone can help.... I have a script that will dynamically create a series of... -
javascript problem
This is probably a no brainer, but I am having no luck at getting this to work. I'm creating functions that will validate form data fields. For... -
Javascript Problem in IE
All buttons with javascript in Web pages do not work in IE5.0 and IE6.0. My Windows version is XP. Is there any software crashes ? Crash with Norton... -
VVebbie #2
Re: javascript problem!
Try document.location.href instead of window.location.
Why wouldn't you just provide a link to the low and high quality versions though?
VVebbie Guest
-
jmack159 #3
Re: javascript problem!
that didnt work. i wanted to use this method because i plan to later use the same script to do the task, but with several more files.
jmack159 Guest



Reply With Quote

