Thread: Scrolling News
View Single Post
  #4  
Old 04-08-2007, 12:08 PM
  Keys Care's Avatar 
Keys Care Keys Care is offline
 

eXpert
  
Join Date: Feb 2007
Location: Cheyenne - Santa Monica - Oregon
Posts: 214
 

Default Re: Scrolling News

Thought about it some more and moved the </marquee> up in the stack. Here is the revised code.

Code:
{* $Id: today_news.tpl,v 1.10.2.1 2005/09/21 05:41:51 mclap Exp $ *} <marquee scrollamount="1" scrolldelay="65" direction="up" width="176" height="150" style="font-family: Verdana; font-size: 8pt"> {if $news_message eq ""} {$lng.txt_no_news_available} {else} <B>{$news_message.send_date|date_format:$config.Appearance.date_format}</B><BR> {$news_message.body} </marquee> <br /><br /> {if $usertype eq "C"} <a href="news.php" class="SmallNote">{$lng.lbl_previous_news}</a> {/if} {/if} <br /><br /> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td class="VertMenuHr"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> </tr> </table> <font style="font-size: 8px;"><br /></font>

Now the message only scrolls leaving the email box and subscribe button.

Ant ideas of how to add more than one news point would be appreciated.

Regards,

Bob
__________________
All-Natural Healing Skin and Pet Care Products
4.6.0 Gold, ShipWorks 3
Reply With Quote