From: Vincent Vanwaelscappel Date: Fri, 23 Oct 2015 13:17:30 +0000 (+0000) Subject: #fluidbook_html5 : fix background links bug @mpesme really X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cde1ffc9dd0e974138c14161465183a7bb19718c;p=fluidbook-html5.git #fluidbook_html5 : fix background links bug @mpesme really --- 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;