Jump to content

Community

Calculator needed


Gauravk
 Share

Recommended Posts

On 12/5/2019 at 9:37 AM, bfarber said:

Usually you can find calculator javascript widgets online that you can freely embed into your site. You would just copy the code into a manual HTML Pages block, then embed the block where-ever you want the calculator to display on your site.

So, not on calculator topic, but I am having trouble embedding javascript code into a wysiwyg block on my site.

I am clicking the "code" button, pasting the code, selecting "javascript" and all that is displayed is the code, not what it is supposed to do.

this is the code: <!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/adminwizard" style="min-width:320px;height:630px;"></div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<!-- Calendly inline widget end -->

Help is appreciated.

 

Link to comment
Share on other sites

When you paste "code", this is code designed to display in a code box. i.e.:

<!-- Calendly inline widget begin -->
<div class="calendly-inline-widget" data-url="https://calendly.com/adminwizard" style="min-width:320px;height:630px;"></div>
<script type="text/javascript" src="https://assets.calendly.com/assets/external/widget.js"></script>
<!-- Calendly inline widget end -->

What you would need to do is click the "Source" button on the editor and paste your javascript embed code in there.

Link to comment
Share on other sites

7 hours ago, bfarber said:

 

What you would need to do is click the "Source" button on the editor and paste your javascript embed code in there.

Thanks for your reply. I thought that what the "code" button was for, but now I know. However, on my editor I did not have a source button. I tried to install a new ckeditor, but the plugin keeps failing. I have a trouble ticket submitted. 

Link to comment
Share on other sites

16 hours ago, James Adams said:

Thanks for your reply. I thought that what the "code" button was for, but now I know. However, on my editor I did not have a source button. I tried to install a new ckeditor, but the plugin keeps failing. I have a trouble ticket submitted. 

You may need to give your group permission to post HTML in the AdminCP > Members > Groups area in that case.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy