Php news ticker
2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 15, 2008 (RSS)
By grauchut - July 15, 2008
Is there a way to ue cms builder with a news ticker instead of having to install another program. I am trying to keep my client from having to log into more then one program to update their site. Here is the php news ticker i found. Thanks
http://www.scriptsez.net/index.php?action=details&cat=News%20Publishing&id=1072184981
http://www.scriptsez.net/index.php?action=details&cat=News%20Publishing&id=1072184981
Glenn Rauchut (Owner) Emergency Designz
Re: [grauchut] Php news ticker
By Donna - July 15, 2008
Hi Glenn,
I took a quick look at the script, and it looks like you could probably integrate that script into CMS Builder... but an easier solution might be to skip the majority of the script all together, since most of it is the admin program anyway. The "ticker" part appears to be this:
Where you see the words "ticker content", is where the output for the ticker goes. So, if you put this into your CMS Builder page, and then put the CMS Builder output code where "ticker content" is, it'll pull that in. No extra scripting required. :)
Try copying & pasting the above code into your page first to see it in action, then you can modify it to have some CMS Builder code in there to print your dynamic headlines. :)
I took a quick look at the script, and it looks like you could probably integrate that script into CMS Builder... but an easier solution might be to skip the majority of the script all together, since most of it is the admin program anyway. The "ticker" part appears to be this:
<TABLE style="BORDER-RIGHT: #000000 0px double; PADDING-RIGHT: 0px; BORDER-TOP: #000000 0px double; PADDING-LEFT: 0px; FONT-WEIGHT: bold; FONT-SIZE: 10px; BACKGROUND-IMAGE: PADDING-BOTTOM: 0px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #000000 0px double; WIDTH: 140px; COLOR: #ffffff; PADDING-TOP: 0px; BORDER-BOTTOM: #000000 0px double; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none" cellSpacing=0 cellPadding=0 bgcolor=#00000 >
<TBODY>
<TR>
<TD style="BORDER-RIGHT: #0910a3 1px double; PADDING-RIGHT: 4px; BORDER-TOP: #0910a3 1px double; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 10px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #0910a3 1px double; COLOR: #ffffff; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #0910a3 1px double; BACKGROUND-REPEAT: repeat-x; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; HEIGHT: 22px; TEXT-DECORATION: none; FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Verdana, Helvetica, Arial "><B><FONT color=#ffffff> News
Ticker</FONT></B></TD></TR>
<TR>
<TD style="BORDER-RIGHT: #0910a3 1px double; PADDING-RIGHT: 4px; BACKGROUND-POSITION: center bottom; BORDER-TOP: #0910a3 1px double; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 10px; PADDING-BOTTOM: 15px; MARGIN: 0px; VERTICAL-ALIGN: top; BORDER-LEFT: #0910a3 1px double; COLOR: #ffffff; LINE-HEIGHT: normal; PADDING-TOP: 4px; BORDER-BOTTOM: #0910a3 1px double; BACKGROUND-REPEAT: repeat-x; FONT-STYLE: normal; FONT-FAMILY: Arial, Helvetica, sans-serif; TEXT-DECORATION: none FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Verdana, Helvetica, Arial">
<MARQUEE onmouseover=this.stop() onmouseout=this.start()
scrollAmount=1 direction=up width="100%" height=100>ticker content</MARQUEE></TD></TR></TBODY></TABLE>
Where you see the words "ticker content", is where the output for the ticker goes. So, if you put this into your CMS Builder page, and then put the CMS Builder output code where "ticker content" is, it'll pull that in. No extra scripting required. :)
Try copying & pasting the above code into your page first to see it in action, then you can modify it to have some CMS Builder code in there to print your dynamic headlines. :)
Donna
--
support@interactivetools.com
--
support@interactivetools.com