Upcoming EventsMay 25 Sligo And Castlebar Against EU Directive Banning S... May 25 March against Monsanto May 25th Dublin, Cork, Clar... May 25 Ken Loack's The Angels' Share May 26 Tour De Historia Política/ Political History Tour ... Jun 01 INTERNATIONAL PROTEST AGAINST AUSTERITY more >>Other Press
User Preferences
Blog Feeds
Cedar LoungeFor Lefties too Stubborn to Quit
Dublin OpinionLife should be full of strangeness, like a rich painting
Irish Left ReviewJoined up thinking for the Irish Left
NAMA Wine Lake
MediaBiteA shot at bias in the media
|
Examples of javascript codeExamples of javascript code you can use to show Indymedia Ireland articles on your site JavaScript Syndication Examples The examples below show you some of the ways that you can embed a JavaScript news feed into your webpage. The examples use some functions which are included in the dynamically generated newsfeed but you may of course study the JavaScript file yourself and write your own display methods using the array of stories provided. Marquee Sample 1This example shows a simple scrolling marquee To add this to your own web page insert the following code:
<script src="http://www.indymedia.ie/jsnewsfeed.php">Marquee Sample 2 This example also shows a scrolling marquee but illustrates how you can use the parameters to display the marquee differently. To add this to your own web page insert the following code:
<script src="http://www.indymedia.ie/jsnewsfeed.php"> Table Sample 1 This example also shows a simple table but illustrates how you can use the parameters to display the table differently.To add this to your own web page insert the following code: <script src="http://www.indymedia.ie/jsnewsfeed.php"> Table Sample 2 This example also shows a simple table but illustrates how you can use the parameters to display the table differently.
To add this to your own web page insert the following code: <script src="http://www.indymedia.ie/jsnewsfeed.php"> |