Danish Habib

Danish Habib

  • NA
  • 694
  • 233.2k

News Ticker Dynamic binding

May 28 2015 6:21 AM
I have this news ticker i want to make it dynamic below is the existing code any one can assist in that regards would be appreaciatable 
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>jQuery News Ticker</title>
<link href="styles/style.css" rel="stylesheet" type="text/css" />
<link href="styles/ticker-style.css" rel="stylesheet" type="text/css" />
<script src="http://code.jquery.com/jquery-1.8.2.js" type="text/javascript"></script>
<script src="jquery.ticker.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$('#js-news').ticker();
});
</script>
</head>
<body>
<h2>jQuery News Ticker</h2>
<ul id="js-news" class="js-hidden">
<li class="news-item">Welcome to Aspdotnet-Suresh.com Site!</li>
<li class="news-item">Aspdotnet-Suresh.com will offer many articles relating to technology!</li>
<li class="news-item">Recently Aspdotnet-Suresh.com trying to cover all the jQuery related articles!</li>
<li class="news-item">Aspdotnet-Suresh.com has reached 7 lac + pagviews per month!</li>
<li class="news-item">New updates have been made to jQuery News Ticker! Check below for more details!</li>
<li class="news-item">Further updates please follow Aspdotnet-Suresh.com!</li>
</ul>
</body>
</html>
 

Answers (5)