0
Answered

I would like to add html link to registration site on VBS Countdown script

Allen Mitts 4 years ago updated by Arthur L. (Answers in Genesis - Business Analyst) 4 years ago 3

I used the VBS countdown script to add the countdown to our VBS.  Looks really cool.  But now I would like the link to go to our registration site when clicked on.  It should be just an easy href addition but I am not quite sure how to apply it to your code for the countdown.   Please give me sample code. 

Answer

Answer
Answered

Hi Allen,

I took a quick look at your website and I'm not entirely sure why it's not loading. I attached a code snippet so you can see that the widget itself isn't broken. widget.html

This is the code on your website:

I'd suggest replacing the code you have right now with the updated code in the attached snippet. The main differences are removing the blue link underline and moving the <a> tags to between the <script> tags and the <div> tags.

Blessings,

Arthur

GOOD, I'M SATISFIED

thanks!

Satisfaction mark by Allen Mitts 4 years ago
+1
Answered

Hi Allen,

Sure thing! I recommend wrapping the link around the script tags, like so:

<div style="max-width:500px;max-height:250px;">

<a href="https://buckleyroadbaptist.myanswers.com/mystery-island/" target="_blank">

<script type="text/javascript" src="https://beta.myanswers.com/vbs/jscountdown/9668/"></script></a>

</div>

Blessings,

Arthur

Ok.  I applied your change and no longer have the Countdown on the bottom of our page. 

This is the code I applied in the Widget area of our footer on our webpage: 




Answer
Answered

Hi Allen,

I took a quick look at your website and I'm not entirely sure why it's not loading. I attached a code snippet so you can see that the widget itself isn't broken. widget.html

This is the code on your website:

I'd suggest replacing the code you have right now with the updated code in the attached snippet. The main differences are removing the blue link underline and moving the <a> tags to between the <script> tags and the <div> tags.

Blessings,

Arthur