Changeset 125260 in spip-zone
- Timestamp:
- Jun 20, 2020, 1:53:55 PM (7 months ago)
- Location:
- _plugins_/soundmanager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/soundmanager
- Property subgit:lock:52481625b549660bd06a822d06325390cf9617fd deleted
-
Property
subgit:lock:0905fa24cdf9075f2d7032a38a824d90aa5e0c79
set to
2020-06-20T15:54:21.269
-
_plugins_/soundmanager/player360.js.html
r125259 r125260 43 43 } 44 44 }); 45 // scroller vers le lien dans la page si timecode dans l'url d'arrivée #t10000 46 var tc = window.location.hash.match(/^#t(\d+)$/); 47 if(typeof tc !== "undefined" && tc){ 48 tc = parseInt(tc[1]); 49 // trouver le lien avec ce timecode en href et y scroller 50 var lien = $('a.audio[href$="#t' + tc + '"]'); 51 $("a.audio").removeClass("on"); 52 lien.addClass("on"); 53 $('body, html').animate({scrollTop: lien.offset().top - 70 }, 500); 54 } 55 45 56 // clic sur un lien avec timecode #t10000 ? 46 57 $("a.audio").on("click",function(){
Note: See TracChangeset
for help on using the changeset viewer.