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) Ballistic Scroller
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) Ballistic Scroller: * * (C) Copyright 2004 - 2007 Creativyst, Inc. * ALL RIGHTS RESERVED * * Use of this software in running applications, with * or without modification, is permitted provided * that the conditions published at: * www.creativyst.com/Prod/18/Scroller/BalScr.htm * are met. * * This software may not be redistributed * * - This comment may not be removed - * * v1.0f */ /* Configurations: * bsWidth The width of the scroller * bsHeight The height of the scroller * bsMoveIncr How far to move on each frame * bsFrameRate How often (in miliseconds) to move the frame * bsPauseDelay How long to pause (in milisecs) between each message * bsUseBalistics 1 to slow down near end of scroll. * * See below for how to add static and/or dynamic content for display * */ var bsWidth=160; var bsHeight=185; var bsMoveIncr=10; var bsFrameRate = 40; // was 40 var bsPauseDelay = 3000; var bsUseBallistics = 1; // 0 for linear movers var bsContent=new Array(); // don't change bsContent[0] = ""; /* Static Content: * Fill elements of the bsContent[] array with static messages you'd like * to display on the scroller. You can use the ballistic scroller to * display only these static messages, 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. * */ bsContent[0] = "Display:
-Dynamic feeds
(
JSMsg<\/em>)
-Static messages
-Both...<\/strong>
"; bsContent[1] = 'The
Ballistic Scroller<\/strong> from Creativyst(R).\n'; // bsContent[2] = "And did we mention it's
JSMsg Ready<\/strong>?"; // bsContent[3] = "
JSMsg<\/strong> lets you display
dynamic<\/em><\/strong> information from outside JSMsg feeds ...
Set
one<\/B> variable!
NO<\/strong> server-side scripting!<\/UL> :-)"; // bsContent[4] = "An example of dynamic content from a
JSMsg<\/strong> file follows..."; /* 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