Problem with using "marquee" in HTML

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
szms
Forum Contributor
Posts: 101
Joined: Thu Jun 26, 2003 12:23 pm

Problem with using "marquee" in HTML

Post by szms »

I am trying to show a dynamic "Welcome To My Website" all the time. The following code is doing the purpose but it's going for the next time when the previous one is completely gone. I want to show the same consequitively. How to do that?

<html>
<head>
</head>
<body>
<table width="100%" bgcolor="green">
<tr>
<td><p align="center"><font face="impact" color="yellow">
<marquee border="0">
Welcome To My Website
</marquee> </font>
</td>
</tr>
</table>
</body>
</html>
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post by Unipus »

I don't actually understand what you're trying to say about "the previous one" and whatnot, but...

PLEASE don't use marquee. I'd place that as probably #3 on "Unprofessional things you can do on your website that will make me instantly distrustful of you and your services."
User avatar
Vincent Puglia
Forum Commoner
Posts: 67
Joined: Thu Sep 04, 2003 4:20 pm
Location: where the World once stood

Post by Vincent Puglia »

Hi,

If you search for 'marquee' at http://msdn.microsoft.com you'll get all the properties, etc. available for the tag. You do know, however, that "<marquee..." is IE only? If you intend others to see it, you'll need to use a crossBrowser text scrolling script.

Unipus: not all sites need be 'professional'; some are personal, some are fun

Vinny
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post by Unipus »

not all sites need be 'professional'; some are personal, some are fun
True. I guess i just don't find marquees to be particularly fun (unless they're done to horrible excess... 200pt marquees might be a good time, with some banjo music). And I don't really need to see any giant animation that says "Welcome to our website." Most viewers are going to ignore that bit of text, because of course they're at your web site. Making it a big probably colorful animated block of ick just makes the job of ignoring that useless bit of information annoyingly more difficult.

All right. That's my rant on the topic of marquees. Do what you will, now.
User avatar
Vincent Puglia
Forum Commoner
Posts: 67
Joined: Thu Sep 04, 2003 4:20 pm
Location: where the World once stood

Post by Vincent Puglia »

Hi unipus,
And I don't really need to see..."Welcome to our website." ... because...they're at your web site
While I agree it isn't necessary to state the obvious in a 'flashy' manner, some people feel the need to do so -- and it is their site to design.

Vinny
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post by Unipus »

Agreed then.
szms
Forum Contributor
Posts: 101
Joined: Thu Jun 26, 2003 12:23 pm

Post by szms »

Without out using MARWUEE how can I do that. Could you please help me?
User avatar
Vincent Puglia
Forum Commoner
Posts: 67
Joined: Thu Sep 04, 2003 4:20 pm
Location: where the World once stood

Post by Vincent Puglia »

Hi,

http://www.google.com/search?hl=en&ie=I ... croller%27

only look at the ones that say 'javascript' and 'cross browser'

Vinny
Post Reply