From cde1ffc9dd0e974138c14161465183a7bb19718c Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 23 Oct 2015 13:17:30 +0000 Subject: [PATCH] #fluidbook_html5 : fix background links bug @mpesme really --- js/libs/fluidbook/fluidbook.background.js | 2 +- style/fluidbook.css | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/js/libs/fluidbook/fluidbook.background.js b/js/libs/fluidbook/fluidbook.background.js index 444ca165..d4de6fef 100644 --- a/js/libs/fluidbook/fluidbook.background.js +++ b/js/libs/fluidbook/fluidbook.background.js @@ -12,7 +12,7 @@ FluidbookBackground.prototype = { && this.fluidbook.datas.links.background != '' && this.fluidbook.datas.mobileIgnoreBackgroundLinks === false) { $("#background").prepend(''); - hasLinks = true; + this.hasLinks = true; } }, resize: function(w, h) { diff --git a/style/fluidbook.css b/style/fluidbook.css index 4d6d1ca4..48c74801 100644 --- a/style/fluidbook.css +++ b/style/fluidbook.css @@ -142,6 +142,14 @@ body { z-index: 0; } +#background .links { + position: absolute; +} + +#background .links .link { + position: absolute; +} + /* Orientation */ .portrait .shade, .portrait .page.right { display: none; @@ -603,10 +611,6 @@ footer.hidden, header.hidden, #interface.hidden { z-index: 2; } -#background .links .link { - position: absolute; -} - .link.multimedia { position: absolute; z-index: 1 !important; -- 2.39.5