Digital Textbook
+
${name}
diff --git a/seq_module.html b/seq_module.html
index b81126c19e..db6ed67777 100644
--- a/seq_module.html
+++ b/seq_module.html
@@ -1,13 +1,13 @@
|
% for t in range(1,1+len(items)):
- |
+ |
% endfor
|
-
|
- |
- |
+
|
+ |
+
|
diff --git a/seq_module.js b/seq_module.js
index f4f136de16..f6b33e3058 100644
--- a/seq_module.js
+++ b/seq_module.js
@@ -7,6 +7,13 @@ var ${ id }contents=["",
""
];
+var ${ id }types=["",
+ %for t in items:
+ "${t[1]['type']}" ,
+ %endfor
+ ""
+ ];
+
var ${ id }init_functions=["",
%for t in items:
function(){ ${t[1]['init_js']} },
@@ -24,16 +31,23 @@ var ${ id }loc = -1;
function ${ id }goto(i) {
if (${ id }loc!=-1)
${ id }destroy_functions[ ${ id }loc ]();
- $('#content').html(${ id }contents[i]);
+ $('#seq_content').html(${ id }contents[i]);
${ id }init_functions[i]()
- $('#tt_'+${ id }loc).attr("style", "background-color:grey");
+ //$('#tt_'+${ id }loc).attr("style", "background-color:gray");
+ $('#tt_'+${ id }loc).removeClass();
+ $('#tt_'+${ id }loc).addClass("seq_"+${ id }types[${ id }loc]+"_visited");
${ id }loc=i;
- $('#tt_'+i).attr("style", "background-color:red");
+ //$('#tt_'+i).attr("style", "background-color:red");
+ $('#tt_'+i).removeClass();
+ $('#tt_'+i).addClass("seq_active");
+
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);
}
function ${ id }setup_click(i) {
$('#tt_'+i).click(function(eo) { ${ id }goto(i);});
+ $('#tt_'+i).addClass("seq_"+${ id }types[i]+"_inactive");
+
}
function ${ id }next() {
diff --git a/video.html b/video.html
index 783c1b2ef0..cdd3d7f80f 100644
--- a/video.html
+++ b/video.html
@@ -1,27 +1,28 @@
- |
+ | |
You need Flash player 8+ and JavaScript enabled to view this video.
|
- | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
-| | |
- |  |
- |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
|
|
- |
-
-0.75x 1x 1.25x 1.5x
+ | |
+
+