| | |
Drop down box won't shut off video on reverse in IE
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I have a problem that is particular to certain browsers. My Dad's website attempts to show a video when the user clicks on the video title link. On clicking, a drop down box extends, and the video content plays. Then if user choses to close the dropdown box, the video content disappears. This is the code used:
[html]
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Watch</a>
<a href="http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv">Download Video</a>
<a href="http://www.obreiroaprovado.com/assista/flv/audio/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).mp3">mp3</a>
"A Graca de Deus"
<div id="gracadedeus(taber)" style="display:none;">
<p>
<!-- ****** Begin embed video code ****** //-->
<center>
<embed src="http://www.obreiroaprovado.com/video/flv/flvplayer.swf?file=http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv&autoStart=true" width="320" height="240" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Close</a>
</center>
<!-- ****** End embed video code ****** //-->
[/html]
My problem is: while Firefox correctly ceases the video playing should the user close the content box, in IE the box and video disappear however you can still hear the audio of the video as if it were still playing.
The webpage I speak of in particular is this one (in Portuguese): http://www.obreiroaprovado.com/assis...ideo/prcalvin/
My understanding of HTML doesn't help me out much in this problem, and I would appreciate any ideas you all have to fix the problem, even if it means adding more code somewhere.
Thanks for your time,
Daniel
[html]
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Watch</a>
<a href="http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv">Download Video</a>
<a href="http://www.obreiroaprovado.com/assista/flv/audio/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).mp3">mp3</a>
"A Graca de Deus"
<div id="gracadedeus(taber)" style="display:none;">
<p>
<!-- ****** Begin embed video code ****** //-->
<center>
<embed src="http://www.obreiroaprovado.com/video/flv/flvplayer.swf?file=http://www.obreiroaprovado.com/assista/flv/video/prcalvin/tabernaculo/A%20Graca%20de%20Deus_(Tabernaculo).flv&autoStart=true" width="320" height="240" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
<a href="javascript:ReverseContentDisplay('gracadedeus(taber)')">Close</a>
</center>
<!-- ****** End embed video code ****** //-->
[/html]
My problem is: while Firefox correctly ceases the video playing should the user close the content box, in IE the box and video disappear however you can still hear the audio of the video as if it were still playing.
The webpage I speak of in particular is this one (in Portuguese): http://www.obreiroaprovado.com/assis...ideo/prcalvin/
My understanding of HTML doesn't help me out much in this problem, and I would appreciate any ideas you all have to fix the problem, even if it means adding more code somewhere.
Thanks for your time,
Daniel
Noob alert! Please give plenty of room for mindless confusion.
![]() |
Similar Threads
- Drop Down Menu Height (JavaScript / DHTML / AJAX)
- Populating a fields on a form base on a selected item from a droplist. (PHP)
- Adding controls into a ListView (Visual Basic 4 / 5 / 6)
- Windows ME keeps restarting instead of shutting down (Windows 95 / 98 / Me)
- System Processes in XP? NetTsk.exe? (Windows NT / 2000 / XP)
- Boot up issues (Windows NT / 2000 / XP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Help with Javascript
- Next Thread: Printing in landscape
| Thread Tools | Search this Thread |
ajax ajaxcode ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column cookies createrange() css cursor dependent disablefirebug dom download dropdown editor element engine error events explorer ext file form forms google gwt gxt hiddenvalue highlightedword html htmlform ie8 iframe image() images internet java javascript jawascriptruntimeerror jquery jsf jsfile jump libcurl math media microsoft mimic object onerror onmouseoutdivproblem onreadystatechange parent pdf php player post problem progressbar rated rating regex runtime scroll search security select session shopping size software sql star stars synchronous text textarea unicode validation w3c web website window windowofwords windowsxp wysiwyg xml \n





