0
Answered

Countdown

Bo Mills 3 years ago updated by Arthur L. (Answers in Genesis - Business Analyst) 3 years ago 1

We use Nucleus.church for our church website.  I can get a free timer html code to work I found on the internet but I can't get the Zoomerang html code to work.  https://myanswers.com/vbs/manage/29688/  On the web page, it grays out and says expired and doesn't even show the countdown box just gray lines.  If I got to the source html of the promotion tools page, I can copy more code and get the countdown box to appear on the design page but still doesn't work and still only get event expired.  Suggestions? I have seen the other posts about Java but I used Java script on the free countdown and it works fine.

Answer

Answer
Answered

Good morning Bo,

It sounds like you are talking about the JavaScript embedded countdown code in the Promotion Tools section?

Here is the code for your event (https://myanswers.com/vbs/manage/29688/promotion-tools/):

You may want to alter the width and height attributes on the countdown to make it fit your website; that shouldn't cause any problems. You can delete the "max-" parts to keep the box at an exact size.

I just tested the code in an HTML document and it worked fine for me: countdown-test.html

I would suggest checking that you've inserted the script in a content block that allows JavaScript; from what you described it sounds like the JS is being prevented from loading.

You can also download the JS being used and host it on your own website; that may solve the issue for you if the cross-site scripting is being blocked: https://myanswers.com/vbs/jscountdown/29688/.

Blessings,

Arthur

AiG Web Support

Someone else took a look and said the script used for the countdown is old and is causing a lot of parser warnings/errors.  This means the code is not compatible with a lot of different current setups.  Does this mean you guys won't be able to fix this and make it usable for us?

Answer
Answered

Good morning Bo,

It sounds like you are talking about the JavaScript embedded countdown code in the Promotion Tools section?

Here is the code for your event (https://myanswers.com/vbs/manage/29688/promotion-tools/):

You may want to alter the width and height attributes on the countdown to make it fit your website; that shouldn't cause any problems. You can delete the "max-" parts to keep the box at an exact size.

I just tested the code in an HTML document and it worked fine for me: countdown-test.html

I would suggest checking that you've inserted the script in a content block that allows JavaScript; from what you described it sounds like the JS is being prevented from loading.

You can also download the JS being used and host it on your own website; that may solve the issue for you if the cross-site scripting is being blocked: https://myanswers.com/vbs/jscountdown/29688/.

Blessings,

Arthur

AiG Web Support