View Full Version : Ajax News ticker help
nadweb
04-25-2008, 07:20 PM
Ajax news ticker
http://www.dynamicdrive.com/dynamicindex2/ajaxticker.htm
After I followed the steps in teh script. The news ticker worked but with a problem.
I have 4 messages to display in the ticker.
The first instance it displays all
The second displays from 2 to 4
The third displays 3-4
The fourth displays only the fourth one.
I need the script to display each message at a time.
What did I do wrong and what should I do?
ddadmin
04-26-2008, 07:50 AM
Check the external .txt file containing your messages to make sure each one is properly divided by a DIV tag with CSS class="message", for example:
<div class="message">
<a href="http://www.javascriptkit.com" target="_new">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!
</div>
<div class="message">
<a href="http://www.codingforums.com">Coding Forums</a><br />Web coding and development forums.
</div>
<div class="message">
<a href="http://www.cssdrive.com">CSS Drive</a><br />Categorized CSS gallery and examples.
</div>
<div class="message">
<a href="http://www.javascriptkit.com/domref/">DOM Reference</a><br />This is a no-nonsense, easy to follow DOM reference for JavaScript.
</div>
nadweb
04-26-2008, 07:44 PM
this is what i have in the text file
<!--Wrap each ticker cotent inside <div class="message"> tag -->
<div class="message"><b>March 14, 2008</b><br>22406 Trucker Speeding<br>Orange Central Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>March 13, 2008</b><br>22350 Street Speeding<br>Orange Central Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>March 3, 2008</b><br>22348 110 mph Speeding<br>Yuba City Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>February 29, 2008</b><br>22348 110 mph speeding<br><b>Case Dismissed with trial by declaration</b><br></div>
ddadmin
04-27-2008, 05:11 AM
Wrong request.
nadweb
04-27-2008, 06:06 AM
Ajax news ticker
http://www.dynamicdrive.com/dynamici...ajaxticker.htm
Sorry, I didn't know i have to post the name of the script and the link everytime i reply. So here they are above. I got a warning message after my previous reply to you.
here is the problem again I followed teh steps in usning the script on my page but I got the messages displayed all together at once like:
The first instance it displays all
The second displays from 2 to 4
The third displays 3-4
The fourth displays only the fourth one.
I need the script to display each message at a time.
this is what i have in the text file
<!--Wrap each ticker cotent inside <div class="message"> tag -->
<div class="message"><b>March 14, 2008</b><br>22406 Trucker Speeding<br>Orange Central Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>March 13, 2008</b><br>22350 Street Speeding<br>Orange Central Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>March 3, 2008</b><br>22348 110 mph Speeding<br>Yuba City Court<br><b>Case Dismissed</b><br></div>
<div class="message"><b>February 29, 2008</b><br>22348 110 mph speeding<br><b>Case Dismissed with trial by declaration</b><br></div>
ddadmin
04-27-2008, 07:33 AM
Ops, my bad, I meant please post a link to the problem page on your site. The info you posted so far isn't enough for me to determine what the issue is.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.