Code from codepen.io not working when downloaded: floorplan

Alex

I downloaded the code from codepen.io and it does not work locally.

http://codepen.io/nanarth/pen/raarXe

I suspect that references to some libraries are not exported, but can figure out which.

Can anyone help me with this (I am new to this)

Thank you

UPDATE: Added the following code. Still not working

<head>
    <meta charset="utf-8">
    <title>Floor Plan - local coordinate map layers for D3.js</title>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/3.4.13/d3.min.js"></script>
    <script type="text/javascript" src="http://codepen.io/nanarth/pen/yyyqdL"></script>
    <script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
</head>

Update #2: The screenshot of the error I am getting.

enter image description here

Alex

So what happens, is when then files are exported, one of the files is for some reason empty.

replacing

<script src='js/yyyqdl.js'></script>

with

<script src='http://codepen.io/nanarth/pen/yyyqdL.js'></script>

solved the issue.

Or the file can be downloaded and used locally and keep the old reference

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

ダウンロード時にcodepen.ioのコードが機能しない:floorplan

分類Dev

FFMPEG for thumbnail from video distorted when downloaded

分類Dev

UWP App crashes when downloaded from store, but not when sideloaded

分類Dev

Files get corrupted when downloaded from FTP server

分類Dev

Cannot update data fetched from an API when viewing on full screen on codepen

分類Dev

Response.RedirectToRoute not working with MVC areas when routing from ASPX code behind file

分類Dev

Disable code formatting when working with an SCM

分類Dev

Query working in mysql but not from c# code

分類Dev

SVG not working when inserted from Javascript

分類Dev

Uncaught DOMException: Not able to run codepen code on my html page

分類Dev

Knitr 'asis' option not working when R produces LaTeX code

分類Dev

Why is the following batch code not working when put in IF-statement?

分類Dev

Numpy module not found when working with Azure Functions in VS Code and virtualenv

分類Dev

Show images downloaded from a server in a fast way

分類Dev

In Flutter - How to pass the image downloaded from the url

分類Dev

codepen.ioの例を.vueにコピーする方法

分類Dev

migrating code from gatsby to nextjs and now aws-sdk not working

分類Dev

Github : Accidentally started working upon the `Downloaded` zip of the repository instead of the `clone`

分類Dev

Javascript - When creating new audio objects, when are they downloaded?

分類Dev

Plug.Conn.assign not working when called from a Pipeline Plug

分類Dev

SQL Server Query not working when executed from PHP

分類Dev

RXJS subscribe method not working when invoked from HTML Page

分類Dev

Git push action is not working when pushing from git action container

分類Dev

Explode is not working as it should when string fetched from database

分類Dev

jQuery typeahead stops working when I select an option from the dropdown

分類Dev

Passing data from one fragment to another is not working when passing data

分類Dev

cordova contacts not working when using it from a separate file

分類Dev

(If) statement not working when including it from another php file

分類Dev

curl_init() not working when php script accessed from browser

Related 関連記事

  1. 1

    ダウンロード時にcodepen.ioのコードが機能しない:floorplan

  2. 2

    FFMPEG for thumbnail from video distorted when downloaded

  3. 3

    UWP App crashes when downloaded from store, but not when sideloaded

  4. 4

    Files get corrupted when downloaded from FTP server

  5. 5

    Cannot update data fetched from an API when viewing on full screen on codepen

  6. 6

    Response.RedirectToRoute not working with MVC areas when routing from ASPX code behind file

  7. 7

    Disable code formatting when working with an SCM

  8. 8

    Query working in mysql but not from c# code

  9. 9

    SVG not working when inserted from Javascript

  10. 10

    Uncaught DOMException: Not able to run codepen code on my html page

  11. 11

    Knitr 'asis' option not working when R produces LaTeX code

  12. 12

    Why is the following batch code not working when put in IF-statement?

  13. 13

    Numpy module not found when working with Azure Functions in VS Code and virtualenv

  14. 14

    Show images downloaded from a server in a fast way

  15. 15

    In Flutter - How to pass the image downloaded from the url

  16. 16

    codepen.ioの例を.vueにコピーする方法

  17. 17

    migrating code from gatsby to nextjs and now aws-sdk not working

  18. 18

    Github : Accidentally started working upon the `Downloaded` zip of the repository instead of the `clone`

  19. 19

    Javascript - When creating new audio objects, when are they downloaded?

  20. 20

    Plug.Conn.assign not working when called from a Pipeline Plug

  21. 21

    SQL Server Query not working when executed from PHP

  22. 22

    RXJS subscribe method not working when invoked from HTML Page

  23. 23

    Git push action is not working when pushing from git action container

  24. 24

    Explode is not working as it should when string fetched from database

  25. 25

    jQuery typeahead stops working when I select an option from the dropdown

  26. 26

    Passing data from one fragment to another is not working when passing data

  27. 27

    cordova contacts not working when using it from a separate file

  28. 28

    (If) statement not working when including it from another php file

  29. 29

    curl_init() not working when php script accessed from browser

ホットタグ

アーカイブ