Browse Source

jquery ok

master
chankalan 3 years ago
parent
commit
6a7ae86524
  1. 0
      article.html
  2. 0
      auteur.html
  3. 0
      backend.html
  4. 1
      body.html
  5. 2
      content/sommaire.html
  6. 2
      javascript/jquery.min.js
  7. 2
      javascript/jquery.scrolly.min.js
  8. 0
      mot.html
  9. 0
      rubrique.html
  10. 0
      site.html

0
article.html

0
auteur.html

0
backend.html

1
body.html

@ -19,7 +19,6 @@
</div><!-- page-wrapper -->
[(#REM) Scripts ]
[<script src="(#CHEMIN{javascript/jquery.min.js})" type="text/javascript"></script>]
[<script src="(#CHEMIN{javascript/jquery.scrollex.min.js})" type="text/javascript"></script>]
[<script src="(#CHEMIN{javascript/jquery.scrolly.min.js})" type="text/javascript"></script>]
[<script src="(#CHEMIN{javascript/browser.min.js})" type="text/javascript"></script>]

2
content/sommaire.html

@ -5,7 +5,7 @@
[<p>(#SLOGAN_SITE_SPIP)</p>]][(#CONFIG{html5up/descriptif_accueil}|=={on}|oui)
[<p>(#DESCRIPTIF_SITE_SPIP)</p>]]
</div>
<a href="[(#CONFIG{html5up/hero}|picker_selected{article}|oui)#one][(#CONFIG{html5up/hero}|picker_selected{article}|non)#two]" class="more scrolly"><:html5up:continue:></a>
<a[(#CONFIG{html5up/hero}|picker_selected{article}|oui) href="#one"][(#CONFIG{html5up/hero}|picker_selected{article}|non) href="#two"] class="more scrolly"><:html5up:continue:></a>
</section>
#SET{exclus,#ARRAY}
<!-- One -->

2
javascript/jquery.min.js vendored

File diff suppressed because one or more lines are too long

2
javascript/jquery.scrolly.min.js vendored

@ -1,2 +1,2 @@
/* jquery.scrolly v1.0.0-dev | (c) @ajlkn | MIT licensed */
(function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o<this[t];o++)e(this[o]).scrolly(i);return c}l=n,f=c.attr("href");if(f.charAt(0)!="#"||f[t]<2)return c;a=jQuery.extend({anchor:r,easing:"swing",offset:0,parent:e("body,html"),pollOnce:!1,speed:1e3},i),a.pollOnce&&(l=u(f,a)),c.off(s).on(s,function(e){var t=l!==n?l:u(f,a);t!==n&&(e.preventDefault(),a.parent.stop().animate({scrollTop:t},a.speed,a.easing))})}})(jQuery);
(function(e){function u(s,o){var u,a,f;if((u=e(s))[t]==0)return n;a=u[i]()[r];switch(o.anchor){case"middle":f=a-(e(window).height()-u.outerHeight())/2;break;default:case r:f=Math.max(a,0)}return typeof o[i]=="function"?f-=o[i]():f-=o[i],f}var t="length",n=null,r="top",i="offset",s="click.scrolly",o=e(window);e.fn.scrolly=function(i){var o,a,f,l,c=e(this);if(this[t]==0)return c;if(this[t]>1){for(o=0;o<this[t];o++)e(this[o]).scrolly(i);return c}l=n,f=c.attr("href");if(f.charAt(0)!="#"||f[t]<2)return c;a=jQuery.extend({anchor:r,easing:"swing",offset:0,parent:e("body,html"),pollOnce:!1,speed:1e3},i),a.pollOnce&&(l=u(f,a)),c.off(s).on(s,function(e){var t=l!==n?l:u(f,a);t!==n&&(e.preventDefault(),a.parent.stop().animate({scrollTop:t},a.speed,a.easing))})}})(jQuery);

0
rubrique.html

Loading…
Cancel
Save