X
Tap here to go to the mobile version of the site.

ஆதரவு மன்றம்

Can I embed an external js file?

  • 1 reply
  • 5 இந்த பிரச்னைகள் உள்ளது
  • Last reply by alanmoo
பதிவிடப்பட்டது

I was trying to make a tutorial about how to make a GeoGebra webpage by embedding the JavaScript API provided by GeoGebra.

What I did was to include the following code in my index.html file:

<script src="http://www.geogebratube.org/scripts/deployggb.js"></script>

but it didn't work.

I have to copy the entire deployggb.js file, and make it a local one to make it work. See: https://d157rqmxrxj6ey.cloudfront.net/pegasusroe/38459/

Does Thimble support external js files?

I was trying to make a tutorial about how to make a GeoGebra webpage by embedding the JavaScript API provided by GeoGebra. What I did was to include the following code in my index.html file: <script src="http://www.geogebratube.org/scripts/deployggb.js"></script> but it didn't work. I have to copy the entire deployggb.js file, and make it a local one to make it work. See: https://d157rqmxrxj6ey.cloudfront.net/pegasusroe/38459/ Does Thimble support external js files?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

Thimble does support external js files, but they have to be loaded securely. That means the server they're hosted on has to support https and the url used as the `src` needs to start with `https` as well.

Read this answer in context 3

Additional System Details

பயன்பாடு

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

கூடுதல் தகவல்

alanmoo 2 தீர்வுகள் 2 பதில்கள்
பதிவிடப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

Thimble does support external js files, but they have to be loaded securely. That means the server they're hosted on has to support https and the url used as the `src` needs to start with `https` as well.

Thimble does support external js files, but they have to be loaded securely. That means the server they're hosted on has to support https and the url used as the `src` needs to start with `https` as well.