Saberwing
08-25-2008, 11:14 AM
Hey guys. I'm having a bit of trouble with the rsspausescroller (and more specifically, in running multiple instances of it).
A link to view what I'm talking about: http://scratch.mqseries.net/phpBB2/index.php
The first RSS feed seems to load fine, but the second one always gets stuck on 'Initializing RSS scroller...'
The code that I'm using (including the HTML tables to display them as they are) is as follows:
<table width="100%" border="0">
<tr>
<td width="50%">
<script type="text/javascript" src="rsspausescroller.js">
/***********************************************
* RSS Pausing Scroller- © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/ for source code and documentation
***********************************************/
</script>
<span class="news">RSS Feed - WebSphere MQ Support</span>
<script type="text/javascript">
//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
// By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.
new rsspausescroller("ibm1", "pscroller1", "mainmenu2", 4500, "", "date")
</script></td>
<td width='50%'><span class="news">RSS Feed - Message Broker Support</span>
<script type="text/javascript">
new rsspausescroller("ibm2", "pscroller1", "mainmenu2", 4500, "", "date")
</script></td></tr></table>
Any help would be greatly appreciated!
Cheers.
A link to view what I'm talking about: http://scratch.mqseries.net/phpBB2/index.php
The first RSS feed seems to load fine, but the second one always gets stuck on 'Initializing RSS scroller...'
The code that I'm using (including the HTML tables to display them as they are) is as follows:
<table width="100%" border="0">
<tr>
<td width="50%">
<script type="text/javascript" src="rsspausescroller.js">
/***********************************************
* RSS Pausing Scroller- © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/dynamicindex17/rsspausescroller/ for source code and documentation
***********************************************/
</script>
<span class="news">RSS Feed - WebSphere MQ Support</span>
<script type="text/javascript">
//new rsspausescroller(RSS_id, divId, divClass, delay, linktarget, optionalswitch)
//1) RSS_id: "Array key of RSS feed in scrollerbridge.php script"
//2) divId: "ID of DIV to display ticker in. DIV is dynamically created"
//3) divClass: "Class name of this ticker, for styling purposes"
//4) delay: delay between message change, in milliseconds
//5) linktarget: Target of links inside RSS feed. Set to "" for current page.
//6) optionalswitch: "optional arbitrary" string to create additional logic for formatrssmessage() to use.
// By default, optionalswitch supports "date", or "date+description" to also show these parts of a RSS feed.
new rsspausescroller("ibm1", "pscroller1", "mainmenu2", 4500, "", "date")
</script></td>
<td width='50%'><span class="news">RSS Feed - Message Broker Support</span>
<script type="text/javascript">
new rsspausescroller("ibm2", "pscroller1", "mainmenu2", 4500, "", "date")
</script></td></tr></table>
Any help would be greatly appreciated!
Cheers.