Lessons : Ticker

This lesson is more of something to poke around and play with than me going through things step by step. Download the dtTicker.js file and take a look!

DT Font Creator v1.0

Click on your platform to get it!

This is how you include the ticker on a webpage.


<script type="text/javascript" src="/js/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="/js/dtUtils.js"></script>
<script type="text/javascript" src="/js/dtTicker.js?v=3"></script>
<script type="text/javascript">
var ticker = dtTicker(document.getElementById('logo'), '/xml/dtFontSet.xml', '/xml/mainMessagesNew.php?random=' + Math.floor(Math.random() * 999999));
ticker.speed = 40;
ticker.setSize(2, 3, 3, 140, 9, '#333333', '#ff0000');

Use the DT Font Creator app to create fonts. In the app, click the generate button. Copy the data to a new symbol node in the font set on this page, then click "Set" at the bottom of the font set. You can then create a message in the Current Message section. When you click Set there, it will display the message at the top of the page. Be sure to save your font set to a local file. Navigating away or refreshing this page will reset the Font Set.

Current Message

Font Set