Skip to content

Commit

Permalink
Remove links to files.edx.org
Browse files Browse the repository at this point in the history
  • Loading branch information
sarina committed Mar 3, 2025
1 parent 3c1f207 commit 1c9a350
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Binary file added source/_static/PeriodicTableFiles.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions source/_static/custom_js_example_code/jsinput_example.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<title>Dropdown with Dynamic Text</title>
<link rel="stylesheet" type="text/css" href="https://files.edx.org/custom-js-example/jsinput_example.css">
<link rel="stylesheet" type="text/css" href="https://raw.githubusercontent.com/openedx/docs.openedx.org/refs/heads/main/source/_static/custom_js_example_code/jsinput_example.css">
</head>
<body>
<script src="https://files.edx.org/custom-js-example/jschannel.js"></script>
<script src="https://files.edx.org/custom-js-example/jsinput_example.js" defer></script>
<script src="https://raw.githubusercontent.com/openedx/docs.openedx.org/refs/heads/main/source/_static/custom_js_example_code/jschannel.js"></script>
<script src="https://raw.githubusercontent.com/openedx/docs.openedx.org/refs/heads/main/source/_static/custom_js_example_code/jsinput_example.js" defer></script>
<label class="directions">Select an option from the list:
<select class="choices"></select>
</label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ To create a periodic table, you need the following files:
* Periodic-Table-Colors.css
* PeriodicTableHTML.txt

To download all of these files in a .zip archive, go to
http://files.edx.org/PeriodicTableFiles.zip.
To download all of these files in a .zip archive, download:
:download:`PeriodicTableFiles.zip </_static/PeriodicTableFiles.zip>`.

To create the periodic table, you need a Text component.

Expand All @@ -37,9 +37,9 @@ To create the periodic table, you need a Text component.
New Component**, and then click **Text**.
#. In the component that appears, click **Edit**.
#. In the component editor, switch to the **HTML** tab.
#. Open the PeriodicTable.txt file in any text editor.
#. Copy all of the text in the PeriodicTable.txt file, and paste it into the
Text component editor. (Note that the PeriodicTableHTML.txt file contains
#. Open the ``PeriodicTable.txt`` file in any text editor.
#. Copy all of the text in the ``PeriodicTable.txt`` file, and paste it into the
Text component editor. (Note that the ``PeriodicTableHTML.txt`` file contains
over 6000 lines of code. Paste all of this code into the component editor.)
#. Click **Save**.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ overview. The example problem uses these files.
["incorrect1", "correct", "incorrect2"]}'
width="600"
height="100"
html_file="https://files.edx.org/custom-js-example/jsinput_example.html"
html_file="https://raw.githubusercontent.com/openedx/docs.openedx.org/refs/heads/main/source/_static/custom_js_example_code/jsinput_example.html"
title="Dropdown with Dynamic Text"
sop="false"/>
</customresponse>
Expand Down

0 comments on commit 1c9a350

Please sign in to comment.