scrolling marquee/text with stationary background

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?
 
A

Andrew Murray

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.
 
T

Thomas A. Rowe

It is supported by NS6 and up.

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

MD Websunlimited

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top