Display News Stories

Modified on Wed, 25 May 2016 at 11:27 AM

Our software contains a news story module which you can use to portray important information to your customers. The following call will display all current news stories in a scroller window.

myss_ShowNewsStories(featuredonly, target);

The following is an explanation of each parameter and their possible values:

1) featuredonly: (integer) This is a boolean representation if you would like only featured stories or all news stories to display in the main scroller. 0 represents all stories, 1 represents featured only

2) target: (string) this is the ID of the HTML element in which to display the news stories in.

 

EXAMPLE HTML CODE:

<div id="myss_news" style="width: 100%;"></div>
<script type="text/javascript">myss_ShowNewsStories(0, '', '#myss_news')</script>

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article