Click to See Complete Forum and Search --> : Scrolling Time and Date


kipwr
07-24-2003, 02:13 PM
Hi, I am wanting to scroll the current time and date across the screen in my new page. I have two java scripts that I am using for this. One, the time and date one, can be found here (http://javascript.internet.com/clocks/universal-clock.html) , the scrolling script can be found here (http://javascript.internet.com/scrolls/line-scroller.html) . I can get each script to work on its own, but for some reason I can't get them to work together or one inside the other, any thoughts?thanks in advanced


kip

David Harrison
07-24-2003, 03:31 PM
I took your scripts to the chop shop and look what came out. It ain't pretty but it does what you asked for. If you want a better version with cleaner code I'm sure that I could come up with something.

kipwr
07-25-2003, 07:16 AM
Awesome that is perfect.Thanks for the help lavalamp it is appreciated.

kip

kipwr
07-25-2003, 07:46 AM
ok no heres the problem, im trying to put this scrolling clock into a table i have. Code is below

<div align="left">

<table border="0" cellpadding="0" width="1000" height="15">
<tr>
<td width="343" height="15">
</td>
<td width="891" height="15">

--------enter code here----------

</td>
<td width="364" height="15">
</td>
</tr>
</table>


the problem with this is when i insert the code there the scrolling clock is displayed like this:

Friday,
July,
25
2003
xx:xx:xx
AM
Local

then it proceeds to scroll across the screen in the formation shown. Then about half way across its journey it begins to kinda fold itself into formation. And about 2/3 of the way across it appears as it should all in a line. Grant it its a pretty kool little effect, but not too useful for me. Thanks in advanced for any help given.I aprreciate it very much.


Kip

kipwr
07-25-2003, 09:50 AM
nevermind i fixed it, instead of inserting it in the table itself i just went ahead and put it above the table and adjusted its x,y position in thescript itself. it works perfect now.thanks


kip