Yuriy kosygin
Se unió el 1 ago 2014
Último comentario: hace 5 años por Jorge Abellán en el tema REː Ticker and news section
REː Ticker and news section
editarGood evening. To recreate the section you mention me in your project, you will need the source code of:
- Plantilla:Portada:Ticker
- Plantilla:Portada:Ticker/Core (content inside)
- Plantilla:Portada:Ticker/Data (content design template)
- Add the following JavaScript code to your MediaWiki:Common.js:
//Ticker var width = $('.ticker-text').width(), containerwidth = $('.ticker-container').width(), left = containerwidth; $(document).ready(function(e){ function tick() { if(--left < -width){ left = containerwidth; } $(".ticker-text").css("margin-left", left + "px"); setTimeout(tick, 8); //Number indicates the speed (smaller number = faster) } tick(); }); //END Ticker
Write me for any questions that may arise. Greetings. --Jorge Abellán DISC 23:10 11 oct 2019 (UTC)