Changeset 5713 in spip-zone


Ignore:
Timestamp:
Sep 26, 2006, 6:15:37 PM (15 years ago)
Author:
renato@…
Message:

use js fix instead of wrapper to avoid flicker on IE.
Fix the opening of the search box

Location:
_plugins_/_dev_/_ze_laboratoire_/spiip
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/_ze_laboratoire_/spiip/dist/javascript/presentation.js

    r5618 r5713  
    1414                //console.timeEnd("faststatut");
    1515                //console.timeEnd("total");
     16               
     17                // Fix background image caching problem
     18    if (jQuery.browser.msie) {
     19        try { document.execCommand("BackgroundImageCache", false, true); }
     20                                catch(err) {}
     21    }
    1622        }
    1723);
     
    1925function showMenu() {
    2026        active_menu.hide();
    21         active_menu=$('#'+this.id.replace(/^bouton\d?_/,'bandeau')).show();
     27        var id_menu = this.id.replace(/^bouton\d?_/,'bandeau');
     28        active_menu=$('#'+id_menu).show();
    2229        //bug safari..runtime style returns null
    2330        active_menu.css('display','block');
     31        //manage focus on search box
     32        if(id_menu=='bandeaurecherche') $('#form_recherche')[0].focus();
    2433}
    2534
  • _plugins_/_dev_/_ze_laboratoire_/spiip/dist_back/bandeau_couleur.html

    r4916 r5713  
    1919                        ]</a><a href='#URL_ECRIRE{brouteur,#GET{param_broteur}}' class='icone26' id='bouton_navrapide'>[(#REM)
    2020                                ]#HTTP_IMG_PACK{naviguer-site.png, "",width='26' height='20'}[(#REM)
    21                         ]</a><a href='#URL_ECRIRE{recherche}' class='icone26' id='bouton_recherche' onmouseover="findObj('form_recherche').focus();" >[(#REM)
     21                        ]</a><a href='#URL_ECRIRE{recherche}' class='icone26' id='bouton_recherche'>[(#REM)
    2222                        ]#HTTP_IMG_PACK{loupe.png, "",width='26' height='20'}[(#REM)
    2323                        ]</a>#HTTP_IMG_PACK{rien.gif, "",width='10'}<a href='#URL_ECRIRE{calendrier,type=semaine}' class='icone26' id='bouton_agenda'>[(#REM)
  • _plugins_/_dev_/_ze_laboratoire_/spiip/inc/presentation.php

    r5618 r5713  
    728728{
    729729  return http_href_img("javascript:selec_statut('$id', '$type', $n, '" .
    730                       http_wrapper($img) .
     730                      $img .
    731731                      "', '" .
    732732                       generer_action_auteur("instituer_$type","$id-$statut") .
  • _plugins_/_dev_/_ze_laboratoire_/spiip/style_spiip_prive.html

    r5238 r5713  
    4545
    4646#bandeautoutsite a.daddy {
    47         background: url([(#ENV{ltr}|choixsiegal{left,#HTTP_WRAPPER{triangle-droite.gif},#HTTP_WRAPPER{triangle-droite_rtl.gif}})]) center [(#ENV{ltr}|choixsiegal{left,right,left})] no-repeat;
     47        background: url([(#ENV{ltr}|choixsiegal{left,triangle-droite.gif,triangle-droite_rtl.gif})]) center [(#ENV{ltr}|choixsiegal{left,right,left})] no-repeat;
    4848}
    4949
     
    128128        width:13;
    129129        height:13;
    130         background: url(#HTTP_WRAPPER{searching.gif}) center center no-repeat;
     130        background: url(searching.gif) center center no-repeat;
    131131}
    132132.ahah_searching_right{
     
    134134        width:13;
    135135        height:13;
    136         background: url(#HTTP_WRAPPER{searching.gif}) center center no-repeat;
     136        background: url(searching.gif) center center no-repeat;
    137137}
    138138.bandeau_boite2_icone{
     
    191191}
    192192#bandeau-principal a:hover span.icon_fond {
    193         background:url(#EVAL{_DIR_IMG_PACK}wrapper.php?file=fond-gris-anim.gif);
     193        background:url(#EVAL{_DIR_IMG_PACK}fond-gris-anim.gif);
    194194        height:48px;
    195195        width:48px;
     
    287287        padding: 0;
    288288        border: 1px solid #9DBA00;
    289         background: url(ecrire/img_pack/wrapper.php?file=fond-gris-anim.gif);
     289        background: url(ecrire/img_pack/fond-gris-anim.gif);
    290290        -moz-border-radius: 5px;
    291291        margin: 0;
     
    318318.danger a.icone-h-texte {
    319319        border: 1px dashed #000;
    320         background: url(ecrire/img_pack/wrapper.php?file=rayures-sup.gif);
     320        background: url(ecrire/img_pack/rayures-sup.gif);
    321321}
    322322a.icone-h-texte:hover {
     
    345345* html a.h-icon .h-icon-cell-fond {display:inline-block;margin-[(#ENV{ltr}|choixsiegal{right,left,right})]:-30px;}
    346346a.h-icon:hover .h-icon-cell-ie {
    347         background:url(#EVAL{_DIR_IMG_PACK}wrapper.php?file=fond-gris-anim.gif);
     347        background:url(#EVAL{_DIR_IMG_PACK}fond-gris-anim.gif);
    348348        border: 1px solid ##ENV{couleur_foncee,edf3fe};
    349349        -moz-border-radius:5px;
Note: See TracChangeset for help on using the changeset viewer.