npapi-vlc | branch: master | Daniel Amm <[email protected]> | Sun Jun 14 00:35:39 2015 +0200| [bf9a9d87edde0b9f065c03a32d7834c2835f35ce] | committer: Jean-Baptiste Kempf
test.html: Improve working of select tags Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=bf9a9d87edde0b9f065c03a32d7834c2835f35ce --- share/test/test.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/share/test/test.html b/share/test/test.html index e474d6d..7579a18 100644 --- a/share/test/test.html +++ b/share/test/test.html @@ -331,7 +331,7 @@ function close() </tr> <tr> <td>Audio Channel: - <select onClick='doAudioChannel(this.value);'> + <select onChange='doAudioChannel(this.value);'> <option value="1">Stereo</option> <option value="2">Reverse Stereo</option> <option value="3">Left</option> @@ -377,7 +377,7 @@ function close() <input type="button" value="Enable" onClick='getVLC("vlc").video.marquee.enable();'> <input type="button" value="Disable" onClick='getVLC("vlc").video.marquee.disable();'> <input type="text" size="4" value="" id="marqueeIntValue"> - <select onClick="doMarqueeOption(this.value,document.getElementById('marqueeIntValue').value);"> + <select id="marqueeSelect"> <option value="1">Color</option> <option value="2">Opacity</option> <option value="3">Position</option> @@ -388,6 +388,7 @@ function close() <option value="8">X</option> <option value="9">Y</option> </select> + <input type="button" onclick="doMarqueeOption(document.getElementById('marqueeSelect').value,document.getElementById('marqueeIntValue').value);" value="Go"> </td> </tr> <tr> @@ -395,7 +396,7 @@ function close() <input type="button" value="Enable" onClick='getVLC("vlc").video.logo.enable();'> <input type="button" value="Disable" onClick='getVLC("vlc").video.logo.disable();'> <input type="text" size="4" value="" id="logoIntValue"> - <select onClick="doLogoOption(this.value,document.getElementById('logoIntValue').value);"> + <select id="logoSelect"> <option value="1">File</option> <option value="2">Position</option> <option value="3">Opacity</option> @@ -404,6 +405,7 @@ function close() <option value="6">X</option> <option value="7">Y</option> </select> + <input type="button" onclick="doLogoOption(document.getElementById('logoSelect').value,document.getElementById('logoIntValue').value);" value="Go"> </td> </tr> <tr> _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
