Automatic Date Changer

  • Thread starter Thread starter Ugly Girl
  • Start date Start date
U

Ugly Girl

Is it possible to have the daily date change automatically with FrontPage
2003. If it is, how is it done.

Thanks

Janie
 
On an ASP page put this
[<%=Date()%>]


So if you want you could put Todays date [<%=Date()%>]
and you get
Todays Date [date will appear here]
 
Thanks Joe, that worked real well. Appreciate your tip.

Now, another question. The font is set for small, can I make it any smaller?

Thanks

Janie
 
Oops, that made it bigger on mine. I must have done something wrong.
Oh well, that's okay. I'm just happy to have it working. Your are great!

Janie
 
Hi Janie,

You are Welcome!

If you could post a URL to the page you are using it in..we could probably
see why the font sizes aren't doing what you would expect. (Chances are you
have another font size too that was done in FrontPage that is making it
larger)

--
Best,
Joe

Expression Web and FrontPage Forums:
http://www.timeforweb.com/frontpage/forum/
 
Hi Joe,

Here is a link to my page. Please keep in mind that I am a novice, so you
aren't going to see anything fancy. But I sure do have fun with it!

http://cradock.org/

I just wanted to try to make the font a little smaller so it would fit in
the box a little better but if I can't, I am happy that it is working.

I'm going to post another message now about another problem I am having.
Hope you can help me with the new problem as well.

Thank a bunch.

Janie
 
I have had a quick look at your site and I see this JS

var cdate="<small><font color='000000' face='Arial'><b>"
+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"
"+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"

The use of the font tag is not recommended because it is being withdrawn
from later versions of HTML

So you could try using CSS, which allows you to specify the font size as a
percentage, so you can experiment to get the size that you want, e.g.
var cdate="<div style="color: black; font: bold 75% arial,sans-serif>"
+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"
"+hours+":"+minutes+":"+seconds+" "+dn +"</div>"
 
Back
Top