#native_company# #native_desc#
#native_cta#

Marquee Function

By Christopher Dale
on April 6, 2003

Version: 1.0

Type: Function

Category: HTTP

License: GNU General Public License

Description: Just a little bit o’ code that displays a marquee with the text and design that you specify.

<?php

	function DisplayMarquee($message) {

		$html_o = array(
			"font"		=> "<fontn  face='Arial, Helvetica, sans-serif'n  size='1'n  color='#000000'>nn  <strong>nn  ",
			"marquee"	=> "<marqueen  hspace='2'n  scrollamount='1'n  vspace='2'n  behavior='scroll'n  direction='left'n  width='100%'n  bgcolor='#ff9900'n  style='border-color: #000000; border-style: solid; border-width: 1pt'>nn"
		);

		$html_c = array(
			"font"		=> "nn </strong>n</font>",
			"marquee"	=> "</marquee>"
		);

		echo $html_o['marquee'];
		echo $html_o['font'];
		echo $message;
		echo $html_c['font'] . "n";
		echo $html_c['marquee'];

	}

	DisplayMarquee("I like chicken breast!");

?>