Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Integrating news into vertical and horizontal scroller
Andyb
Posted on 03 Jun 2008, 23:45:55

Access: Member
Total Posts: 18
Joined: 2008-05-16

Hi Chris,

I am trying to integrate news from certain categories into vertical and horizontal news scrollers.

I have tried :
Code:
<IE:Download ID="marqueedata" STYLE="behavior:url(#default#download)" />
<marquee id="externalmarquee" direction=up scrollAmount=2 style="width:145px;height:305px;border:1px solid #CCCCFF;padding:5px" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2" src="<?php
$cat = "News";
include 'news/index.php';
?>">
</marquee>

Which sort of works but includes some script in the scrolled news as well as the news text.

I know that marquees are deprecated, however, they are very useful for scrolling football results in a retro style.

Please can you point me in the right direction ?
#248
Chris
Posted on 04 Jun 2008, 00:18:49

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Hi Andy,

had a quick play around with it and I think I've achieved what you were going for

Code:
<marquee style="width:145px;height:305px;border:1px solid #CCCCFF;padding:5px" direction="up" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=2">
<?php
include 'news/index.php';
?>
</marquee>

Give it a try :happy:
#249
Andyb
Posted on 04 Jun 2008, 00:32:02

Access: Member
Total Posts: 18
Joined: 2008-05-16

Thanks Chris,

Used your revised code and added the $cat = "News"; back into the <?php tags and it works fine.

Andy B.
#250
Network-13.com © 2013