Explored. Designed. Deliveredsm |
Creativyst Docs Page to test JSMsg concept |
|
<SCRIPT TYPE="text/javascript" SRC="http://www.creativyst.com/Doc/Std/JSMsg/Data/Demo/JSMsg.js" > </SCRIPT> |
|
1. Five random entries in an un-ordered list:
The format and the message parts used are shown first. Then
five randomly selected entries from the JSMsg file are displayed.
If there's no description, local code replaces it with
length-truncated Body content.
|
2. Select messages from a drop-down Same format as example 1 but now we display a pop-up window containing the message you select from this drop-down list. 3. Plain vanilla top message. Just a single call to the LinkTitle of the top story, to demonstrate easy content embedding in any page.
The most current story at this time is titled and you should read it :-). 4. Content from Multiple JSMsg Files To demonstrate how content from multiple JSMsg files (possibly from many different sources) may be displayed on a single static web page we've included our ../Site/quotes/JSMsg.js file on this same page along with the JSMsg file produced above. Here is a random quote from that JSMsg file's content:
This uses the ...Msg() function so will change each time the page is reloaded. 5. Writing JSMsg compatible display scripts We'll use the example "client" functions to demonstrate how display scripts can be written to interface to any JSMsg file(s). Such scripts need only ask the user for the namespace of the JSMsg content s/he wants to display.
|
![]() (Creativyst® JSMsg Convention) |