forked from concord-consortium/sparks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathembeddable.html
99 lines (88 loc) · 5.93 KB
/
embeddable.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<title>SPARKS Module 2: Measuring a Series Circuit</title>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type' />
<link rel="icon" href="http://concord.org/sparks/virtual-electronics/favicon.ico" />
<link href='lib/jquery/css/ui-lightness/jquery-ui-1.8.24.custom.css' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Anonymous+Pro:700' rel='stylesheet' type='text/css'>
<link href='common/stylesheets/app.css' rel='stylesheet' type='text/css' />
<link href='common/stylesheets/sparks.css' rel='stylesheet' type='text/css' />
<link href="common/stylesheets/breadboard.css" rel="stylesheet" type="text/css" >
<link href='common/stylesheets/embeddable.css' rel='stylesheet' type='text/css' />
<style>
#HTMLLog{display:none;background:#000;color:#c00;height:100px;padding:10px;margin:10px;}
</style>
<script src="lib/raphael-min.js" type="text/javascript"></script>
<script src="client-breadboard-activity.js" type="text/javascript"></script>
<script src="tests/jspec/activities/oscope-activity.js"></script>
<script src="https://raw.github.com/CSS-Tricks/AnythingZoomer/master/js/jquery.anythingzoomer.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(
['_setAccount', 'UA-6899787-16'],
['_setAllowAnchor', true],
['_trackPageview'],
['b._setAccount', 'UA-6899787-18'],
['b._setAllowAnchor', true],
['b._trackPageview']
);
(function() {
// only initialize GA if we're running on the portal
if (location.host === "sparks.portal.concord.org") {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
}
})();
</script>
</head>
<body>
<div id="loading">
<img src="common/icons/ajax-loader.gif" style="float: left; padding: 10px"/>
<div id="loading-text" style="padding-top: 17px">
Loading activity
</div>
</div>
<div id="breadboard_wrapper">
<div id="oscope_mini" style="display: none;"></div>
<div id="fg_mini" style="display: none;"></div>
<div id="add_components" style="display: none;">
<div id="component_drawer" class="retracted"></div>
<button id="add_components_btn">Add a new Component</button>
</div>
<div id="breadboard" style="width: 800px; height: 500px; display: none;">
<div style=" text-align: center; border: 1px solid gray;">
<img style="vertical-align: middle; height: 498px;" src="common/images/loading.gif"/>
</div>
</div>
<div id="credits"></div>
</div>
<div id="about" style="display: none;">
<span id="close-about">X</span>
<p>
This interactive was created by the <a href="http://concord.org" target="_blank">Concord Consortium</a> using our <a href="http://sparks.concord.org" target="_blank">SPARKS</a> software, with funding by a grant from the National Science Foundation.
</p>
<p>
Visit <a href="http://sparks.concord.org" target="_blank">sparks.concord.org</a> to find out more, or to embed circuits on your own web pages.
</p>
<p>
<a id="share-prompt" target="_blank">Click here</a> to share or embed this model.
</p>
<div class="copyright-section">
<strong>Copyright © 2013 </strong><a class="opens-in-new-window" href="http://concord.org" id="share-license-link" target="_blank">The Concord Consortium</a>. All rights reserved. The <a href="https://github.com/concord-consortium/sparks" target="_blank">software</a> is licensed under <a class="opens-in-new-window" href="http://opensource.org/licenses/BSD-2-Clause" id="share-license-link" target="_blank">Simplified BSD</a>, <a class="opens-in-new-window" href="http://opensource.org/licenses/MIT" id="share-license-link" target="_blank">MIT</a> or <a class="opens-in-new-window" href="http://opensource.org/licenses/Apache-2.0" id="share-license-link" target="_blank">Apache 2.0</a> licenses. Please provide attribution to the Concord Consortium and the URL <a class="opens-in-new-window" href="http://concord.org/" id="share-license-link" target="_blank">http://concord.org</a>.
</div>
<a href="http://sparks.concord.org" target="_blank"><img src="http://concord.org/sparks/virtual-electronics/_assets/img/sparks-logo.png"></img></a>
</div>
<div id="share-panel" style="display: none;">
<span id="close-share">X</span>
<h2>Paste this link in email or IM</h2>
<textarea id="share-link"></textarea>
<h2>Paste HTML to embed this model in a website or blog</h2>
<textarea id="share-iframe-content"><iframe src="http://sparks.portal.concord.org/sparks-content/embeddable.html#" width="800px" height="500px"></iframe></textarea>
<div class="copyright-section">
<strong>Copyright © 2013 </strong><a class="opens-in-new-window" href="http://concord.org" id="share-license-link" target="_blank">The Concord Consortium</a>. All rights reserved. The software is licensed under <a class="opens-in-new-window" href="http://opensource.org/licenses/BSD-2-Clause" id="share-license-link" target="_blank">Simplified BSD</a>, <a class="opens-in-new-window" href="http://opensource.org/licenses/MIT" id="share-license-link" target="_blank">MIT</a> or <a class="opens-in-new-window" href="http://opensource.org/licenses/Apache-2.0" id="share-license-link" target="_blank">Apache 2.0</a> licenses. Please provide attribution to the Concord Consortium and the URL <a class="opens-in-new-window" href="http://concord.org/" id="share-license-link" target="_blank">http://concord.org</a>.
</div>
</div>
</body>
</html>