Changeset 61641 in spip-zone


Ignore:
Timestamp:
May 24, 2012, 5:35:53 PM (7 years ago)
Author:
johan.pustoch@…
Message:

Compatibilité thickbox2 ou mediabox
Image de preload de chargement du flash (a tester si le swf genere un stopPreload)
dispositions

Location:
_plugins_/imagesactives/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/imagesactives/trunk/image_active.html

    r61471 r61641  
    77    <title>#TITRE</title>
    88    <style type="text/css">
    9         body{margin: 0 auto 0 auto;padding: 0;}
     9        body{width:[(#ENV{largeur}|plus{10})]px;margin: 0 auto 0 auto;padding: 0;}
    1010        .spip_doc_descriptif{font-size: .8em;}
    1111        body div.insertion_swf {margin-bottom: 0;}
  • _plugins_/imagesactives/trunk/inclure/imageactive_popin.html

    r61471 r61641  
    44    width: 200px;
    55    text-align: center;
    6     margin: 1em;
     6    margin-bottom: 1em;
     7    margin-top: 1em;
    78    padding: 0;
    89}
    910</style>
    1011<div class="image_active_lien_popin spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})]">
    11     <a href="[(#URL_PAGE{image_active}|parametre_url{id_document,#ID_DOCUMENT}|parametre_url{largeur,#ENV{largeur}}|parametre_url{hauteur,#ENV{hauteur}})]"
    12         class="thickbox mediabox  boxIframe boxWidth-[(#ENV{largeur}|plus{80})]px boxHeight-[(#ENV{hauteur}|plus{130})]px">
     12    <a href="[(#URL_PAGE{image_active}|parametre_url{id_document,#ID_DOCUMENT}|parametre_url{largeur,#ENV{largeur}}|parametre_url{hauteur,#ENV{hauteur}})][(#PLUGIN{ThickBox1}|?{&amp;KeepThis=true&amp;TB_iframe=true&amp;height=[(#ENV{hauteur}|plus{50})]&amp;width=[(#ENV{largeur}|plus{10})]})]"
     13        class="[(#PLUGIN{ThickBox1}|?{thickbox})][ (#PLUGIN{mediabox}|?{mediabox  boxIframe boxWidth-[(#ENV{largeur}|plus{100})]px boxHeight-[(#ENV{hauteur}|plus{130})]px})]">
    1314        [(#LOGO_DOCUMENT|fichier|strpos{swf.png}|>{0}|?{<img src="[(#CHEMIN{img/images_actives.png})]" alt="<:imagesactives:images_actives:>" />, #LOGO_DOCUMENT|image_reduire{200,0}}) ]
    1415    </a>[
  • _plugins_/imagesactives/trunk/inclure/imageactive_swf.html

    r61471 r61641  
    1818    z-index: 99;
    1919    position:absolute;
    20     left:1em;
    21     top:1em;
     20    left:50%;
     21    top:50%;
     22    width:260px;
     23    height:154px;
     24    margin-left:-130px;
     25    margin-top:-77px;
    2226}
     27
     28
    2329</style>
    2430<script type="text/javascript" src="#CHEMIN{swfobject.js}"></script>
    2531<script type="text/javascript">/*<!#EVAL{chr(91)}CDATA#EVAL{chr(91)}*/
    26 /*
     32
    2733function stopPreload() {
    2834    jQuery(".preload_images_actives").css({'display':'none'});
    2935}
    30 */
     36
    3137function insererSwf#ID_DOCUMENT(nom) {
    3238    var swfVersionStr = "10.0.0";
     
    5157</script>
    5258<div id="insertion_swf#ID_DOCUMENT" class="insertion_swf spip_document_#ID_DOCUMENT spip_documents[ spip_documents_(#ENV{align})][ (#ENV{class})]" >
    53     <!--<div class="preload_images_actives" id="preload#ID_DOCUMENT"><img src="#CHEMIN{img/chargement_images_actives.gif}" alt="<:imagesactives:chargement:>"/></div>-->
     59    <div class="preload_images_actives" id="preload#ID_DOCUMENT"><img src="#CHEMIN{img/chargement_images_actives.gif}" alt="<:imagesactives:chargement:>"/></div>
    5460    <div id="insertion_swfobject#ID_DOCUMENT" class="insertion_swfobject"> </div>[
    5561    <div class='#EDIT{titre}'><strong>(#TITRE)</strong></div>][
Note: See TracChangeset for help on using the changeset viewer.