Williams4444 Posted April 28, 2008 Share Posted April 28, 2008 Hi Guys...New Member here needing help!!But firstly let me just say a great site w3schools is, it has really helped me to understand HTML better!!But...I really want to make a news twicker for my website, to run underneath the header which I can edit daily?but everything I attempt to make one it goes wrong, so do any of yous know any good tutorials or software I can use to make such a news twicker?!?ThanksMarie Link to comment Share on other sites More sharing options...
Ingolme Posted April 28, 2008 Share Posted April 28, 2008 What does the news ticker do? Is it just a series of links to news articles? Link to comment Share on other sites More sharing options...
Williams4444 Posted April 28, 2008 Author Share Posted April 28, 2008 What does the news ticker do? Is it just a series of links to news articles?ummm...its u take a look at this website : http://www.birminghamcitysu.com/I want to make a similar ticker to the one under the header?!?Any idea?? Link to comment Share on other sites More sharing options...
Ingolme Posted April 28, 2008 Share Posted April 28, 2008 You're going to need javascript to work with it. I really don't want to go build something like that right now, but after you've looked through the Javascript tutorial you should be able to take the following steps:1. Create an Array with each news link.2. Use setTimeout() to make the news object move into and out of the viewport.3. Detect when the object has moved ouside the viewport and then switch to the next array element and repeat the process4. Once you reach the end of the array tell it to return to the first array elementTo understand this you need complete knowledge of HTML, CSS and Javascript. Link to comment Share on other sites More sharing options...
Williams4444 Posted April 28, 2008 Author Share Posted April 28, 2008 You're going to need javascript to work with it. I really don't want to go build something like that right now, but after you've looked through the Javascript tutorial you should be able to take the following steps:1. Create an Array with each news link.2. Use setTimeout() to make the news object move into and out of the viewport.3. Detect when the object has moved ouside the viewport and then switch to the next array element and repeat the process4. Once you reach the end of the array tell it to return to the first array elementTo understand this you need complete knowledge of HTML, CSS and Javascript.oooohhh sounds very complicated... i'll have a go...ThanksMarie Link to comment Share on other sites More sharing options...
louieaw Posted April 29, 2008 Share Posted April 29, 2008 how about that marquee tag?<marquee>http://www.scit.wlv.ac.uk/encyc/marquee.html is a good ssite. lots of info and attributes. or you can look into a real news tickerhttp://www.mioplanet.com/rsc/newsticker_javascript.htmhas lots of info and gives you a javascrit template Link to comment Share on other sites More sharing options...
Ingolme Posted April 29, 2008 Share Posted April 29, 2008 <marquee> isn't even deprecated because it never was a standard to begin with (In other words, best not to use it).Your second suggestion works on basically the same principle I was mentioning in my previous post.In any case, I always want to do things on my own, and I try to teach web languages and how to convert ideas into code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.