Re: [PHP] Scrolling text
On 13 Nov 2006, at 12:22 , Alain Roger wrote: I would like to have a scrolling text (as banner) on our website. er. eww. But OK. so, i would like to know if there is another way how to do a scrolling text without using flash, shockwave or other tool...only in php or HTML (in worse case). No. If you need to update a page that is already displayed, you need javascript. However, the marquee tag should be able to be used without displaying on multiple lines... That said, it's an ugly ugly tag and support for it is sparse. Avoid it. If you really want scrolling text you'd be better off finding some decent javascript code. There, those are words I never thought I'd say. -- Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Scrolling text
Hi, I would like to have a scrolling text (as banner) on our website. I tried Marquee which work very well but since i use a table and allocate 100% to marquee, if the content of a row (tr content) is greater than 100% or the table width, internet explorer automatically write the message on several lines (not several tr). e.g : sentence to display : this is a very long sentence about the way how works internet explorer with marquee way how is it displays under IE : this is a very long sentence about the way how works internet explorer with marquee under opera and firefow, it's well displayed as this is a very long sentence about the way how works internet explorer with marquee so, i would like to know if there is another way how to do a scrolling text without using flash, shockwave or other tool...only in php or HTML (in worse case). thanks a lot, -- Alain Windows XP SP2 PostgreSQL 8.1.4 Apache 2.0.58 PHP 5
Re: [PHP] Scrolling text
On Mon, 2006-11-13 at 20:22 +0100, Alain Roger wrote: Hi, I would like to have a scrolling text (as banner) on our website. I tried Marquee which work very well but since i use a table and allocate 100% to marquee, if the content of a row (tr content) is greater than 100% or the table width, internet explorer automatically write the message on several lines (not several tr). e.g : sentence to display : this is a very long sentence about the way how works internet explorer with marquee way how is it displays under IE : this is a very long sentence about the way how works internet explorer with marquee under opera and firefow, it's well displayed as this is a very long sentence about the way how works internet explorer with marquee so, i would like to know if there is another way how to do a scrolling text without using flash, shockwave or other tool...only in php or HTML (in worse case). thanks a lot, This works really well without the annoyance: div style=overflow: scroll; white-space: nowrap; this is a very long sentence about the way how works internet explorer with marquee /div Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] scrolling text box
in php how would I ready line by line from a scrolling text box here are the values I would have in the scrolling text box a,1 b,2 c,3 After the user hits the submit button on the form how can I get php to read the data line by line sort of like it was reading it line by line from a file. thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] scrolling text box
-Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 8:49 PM Cc: [EMAIL PROTECTED] Subject: [PHP] scrolling text box in php how would I ready line by line from a scrolling text box here are the values I would have in the scrolling text box a,1 b,2 c,3 After the user hits the submit button on the form how can I get php to read the data line by line sort of like it was reading it line by line from a file. thanks randy $array = explode("\n", $input); The input being the stuff fromt he textarea (or the scrolling text box as you call it) $array would be an array of the information...$array[0] would be the first line, $array[1] the second line, etc. Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who can, learn. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]