Loading...
 
Features / Usability

Features / Usability


Re: Help with DynamicDrive javascript

posts: 3665 United States
  • For the portion of the script that needs to be in the HEAD section, you'll need to manually edit the header.tpl template.
    NOTE: Do not use Tiki's internal template editor — it will strip out all of the SCRIPT elements.

  • For the portion the actual page, you'll need to use the JS plugin:
    Copy to clipboard
    {JS()} //new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch) //1) RSS_id: "Array key of RSS feed in scrollerbridge.php script" //2) divId: "ID of DIV to display ticker in. DIV is dynamically created" //3) divClass: "Class name of this ticker, for styling purposes" //4) delay: delay between message change, in milliseconds //5) linktarget: Target of links inside RSS feed. Set to "" for current page. //6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use. // By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed. new rsspausescroller("cnn", "pscroller1", "rssclass", 3000, "_new") document.write("") //add a divider for demo new rsspausescroller("dynamicdrive", "pscroller2", "rssclass", 3000, "", "date+description") {JS}



HTH,

-Rick
Need more help? Try TikiWiki for Dummies Smarties or read my Tiki Blog or visit my UserPage

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting