Changeset 18710 in spip-zone


Ignore:
Timestamp:
Feb 25, 2008, 1:03:19 AM (12 years ago)
Author:
real3t@…
Message:

Intégration de 18706, merci Marcimat !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/soyezcreateurs_net/plugins_1.9.3/plugins/__soyezcreateurs/fonds/cfg_soyezcreateurs_couleurs.html

    r18589 r18710  
    1 [(#REM) titre=Couleurs]
    2 [(#REM) icone=img_pack/soyezcreateurs.png]
    3 [(#REM) onglet=non]
    4 [(#REM) autoriser=webmestre ]
     1<!-- titre=Couleurs -->
     2<!-- icone=img_pack/soyezcreateurs.png -->
     3<!-- onglet=non -->
     4<!-- autoriser=webmestre -->
    55
    66[(#SET{logo,
     
    2525</ul>
    2626-->
    27 #CACHE{0}
     27
     28<!-- head=
    2829 <script type="text/javascript" src="#CHEMIN{farbtastic/jquery.js}"></script>
    2930 <script type="text/javascript" src="#CHEMIN{farbtastic/farbtastic.js}"></script>
     
    4344 
    4445 <script type="text/javascript" charset="utf-8">
    45   $(document).ready(function() {
    46     var f = $.farbtastic('#picker');
    47     var p = $('#picker').css('opacity', 0.25);
     46  jQuery(document).ready(function() {
     47    var f = jQuery.farbtastic('#picker');
     48    var p = jQuery('#picker').css('opacity', 0.25);
    4849    var selected;
    49     $('.colorwell')
     50    jQuery('.colorwell')
    5051      .each(function () { f.linkTo(this); $(this).css('opacity', 0.75); })
    5152      .focus(function() {
    5253        if (selected) {
    53           $(selected).css('opacity', 0.75).removeClass('colorwell-selected');
     54          jQuery(selected).css('opacity', 0.75).removeClass('colorwell-selected');
    5455        }
    5556        f.linkTo(this);
    5657        p.css('opacity', 1);
    57         $(selected = this).css('opacity', 1).addClass('colorwell-selected');
     58        jQuery(selected = this).css('opacity', 1).addClass('colorwell-selected');
    5859      });
    5960  });
    6061 </script>
     62-->
     63
     64#CACHE{0}
    6165<form method="post" action="#SELF"><div>[(#ENV{_cfg_}|form_hidden)]</div>
    6266<div id="picker" style="float: right;margin-right:-205px;"></div>
Note: See TracChangeset for help on using the changeset viewer.