Creativyst Docs
Use JSMsg for JavaScript Content Syndication
Home
Products
Support/Doc
Developers
Forums
Associates
(?)
Contact
|
News
|
Glossary
|
Site
R
e
L
a
t
e
d
JSMsg Information
º
JSMsg Basics
º
Free Download!
º
JSMsg
Scrollers
º
JSMsg Feeds
º
JSMsg Details
º
Concept Test Page
Conventions
º
Glosssary XML
º
CUF(tm) Codes
º
Software Stability Ratings
Free Scripts:
Creativyst(R) Multi-Color Fader
A JavaScript content scroller that displays JSMsg feeds
Use
[demo]
[more scrollers]
See the
terms of use
below and then, follow these easy steps:
Copy the code from the text-area below into your clipboard and paste it into your webpage's HTML where you want the scroller to display.
<script type="text/javascript"> /* * Creativyst(R) Multi-Color Fader: * * (C) Copyright 2004-2006 Creativyst, Inc. * ALL RIGHTS RESERVED * * Use of this software in running applications, with * or without modification, is permitted provided * that the conditions published at: * http://www.creativyst.com/Prod/18/ClientEG/mcfCP.htm * are met. * * This software may not be redistributed * * - This comment may not be removed - * * v1.0f */ /* Configurations: * Set these general configuration variables to change * how your scroller looks and acts. * * See below for how to add static and/or dynamic content for display * */ var mcfWidth=170; var mcfHeight=160; var mcfFadedColor = "#CCCCFF"; // Text/Link color when faded OUT // (Normally set to the background color) var mcfTextColor = "#000000"; // Text color when ON (faded IN) var mcfLinkColor = "#0000FF"; // Link color when ON (faded IN) var mcfFadeINIncr = 17; // Amt to change color when fading IN var mcfFadeOUTIncr=55; // Amt to chng whn fading OUT (0 for instant) var mcfFrameRate = 60; // was 40 var mcfPauseDelay = 5000; // or Maximum if mcfVaryPause var mcfPauseMin = 3500; // If mcfVaryPause var mcfOUTPause = 0; // 0 for no pause when faded OUT var mcfVaryPause = 1; // Vary pause based on msg length var mcfMiddle = 1; // 1 for vertical middle, 0 for top var mcfUseBallistics = 1; // (not used) 0 for linear movers var mcfContent=new Array(); // don't change mcfContent[0] = ""; /* Static Content: * Fill elements of the mcfContent[] array with static messages you'd like * to display on the scroller. You can use the Multi-Color Fader to * display only the static messages defined here, or you can include a static * message or two to be displayed along with dynamic JSMsg feed data (see below). * * Delete or comment out these array lines (but not the above declaration) * if you don't want to display static messages. * */ mcfContent[0] = "Display:
Dynamic JSMsg feeds
on your site with the Multi-Color Fader from Creativyst
"; mcfContent[1] = 'Message pause can be set to vary with the length of each message displayed for random effects.\n'; // mcfContent[2] = "And did we mention it's
JSMsg Ready<\/strong>?"; // mcfContent[3] = "
JSMsg<\/strong> lets you display
dynamic<\/em><\/strong> information from outside JSMsg feeds ...
Set
one<\/B> variable!
NO<\/strong> server-side scripting!<\/UL> :-)"; /* Dynamic Content (JSMsg feeds): * JSMsgNS * Namespace of the JSMsg feed who's messages you'd * like to display. You must include the JSMsg * link in a JavaScript