aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG_v23
-rw-r--r--data/doc/sisu/v2/CHANGELOG3
-rw-r--r--lib/sisu/v2/epub_format.rb6
3 files changed, 11 insertions, 1 deletions
diff --git a/CHANGELOG_v2 b/CHANGELOG_v2
index ef79bea5..0647cd47 100644
--- a/CHANGELOG_v2
+++ b/CHANGELOG_v2
@@ -27,6 +27,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.9.orig.tar.gz
places that object at the top of the browser and provides its url
(requested, Ben Armstrong (live-manual))
+ * epub, ocn (object numbers) now link to themselves, clicking on one
+ places that object at the top of the viewer
+
%% 2.7.8.orig.tar.gz (2010-10-25:43/1)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.8.orig.tar.gz
af9dac02064ea03c61d6eecd0882a9f1be6f83d37fdddcf8e45832b9def52140 2750397 sisu_2.7.8.orig.tar.gz
diff --git a/data/doc/sisu/v2/CHANGELOG b/data/doc/sisu/v2/CHANGELOG
index 6a96149c..11b6e850 100644
--- a/data/doc/sisu/v2/CHANGELOG
+++ b/data/doc/sisu/v2/CHANGELOG
@@ -27,6 +27,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.9.orig.tar.gz
places that object at the top of the browser and provides its url
(requested, Ben Armstrong (live-manual))
+ * epub, ocn (object numbers) now link to themselves, clicking on one
+ places that object at the top of the viewer
+
%% 2.7.8.orig.tar.gz (2010-10-25:43/1)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.8.orig.tar.gz
af9dac02064ea03c61d6eecd0882a9f1be6f83d37fdddcf8e45832b9def52140 2750397 sisu_2.7.8.orig.tar.gz
diff --git a/lib/sisu/v2/epub_format.rb b/lib/sisu/v2/epub_format.rb
index 761d771e..e016b011 100644
--- a/lib/sisu/v2/epub_format.rb
+++ b/lib/sisu/v2/epub_format.rb
@@ -82,7 +82,7 @@ module SiSU_EPUB_Format
else
ocn_class='ocn'
@ocn.gsub(/^(\d+|)$/,
- %{<label class="#{ocn_class}">\\1</label>})
+ %{<label class="#{ocn_class}"><a href="#o\\1" class="lnk#{ocn_class}">\\1</a></label>})
end
end
def name
@@ -142,6 +142,10 @@ module SiSU_EPUB_Format
color: #003399;
text-decoration: underline;
}
+ a.lnkocn:link {
+ color: #777777;
+ text-decoration: none;
+ }
div {
margin-left: 0;
margin-right: 0;