marquee

M

mark

How can I set up so that I can put a scrolling marquee in
on a time basis so that it will switch at a certain date,
like the scheduled picture. Is there a way i can change
the marquee to a picture to do this?
 
K

Kevin Spencer

No. You would have to write your own marquee app to do this.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
N

news.microsoft.com

mark said:
How can I set up so that I can put a scrolling marquee in
on a time basis so that it will switch at a certain date,
like the scheduled picture. Is there a way i can change
the marquee to a picture to do this?

You can enclose whatever content you like within <marquee> and </marquee>
tags. Here's an example that displays a custom greeting during the first
three months of the year.

<marquee>
<script>
curDte = new Date();
switch (curDte.getMonth()){
case 0:
document.write("Happy New Year!");
break;
case 1:
document.write("Happy Groundhog Day!");
break;
case 2:
document.write("Happy Fat Tuesday!");
break;
default:
document.write("Have a nide day!");
}
</script>
</marquee>


Keep in mind, though, that Internet Explorer is the only browser that honors
<marquee> and </marquee>. All other browesers display the contents
statically in place. And most Web designers have stopped using marquees and
other animated objects, because they divert the visitor's eye from the rest
of the content.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top