Changeset 40f3d09
- Timestamp:
- 12/23/08 19:54:45 (4 years ago)
- Branches:
- master, crem, crem2, dev, dev2, diadems, forma, generic, instru_search, lam, nlivemulti, production, release/1.4.4, security, social, storage, test, video
- Children:
- c2803e5
- Parents:
- baad12d
- git-author:
- olivier <> (12/23/08 19:54:45)
- git-committer:
- olivier <> (12/23/08 19:54:45)
- Location:
- telemeta
- Files:
-
- 3 edited
-
htdocs/css/player.css (modified) (1 diff)
-
htdocs/js/player.js (modified) (3 diffs)
-
templates/mediaitem_detail.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
telemeta/htdocs/css/player.css
r035814e r40f3d09 18 18 19 19 20 #player_maximized button, #player_minimized button { 20 #player_maximized .toggle, #player_minimized .toggle { 21 display: block; 22 overflow: hidden; 21 23 position: absolute; 22 24 right: 12px; 23 top: 2px; 24 font-size: 10px; 25 padding: 2px; 26 margin: 2px 1px 1px 1px; 27 background: transparent; 28 color: transparent; 29 width: 20px; 30 height: 10px; 31 border: solid 1px white; 32 border-top: solid 2px white; 25 top: 4px; 26 width: 18px; 27 padding: 10px 0 0 0; 28 height: 0px !important; 29 height /**/:10px; /* for IE5/Win only */ 30 background-image: url('../images/maximize.gif'); 31 text-decoration: none; 32 border: 0; 33 33 } 34 34 #player_maximized { -
telemeta/htdocs/js/player.js
rbaad12d r40f3d09 9 9 var view = $('#player'); 10 10 $('#player_maximized, #player_minimized').css('display', 'none'); 11 var button;12 11 var ctr; 13 12 if (view.parents('#player_maximized').length) { … … 18 17 ctr.css({opacity: 0, display: 'block'}); 19 18 player.resize(); 20 ctr.animate({opacity: 1}, 200, null);19 ctr.animate({opacity: 1}, 100, null); 21 20 } 22 21 … … 53 52 }); 54 53 55 $('#player_maximized button, #player_minimized button').click(function() {54 $('#player_maximized .toggle, #player_minimized .toggle').click(function() { 56 55 togglePlayerMaximization(); 57 56 this.blur(); -
telemeta/templates/mediaitem_detail.html
r1db848f5 r40f3d09 36 36 {% if item.file %} 37 37 <div id="player_maximized" class="ts-skin-lab"> 38 < button>Minimize</button>38 <a href="#" class="toggle">Minimize</a> 39 39 </div> 40 40 <div id="rightcol"> 41 41 <div id="player_minimized" class="ts-skin-lab"> 42 < button>Maximize</button>42 <a href="#" class="toggle">Maximize</a> 43 43 <div id="player" class="ts-player"> 44 44 <div class="ts-viewer">
Note: See TracChangeset
for help on using the changeset viewer.
