User Preferences

  • Language - en | ga
  • text size >>
  • make this your indymedia front page make this your indymedia front page

Blog Feeds

forward

Dublin Opinion
Life should be full of strangeness, like a rich painting

offsite link THE DEEPER GAME BEHIND #IRISHWATER 10:26 Fri Dec 05, 2014

offsite link Bonds, Balance Sheets and Irish Water - Limerick, Dublin and Galway, Dec 2014 10:08 Tue Dec 02, 2014

offsite link Global Finance, Money and Power - Lecture 11: Alternatives 08:55 Thu Nov 27, 2014

offsite link THE WORLD COULD SORT OUT EBOLA FOR THE PRICE OF ONE BONO 23:07 Tue Nov 18, 2014

offsite link WELL THAT?S IRISH WATER FINALLY SORTED OUT 23:04 Tue Nov 18, 2014

Dublin Opinion >>

Irish Left Review
Joined up thinking for the Irish Left

offsite link Antonio Gramsci: A New Year?s Letter Mon Dec 22, 2014 14:37 | William Wall

offsite link Right2Water and Podemos Thu Dec 18, 2014 20:47 | Richard

offsite link The Disillusioned Citizen Wed Dec 17, 2014 14:15 | Kathy

offsite link The Power of Paint Tue Dec 16, 2014 10:33 | Seán Sheehan

offsite link If this is a recovery why are people getting poorer? Mon Dec 15, 2014 17:36 | Michael Burke

Irish Left Review >>

Human Rights in Ireland
www.humanrights.ie

offsite link Conference on Older Persons and the Law at NUI Galway Mon Dec 22, 2014 21:21 | Charles O'Mahony

offsite link Call for Papers: International Criminal Justice: Theory, Policy and Practice Thu Dec 18, 2014 15:19 | Anna Marie Brennan

offsite link The UN Migrant Workers Convention: How the EU Can Show that Migrants Matter Thu Dec 18, 2014 06:00 | GuestPost

offsite link 2015 International Criminal Court Summer School at the Irish Centre for Human Rights Wed Dec 17, 2014 11:24 | GuestPost

offsite link After the 8th. #repealthe8th Tue Dec 16, 2014 09:00 | Máiréad Enright

Human Rights in Ireland >>

NAMA Wine Lake

offsite link Farewell from NWL Sun May 19, 2013 14:00 | namawinelake

offsite link Happy 70th Birthday, Michael Sun May 19, 2013 14:00 | namawinelake

offsite link Of the Week? Sat May 18, 2013 00:02 | namawinelake

offsite link Noonan denies IBRC legal fees loan approval to Paddy McKillen was in breach of E... Fri May 17, 2013 14:23 | namawinelake

offsite link Gayle Killilea Dunne asks to be added as notice party in Sean Dunne?s bankruptcy Fri May 17, 2013 12:30 | namawinelake

NAMA Wine Lake >>

Examples of javascript code

Examples 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 1

This 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">
</script>
<script type='text/javascript' language='JavaScript'> writeStoryMarquee();
</script>

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">
</script>
<script type='text/javascript' language='JavaScript'>
// parameters are width,height,direction[up,down,left,right],style(in CSS format)
// any parameter left as null will use default.
writeStoryMarquee(100,200,"up","background-color=lightgreen; border:1px solid black");
</script>

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">
</script>
<script type='text/javascript' language='JavaScript'>
writeStoryTable();
</script>

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">
</script>
<script type='text/javascript' language='JavaScript'>
// parameters are width,height,alignment[left,right],style(in CSS format)
// any parameter left as null will use default.
writeStoryTable(380,null,"left","background-color=#44AA44; border:1px solid black");

</script>
© 2001-2014 Independent Media Centre Ireland. Unless otherwise stated by the author, all content is free for non-commercial reuse, reprint, and rebroadcast, on the net and elsewhere. Opinions are those of the contributors and are not necessarily endorsed by Independent Media Centre Ireland. Disclaimer | Privacy