User Preferences

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

Blog Feeds

forward

Public Inquiry
Just another WordPress site

offsite link Irish citizens – going radical

offsite link Love owns marriage – everything else is peripheral Anthony

offsite link The agony of Prince Charles Anthony

offsite link Anti Sinn Fein campaign: The penny begins to drop Anthony

offsite link Breaking: Gerry Adams foiled by anti-terrorist team Anthony

Public Inquiry >>

The Saker
A bird's eye view of the vineyard

offsite link THIS BLOG HAS MOVED TO A NEW LOCATION VINEYARDSAKER:

offsite link Good news out of Russia - even the "non-system" opposition refuses to blame the Kremlin VINEYARDSAKER:

offsite link Nemtsov murder: Putin warned about exactly this type of "false flag" two years ago VINEYARDSAKER:

offsite link DPR PM Zakharchenko presser 27/02/15 Economical and political future of DPR VINEYARDSAKER:

offsite link Breaking news: FALSE FLAG IN MOSCOW! VINEYARDSAKER:

The Saker >>

Human Rights in Ireland
www.humanrights.ie

offsite link Human Rights and Social Movements: the Right2Water case Fri May 22, 2015 12:13 | Ntina Tzouvala

offsite link The Embodied Subject: Northern/Irish Feminist Judgments Project Thu May 21, 2015 13:47 | Aoife O'Donoghue

offsite link O?Conaill on the ?Logic? of ?No? #marref Thu May 21, 2015 10:17 | GuestPost

offsite link ACJRD Criminal Justice Essay Competition 2015 Thu May 21, 2015 09:00 | Yvonne Daly

offsite link This referendum is about more than same-sex marriage for those of us who are calling for a Yes? Thu May 21, 2015 08:33 | admin

Human Rights in Ireland >>

Cedar Lounge
For lefties too stubborn to quit

offsite link What you want to say ? 27th May 2015 03:15 Wed May 27, 2015 | WorldbyStorm

offsite link And so it begins? but what exactly? 00:28 Wed May 27, 2015 | WorldbyStorm

offsite link ?It would have happened anyway?? 14:54 Tue May 26, 2015 | WorldbyStorm

offsite link The coalition deals behind the marriage equality referendum? 12:54 Tue May 26, 2015 | WorldbyStorm

offsite link Airtime at the General Election 11:00 Tue May 26, 2015 | WorldbyStorm

Cedar Lounge >>

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-2015 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