1
AADMavRic
Scrolling Text In A Block
  • 2006/5/15 7:34

  • AADMavRic

  • Just popping in

  • Posts: 31

  • Since: 2006/1/30


I would like to know how to make Text scroll in a custom block on my website. Can anyone enlighten me?

2
bluenova
Re: Scrolling Text In A Block

Using the Marquee tag:
<marquee>
Your text here
</marquee>


Full explanation

Here is an example from one of my sites for the 'new members block':
<div class="blockContent"><marquee height="100" direction="up" scrollamount="1" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1">
<
table cellspacing="1" class="outer">
  <{foreach 
item=user from=$block.users}>
    <
tr class="<{cycle values="even,odd"}>" valign="middle">
      <
td align="center">
      <{if 
$user.avatar != ""}>
      <
img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a>
      </
td>
        </
tr>
  <{/foreach}>
</
table>
</
marquee>
<
hr size="1" color="#cccccc">
</
div>

Login

Who's Online

104 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 104


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits