Changeset 40f3d09


Ignore:
Timestamp:
Dec 23, 2008 7:54:45 PM (6 years ago)
Author:
olivier <>
Branches:
master, crem, crem2, crem3, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, forma, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, prob, production, release/1.4.4, sabiod, search, security, server, social, storage, telecaster, test, video
Children:
c2803e5
Parents:
baad12d
git-author:
olivier <> (23/12/2008 19:54:45)
git-committer:
olivier <> (23/12/2008 19:54:45)
Message:

works alright in IE7

Location:
telemeta
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • telemeta/htdocs/css/player.css

    r035814e r40f3d09  
    1818 
    1919 
    20 #player_maximized button, #player_minimized button { 
     20#player_maximized .toggle, #player_minimized .toggle { 
     21    display: block; 
     22    overflow: hidden; 
    2123    position: absolute; 
    2224    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; 
    3333} 
    3434#player_maximized { 
  • telemeta/htdocs/js/player.js

    rbaad12d r40f3d09  
    99    var view = $('#player'); 
    1010    $('#player_maximized, #player_minimized').css('display', 'none'); 
    11     var button; 
    1211    var ctr; 
    1312    if (view.parents('#player_maximized').length) { 
     
    1817    ctr.css({opacity: 0, display: 'block'}); 
    1918    player.resize(); 
    20     ctr.animate({opacity: 1}, 200, null); 
     19    ctr.animate({opacity: 1}, 100, null); 
    2120} 
    2221 
     
    5352        }); 
    5453 
    55         $('#player_maximized button, #player_minimized button').click(function() { 
     54        $('#player_maximized .toggle, #player_minimized .toggle').click(function() { 
    5655            togglePlayerMaximization(); 
    5756            this.blur(); 
  • telemeta/templates/mediaitem_detail.html

    r1db848f5 r40f3d09  
    3636{% if item.file %} 
    3737<div id="player_maximized" class="ts-skin-lab"> 
    38     <button>Minimize</button> 
     38    <a href="#" class="toggle">Minimize</a> 
    3939</div> 
    4040<div id="rightcol"> 
    4141    <div id="player_minimized" class="ts-skin-lab"> 
    42     <button>Maximize</button> 
     42    <a href="#" class="toggle">Maximize</a> 
    4343    <div id="player" class="ts-player"> 
    4444        <div class="ts-viewer"> 
Note: See TracChangeset for help on using the changeset viewer.