First:
Your page is in violation of Dynamic Drive's
usage terms, which, among other things, states that the credit notice inside script must stay intact. Please reinstate the notice first.
Second:
On this line, the language tag has been deprecated. Use type="text/javascript" like so:
Code:
<script src="e107_themes/oybhup_wow/marquee_txt/js/ajaxticker.js" type="text/javascript">
/***********************************************
* Ajax Ticker script (txt file source)- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
</script>
Third: I see no call to the actual function in your source. You need to invoke the script like so:
Code:
<script type="text/javascript">
var xmlfile="tickercontent.txt" //path to ticker txt file on your server.
//ajax_ticker(xmlfile, divId, divClass, delay, optionalfadeornot)
new ajax_ticker(xmlfile, "ajaxticker1", "someclass", 3500, "fade")
</script>
wherever you want the ticker to display.
Hope this helps.
Bookmarks