From 371dfc5c468e44a329543322a968285b40f62253 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 29 Nov 2010 13:43:36 -0500 Subject: epub: ocn (object numbers) now link to themselves * jumps to top of viewer --- CHANGELOG_v2 | 3 +++ data/doc/sisu/v2/CHANGELOG | 3 +++ lib/sisu/v2/epub_format.rb | 6 +++++- 3 files changed, 11 insertions(+), 1 deletion(-) 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+|)$/, - %{}) + %{}) 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; -- cgit v1.2.3