-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (29 loc) · 1.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Simple jQuery news ticker plugin</title>
<link rel="stylesheet" type="text/css" href="news_ticker.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="news_ticker.js"></script>
<script type="text/javascript">
jQuery(function($){
$('#newsTicker').newsTicker({speed:1500,delay:4000});
});
</script>
</head>
<body>
<h1>Simple jQuery news ticker</h1>
<div id="newsTicker">
<ol class="ticker-list">
<li class="item"><a href="#">Here's the first news headline</a></li>
<li class="item"><a href="#">A second news item comes next</a></li>
<li class="item"><a href="#">Let's create a third to fill the list</a></li>
<li class="item"><a href="#">And we'll finish off with a fourth news headline</a></li>
</ol>
</div>
<hr/>
<p><a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/2.0/uk/80x15.png" /></a><br /><span xmlns:dc="http://purl.org/dc/elements/1.1/" property="dc:title">News Ticker</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://olvado.com" property="cc:attributionName" rel="cc:attributionURL">Oli Matthews</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.0/uk/">Creative Commons Attribution 2.0 UK: England & Wales License</a>.<br />Based on a work at <a xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://github.com/olvado/news_ticker" rel="dc:source">github.com/olvado/news_ticker</a>.</p>
</body>
</html>