TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 105
  • Total: 105

Scrollable or Selfscrolling RSS feed Block???

Started by hawkeye, January 27, 2006, 03:32:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hawkeye

These codes are great, but does anyone have one for the rss block? Either scrollable or selfscrolling?

Edit by borgBOB, split this into new post from  Re: Scrollable Recent Posts Block + Selfscrolling ShoutBox???

iwyen

I'm using the codes for scrolling Recent Topics:

http://www.tinyportal.net/smf/index.php?topic=4018.0

1. Backup and open Themes/default/TPPortalBlocks.template.php

2. Find THE CODE:


         echo '<div style="padding: 5px;" class="smalltext">';
            TPparseRSS();
         echo '</div>';


3. Add the first part of HaxXxoR's code above THE CODE:


   echo '<marquee  behavior="scroll" direction="up" height="200px" scrolldelay=" 10" scrollamount=" 1" onmouseover="this.stop()" onmouseout="this.start()">';


4. Change the marquee values to your preference

5. Add this below THE CODE:


   echo '</marquee>';


6. FTP your new file and replace the old one.

anunlike

Nice, iwyen! I'm definitely going to use this.

It'd be cool if this could be an admin on/off option.

ferra1980

Very good job... It works fine..
Thanks iwyen

This website is proudly hosted on Crocweb Cloud Website Hosting.