Changeset 44e5326ddb78f75198c06007de968545797427d9
- Timestamp:
- 24/03/06 14:11:17
(3 years ago)
- Author:
- Antoine Cellerier <dionoea@videolan.org>
- git-committer:
- Antoine Cellerier <dionoea@videolan.org> 1143205877 +0000
- git-parent:
[50d9c2c41d3c12fb3eb98ae70fc169387bafff8c]
- git-author:
- Antoine Cellerier <dionoea@videolan.org> 1143205877 +0000
- Message:
Add hide/show vlm helper button. Original idea by Albert (http://forum.videolan.org/viewtopic.php?t=18573)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r56d92ad |
r44e5326 |
|
| 45 | 45 | <span id="vlm_error"></span> |
|---|
| 46 | 46 | <br /> |
|---|
| 47 | | <button id="btn_broadcast" onclick="hide_vlm_add();show('vlm_add_broadcast');update_vlm_add_broadcast();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| 48 | | Broadcast |
|---|
| 49 | | </button> |
|---|
| 50 | | <button id="btn_vod" onclick="hide_vlm_add();show('vlm_add_vod');update_vlm_add_vod();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| 51 | | Video on Demand |
|---|
| 52 | | </button> |
|---|
| 53 | | <button id="btn_schedule" onclick="hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| 54 | | Schedule |
|---|
| 55 | | </button> |
|---|
| 56 | | <button id="btn_other" onclick="hide_vlm_add();show('vlm_add_other');update_vlm_add_other();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| 57 | | Other |
|---|
| | 47 | <span id="vlm_helper_controls"> |
|---|
| | 48 | <button id="btn_broadcast" onclick="hide_vlm_add();show('vlm_add_broadcast');update_vlm_add_broadcast();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 49 | Broadcast |
|---|
| | 50 | </button> |
|---|
| | 51 | <button id="btn_vod" onclick="hide_vlm_add();show('vlm_add_vod');update_vlm_add_vod();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 52 | Video on Demand |
|---|
| | 53 | </button> |
|---|
| | 54 | <button id="btn_schedule" onclick="hide_vlm_add();show('vlm_add_schedule');update_vlm_add_schedule();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 55 | Schedule |
|---|
| | 56 | </button> |
|---|
| | 57 | <button id="btn_other" onclick="hide_vlm_add();show('vlm_add_other');update_vlm_add_other();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 58 | Other |
|---|
| | 59 | </button> |
|---|
| | 60 | </span> |
|---|
| | 61 | <button id="btn_vlm_helper_toggle" onclick="toggle_show_vlm_helper();" onmouseover="button_over(this);" onmouseout="button_out(this);"> |
|---|
| | 62 | Hide VLM helper |
|---|
| 58 | 63 | </button> |
|---|
| 59 | 64 | </div> |
|---|
| r610ac48 |
r44e5326 |
|
| 29 | 29 | *********************************************************************/ |
|---|
| 30 | 30 | |
|---|
| | 31 | function toggle_show_vlm_helper() |
|---|
| | 32 | { |
|---|
| | 33 | var vlmh = document.getElementById( "vlm_helper" ); |
|---|
| | 34 | var vlmhctrl = document.getElementById( "vlm_helper_controls" ); |
|---|
| | 35 | var btn = document.getElementById( "btn_vlm_helper_toggle" ); |
|---|
| | 36 | if( vlmh.style.display == 'block' || vlmh.style.display == '') |
|---|
| | 37 | { |
|---|
| | 38 | vlmh.style.display = 'none'; |
|---|
| | 39 | vlmhctrl.style.display = 'none'; |
|---|
| | 40 | btn.removeChild( btn.firstChild ); |
|---|
| | 41 | btn.appendChild( document.createTextNode( 'Show VLM helper' ) ); |
|---|
| | 42 | } |
|---|
| | 43 | else |
|---|
| | 44 | { |
|---|
| | 45 | vlmh.style.display = 'block'; |
|---|
| | 46 | vlmhctrl.style.display = 'inline'; |
|---|
| | 47 | btn.removeChild( btn.firstChild ); |
|---|
| | 48 | btn.appendChild( document.createTextNode( 'Hide VLM helper' ) ); |
|---|
| | 49 | } |
|---|
| | 50 | } |
|---|
| | 51 | |
|---|
| 31 | 52 | function vlm_input_edit( dest ) |
|---|
| 32 | 53 | { |
|---|