scrolling marquee/text with stationary background

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to have text scroll or slide onto the web page (from the right) over
top of a stationary image. I only want it to slide in once and stop. I
thought I'd create a marquee except I don't see how I can make an image be
the background while the text background remains transparent. Any
suggestions?
 
You don't use an image; you would use the marquee tag like this:

<marquee>this is the text</marquee>.

Note, this tag is pretty much outdated - IE supports it, I don't know about
the other browsers.

You can probably do the same sort of thing with javascript - and use an
image that slides left to right or whatever you require.

Search "marquee javascripts" in Google.
 
It is supported by NS6 and up.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
Hi,

To accomplish you'll need to use CSS, a Div tag and a little JavaScript.

To set the background of the div use the following CSS property:

background: url('images/addesign.gif');

replacing the image location with your own.

To scroll the text, you need to have a JavaScript that will write to the div over some interval.
 
Back
Top