if (!$(page).is(':visible')) {
$(page).show();
}
- shade = 'shade' + position;
- if (this.fluidbook.datas.pageReflection) {
- shade += '-reflet';
- }
- shade += '.png';
- $(page).children(".shade").html(this.loadImage('images/' + shade, this.fluidbook.datas.width / 4, this.fluidbook.datas.height));
+ $(page).children(".shade").html(this.loadPageShade(position));
$(page).children('.clinks').html(this.fluidbook.datas.clinks[pageNr]);
callback();
return;
}
shade += '.png';
$(page).children('.clinks').html(this.fluidbook.datas.clinks[pageNr]);
- $(page).children(".shade").html(this.loadImage('images/' + shade, this.fluidbook.datas.width / 4, this.fluidbook.datas.height));
+ $(page).children(".shade").html(this.loadPageShade(position));
+ },
+ loadPageShade:function(position){
+ return this.loadImage('images/shadows/pages/' + position + '.png', this.fluidbook.datas.width / 4, this.fluidbook.datas.height);
},
loadLeftPage: function (page, doublePage, callback) {
if (page > 0 && page <= this.fluidbook.datas.pages) {
p = '100%';
i = 'left';
}
- shadeImage = 'url("images/shade' + i + '-thumb.png"),';
+ shadeImage = 'url("images/shadows/thumbnails/' + i + '.png"),';
shadePosition = p + " 0%,";
shadeSize = '50px ' + h + 'px,';
_GET = parseGet({\r
background: 'transparent',\r
target: '_blank',\r
- link: '../index.'+DATAS.htmlExtension,\r
+ link: '../index.' + DATAS.htmlExtension,\r
time: 4\r
});\r
_GET['time'] = Math.max(1.5, _GET['time']);\r
if (i == 0) {\r
pclass += ' loaded';\r
} else {\r
-\r
- shade = '<div class="shade"><img src="images/shade' + side + '.png" /></div>';\r
+ shade = '<div class="shade"><img src="images/shadows/pages/' + side + '.png" /></div>';\r
}\r
\r
pclass += ' ' + side;\r
position: absolute;
bottom: -@shadow-height+@shadow-offset;
left: 0px;
- background-image: url("../images/book-shadow-left.png");
+ background-image: url("../images/shadows/back/left.png");
background-size: 100% @shadow-height;
width: @book-page-width;
height: @shadow-height;
&.right {
display: none;
- background-image: url("../images/book-shadow-right.png");
+ background-image: url("../images/shadows/back/right.png");
.landscape & {
left: @book-page-width;
right: -@right-edge-width;
width: @right-edge-width;
height: @book-page-height+@right-edge-bottom-offset;
- background-image: url("../images/edge-right.png");
+ background-image: url("../images/edges/edge-right.png");
background-repeat: no-repeat;
background-size: @right-edge-width unit(@book-page-height + @right-edge-bottom-offset, px);
background-position: 0 5px;
left: -@left-edge-width;
width: @left-edge-width;
height: @book-page-height + @left-edge-bottom-offset;
- background-image: url("../images/edge-left.png");
+ background-image: url("../images/edges/edge-left.png");
background-repeat: no-repeat;
background-size: @left-edge-width unit(@book-page-height + @left-edge-bottom-offset, px);
background-position: 0 0;
&:before {
position: absolute;
content: "";
- background-image: url("../images/icon-shad.png");
+ background-image: url("../images/shadows/thumbnails/back.png");
background-size: 100% 100%;
background-repeat: no-repeat;
opacity: 0.65;
.portrait & .icon.afterSearch {
display: none;
}
+ ²
.icon {
position: absolute;
top: 0px;