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

Recent

Welcome to TinyPortal. Please login or sign up.

March 29, 2024, 05:24:28 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,105
  • Total Topics: 21,213
  • Online today: 310
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 298
  • Total: 298

Scrolling Recent Topics Block

Started by HaxXxoR, April 06, 2006, 02:17:55 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

HaxXxoR

is there a way to make the recent posts block scrool?

HaxXxoR


stigmartyr

Well SHARE AND SHARE ALIKE!! 

RAWR !


Mewants this code :P

nite0859


HaxXxoR

This is the code that i used;

SMF_ROOT/Themes/default/TPortalBlocks.template.php find;

Quote
echo '<div style="width: 100%; overflow: hidden;">';
    foreach($what as $w){

above add;

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

then find;

Quote$counter++;
    }
    echo '</div>';
}

and replace with;

Quote$counter++;
    }
    echo '</div></marquee>';

}


stigmartyr

thx :) Ill try that later!  Oh and for accuracy later when folks are search TP for snippets, can u change ur topic post to 'scrolling' rather than scrooling?  ty

HaxXxoR

lol i like mispelling words.    j/k changing now

HaxXxoR

wanna see it in action? www.Tasty-Fragism.com click on home and its on the right.

underworld

I tried it and it works like a charm for me. Thanks for sharing this!

stigmartyr

#9
You mean the left. :P

Oh and ur splash page says best viewed @ 1024x768 but Im using that with a huge CRT and its still too low in the page.  Can u bring the image up some?  Looks sweet though, you make good graphics. 




And there is no way in hell Im getting FireFox.   :uglystupid2:  Whats the dealio with everyone running to FireFox these days?  There are security holes in it.  You're not anymore secure from viruses, yes maybe from active x stuff, but thats it.  U have to download and install all kinds of plugins to get it to work like IE, and then it doesnt render style sheets or play back graphics consistently like IE.  Scroll-bar tracks still appear in firefox frames where scroll is set to 'NO'.


Is it just en-vogue to hate Bill Gates?