Changeset 65342 in spip-zone
- Timestamp:
- Aug 27, 2012, 10:39:45 AM (9 years ago)
- Location:
- _squelettes_/soyezcreateurs_net/plugins_2.1/plugins/soyezcreateurs
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
_squelettes_/soyezcreateurs_net/plugins_2.1/plugins/soyezcreateurs/javascripts.js.html
r65130 r65342 184 184 /* FUNCTIONS ON ALL PAGES */ 185 185 function myInitPages() { 186 jQuery('body').addClass('hasJS'); 186 /* HOME SPECIAL FEATURE */ 187 if (jQuery('#homeSpecialFeature').size() > 0) { 188 if (jQuery('.hSFItem').size()>1) { initMyHomeSpecialFeature = myHomeSpecialFeature("#homeSpecialFeature",'hSFItem','hSFDecoImg','hSFDecoSpan'); } 189 } 190 if (jQuery('#menuh').size() > 0) { 191 $(document).ready(function(){ 192 $("#menuh").attr('role','navigation')/*.supersubs({ 193 minWidth: 12, // minimum width of sub-menus in em units 194 maxWidth: 24, // maximum width of sub-menus in em units 195 extraWidth: 1 // extra width can ensure lines don't sometimes turn over 196 // due to slight rounding differences and font-family 197 })*/.superfish({ 198 hoverClass: 'hover', 199 delay: 800, 200 disableHI: true, 201 dropShadows: false 202 })/*.find('ul').bgIframe({opacity:false})*/; 203 204 $("#switch-css option").click(function() { 205 $("link").attr("href",$(this).attr('value')); 206 return false; 207 }); 208 }); 209 } 210 if (jQuery('#arretSurImg .mainCarousels').size() > 0) { homeCarousel('.mainCarousels'); } 187 211 [(#CONFIG{soyezcreateurs_layout/menuderoulant,replie}|=={replie}|oui)jp_expinit();] 188 212 // Surligner l'evenement en cours … … 606 630 $(document).ready(function() { 607 631 myInitPages(); 608 /* HOME SPECIAL FEATURE */609 if (jQuery('#homeSpecialFeature').size() > 0) {610 if (jQuery('.hSFItem').size()>1) { initMyHomeSpecialFeature = myHomeSpecialFeature("#homeSpecialFeature",'hSFItem','hSFDecoImg','hSFDecoSpan'); }611 }612 if (jQuery('#menuh').size() > 0) {613 $(document).ready(function(){614 $("#menuh").attr('role','navigation').supersubs({615 minWidth: 12, // minimum width of sub-menus in em units616 maxWidth: 24, // maximum width of sub-menus in em units617 extraWidth: 1 // extra width can ensure lines don't sometimes turn over618 // due to slight rounding differences and font-family619 }).superfish({620 hoverClass: 'hover',621 delay: 800,622 disableHI: true,623 dropShadows: false624 }).find('ul').bgIframe({opacity:false});625 626 $("#switch-css option").click(function() {627 $("link").attr("href",$(this).attr('value'));628 return false;629 });630 });631 }632 if (jQuery('#arretSurImg .mainCarousels').size() > 0) { homeCarousel('.mainCarousels'); }633 632 }); -
_squelettes_/soyezcreateurs_net/plugins_2.1/plugins/soyezcreateurs/noisettes/header/header.html
r63492 r65342 71 71 <link rel='stylesheet' href='#CHEMIN{css/calendar/main.css}' type='text/css' /> 72 72 ] 73 [(#REM) Code inspiré de http://oncemade.com/adding-hasjs-class-when-javascript-is-availab 74 Permet de masquer du contenu si javascript est activé. 75 Typiquement, un menu déroulant qui ne doit pas apparaître déroulé au chargement de la page si javascript est actif 76 ] 77 <script type="text/javascript"> 78 document.getElementsByTagName('html')[0].className += ' hasJS'; 79 </script> 73 80 #INSERT_HEAD 74 81 [(#ENV{wdcalendar}|=={oui}|oui) -
_squelettes_/soyezcreateurs_net/plugins_2.1/plugins/soyezcreateurs/stylessoyezcreateurs.css.html
r65164 r65342 464 464 #menuh .active > a, #menuh a:active, #menuh li > a:active { background: #GET{c_menu_a_active_bk}; color: #GET{c_menu_a_active}; } 465 465 #menuh.drop { padding: 0 1%; } 466 #menuh.dropul { width: 200px; position: absolute; margin-top: -99999px; z-index: 999; }466 .hasJS #menuh ul { width: 200px; position: absolute; margin-top: -99999px; z-index: 999; } 467 467 #menuh.drop ul ul { left: 200px; top: 0; } 468 468 #menuh.drop li a { padding-left: 16px; } -
_squelettes_/soyezcreateurs_net/plugins_2.1/plugins/soyezcreateurs/todo.txt
r63527 r65342 1 - [X] intégrer Critère mots aux agenda.1 - [X] intégrer Critère mots aux agenda. 2 2 - [ ] utiliser l'API des action de SPIP pour la création de contenu à l'installattion/màj 3 3 ou le plugin CRUD … … 53 53 Passage à SPIP 3 : 54 54 - [ ] Tenir compte de http://www.spip.net/fr_article2128.html#spip3 pour les chaines de langue 55 - [ ] Rajouter define('_SURLIGNE_RECHERCHE_REFERERS',true); dans mes_options.php (cf http://permalink.gmane.org/gmane.comp.web.spip.zone/29009)
Note: See TracChangeset
for help on using the changeset viewer.