Correction: Scrolling announcements
Scrolling announcements
Buttercup wrote:In order to perform the scrolling announcement option, we've made some modifications. By consequence, PunBB & PhpBB2 forums with the modified template: overall_header.tpl must modify the code:
Replace:
- Code:
<!-- BEGIN switch_ticker -->
$(document).ready(function() {
ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
});
<!-- END switch_ticker -->
By
- Code:
<!-- BEGIN switch_ticker -->
$(document).ready(function() {
Ticker.start({
height : {switch_ticker.HEIGHT},
spacing : {switch_ticker.SPACING},
speed : {switch_ticker.SPEED},
direction : '{switch_ticker.DIRECTION}',
pause : {switch_ticker.STOP_TIME}
});
});
<!-- END switch_ticker -->
At the end, after the code modification, don't forget to publish the template to have the edits online

Thanks Buttercup!
