layout graphic

ACNS Javascript News Feed

 

View the latest ACNS 'top stories' and 'digest' to your web pages. This service is free, and requires no updating. Once the code is correctly inserted into your web site, the latest ACNS content will automatically appear. The code behind this free service is only one line long, making it very easy to implement in any web page.

To add ACNS Top Stories and Digest headlines to your site, simply insert the following code fragment into your HTML source code:

<script language="javascript" src="http://www.aco.org/newsfeeds/acnsjs.cfm?items=2&cont=1"></script>

You may select how many news items you wish to display by changing the following portion of the code

items=(enter as a number the number of items to display)

You may also select whether you wish to display a short descriptive text that is with the news item or just display the headline this can be done by changing the following portion of the code:

cont=(enter the number 0 to hide the description or 1 to display the description)

We have also included a very simple .css file to format how the news is visually displayed. This file should either added to your existing css files or included within the <head></head> section of the page. the .css file can be downloaded here

For an idea of how to accomplish this look at the source code for this page.

 

layout graphic