• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

JavaScript/ html help

Xenos

Member
Am getting into a little web design with some self tutoring thru online tutorials. Have created two functions between the head tags to display a local clock and a GMT clock respectively. Have created separate forms in the body to display the two clocks. Everything works fine except that the two clocks never work at the same time. I am calling the two functions in the body tag e.g <BODY *****= "clock()" "GMTclock()">. I have tried several combinations without success. Can anyone help? Hope I am not being too simplistic here.
Thanks.
 
You're using an onload event?

wouldn't it be something like <body onload="clock(); GMTclock();">

Still not sure if they will both work though, but it seems like they should unless something is conflicting with the two clock functions.
 
Hi jjones, you're a gentleman and a scholar. It worked. Thanks for your assistance. This thing is very interesting and engrossing. Will be drawing on the experience of you guys and gals as I go along. Thanks once again.
 
You're very welcome, glad to offer the assist. Don't hesitate to post any other questions that come up, I'm sure someone here will know the answer. 🙂
 
Back
Top