Star Wars Ala

ISBN: 9788415480204

Páginas: 96

Valoración:

5 1759
3034 descargas

Obtener acceso de por vida


Para descargar este libro es necesario crearse una cuenta

Me gusta Compartir A 1.285 personas les gusta esto. Sé el primero de tus amigos.

ss=»sinopsi-intro»>Sinopsis de Star Wars Ala-X Escuadrón Rebelde nº 01:

Los grandes guerreros estelares de la Alianza Rebelde se convierten en defensores de la Nueva República en esta colección masiva de relatos, con la presencia de Wedge Antilles, héroe de la Batalla de Endor, y su equipo de pilotos extraordinarios, conocido a través de la galaxia como el Escuadrón Rebelde. Título original: Star Wars Omnibus:X-wing Rogue Squadron  1

Leer más

Apúntate a la newsletter de CÓMICS

Sobre el autor de Star Wars Ala-X Escuadrón Rebelde nº 01

Sobre el autor de Star Wars Ala-X Escuadrón Rebelde nº 01

AA. VV.

Ficha técnica

Fecha de publicación: 19/06/2012 | Idioma: Español | ISBN: 978-84-15480-20-4 | Código: 10008526 | Formato: 15 x 23 cm. | Tinta: 4/4 | Presentación: Tapa dura sin s/cub. (cartoné) | Colección: Star Wars: Cómics Leyendas | Sentido de lectura: Occidental | Frecuencia: No fija
9788415480204

Todas las opiniones de Star Wars Ala-X Escuadrón Rebelde nº 01

Este libro tiene 0 Comentarios, ¡sé el primero en comentar!

Dejar un comentario

Dejar un comentario
  • Tu valoración


Por favor, introduce tu comentario.

Planeta Cómic
Comics Librerias


if (!jQuery){
// failback googleapis
var script = ‘‘;
script = script.replace(‘[TAG]’,’script’);
script_jquery = script.replace(‘[SRC]’,’https://static9planetadelibroscom.cdnstatics.com/plugins/jquery/js/jquery-1.11.3.min.js’);
document.write(script_jquery);
script_jquery_ui = script.replace(‘[SRC]’,’https://static9planetadelibroscom.cdnstatics.com/plugins/jquery/js/jquery-ui-1.11.4.min.js’);
document.write(script_jquery_ui);
}

var $buoop = {c:2};
function $buo_f(){
var e = document.createElement(«script»);
e.src = «//browser-update.org/update.min.js»;
document.body.appendChild(e);
};
try {document.addEventListener(«DOMContentLoaded», $buo_f,false)}
catch(e){window.attachEvent(«onload», $buo_f)}

var A_DALT = 1;
var TAGGING_ACTIU = 1;
var CONFIG_SITE = ‘es’;
var TIPO_PAGINA = ‘autores’;
var TITULO_PAGINA = ‘Star Wars Ala-X Escuadrón Rebelde nº 01 – AA. VV.’;
var URI_PAGINA = ‘/libro-star-wars-ala-x-escuadron-rebelde-n-01/67693’;
var CERCADOR_NO_RESULTS = ‘La búsqueda de [palabra] no tiene resultados.’;
var filtres_combinacions = [];

dataLayer.setCampaign(»,»,»,»,»,»);_satellite.track(‘setCampaign’);

{
«@context»: «http://schema.org»,
«@type»: «WebPage»,
«breadcrumb»: «PlanetadeLibros > Cómic y manga > Cómic y manga juvenil»,
«mainEntity»:
{«@type»:»Book»,»author»:»AA. VV.»,»bookFormat»:»http:\/\/schema.org\/Hardcover»,»datePublished»:»2012\/06\/19″,»image»:»https:\/\/www.planetadelibros.com\/usuaris\/libros\/fotos\/68\/m_libros\/sw-ala-x-escuadron-rebelde-n1_9788415480204.jpg»,»inLanguage»:»es»,»isbn»:»978-84-15480-20-4″,»name»:»Star Wars Ala-X Escuadr\u00f3n Rebelde n\u00ba 01″,»publisher»:»Planeta C\u00f3mic»,»description»:»»,»offers»:{«@type»:»Offer»,»price»:»30.00″,»priceCurrency»:»EUR»}}
}

<!– –>


$(document).ready(function(){

//############################################################################
//INI BOTÓN DE REGISTRO DE FACEBOOK
//############################################################################
$(«.botonRegistraInfoFacebook»).click(function(){
var es_header = $(this).parents(«.header»).length;
// per saber on tornar 😀
guarda_ultima_url();
//obtenemos la URL del link de facebook
elHref = $(this).parent().attr(«href»);
$.post(«//www.planetadelibros.com/includes/ajax_functions.php», {
accio: «activa_registro_facebook»,
url: elHref,
urlOrigen: «https://www.planetadelibros.com/»,
es_header: es_header
},function(data) {
if( elHref != «» ) window.location.href = elHref; //nos dirigimos a esa URL
});
return false;
});
//############################################################################
//FIN BOTÓN DE REGISTRO DE FACEBOOK
//############################################################################

$(‘#btn_instant_registrer_148’).click(function() {
$.ajax({
type: ‘GET’,
url: ‘//www.planetadelibros.com/includes/ajax_registres.php?id=148&tipo=BOTO_INSTANT’,
success: function(msg){
if(msg == ‘ok’) {
$(‘.express-title’).html(‘Gracias por registrarte.’);
}
else {
$(‘#rotador-313-148’).append(««);

$(‘#popupinstant’).fancybox({
maxWidth : 620,
fitToView : false,
width : ‘95%’,
height : ‘auto’,
autoSize : false,
closeClick : false,
helpers: {
overlay: {
locked: false
}
}
}).trigger(‘click’);
}
}
});
});

//##### INI – INICIALIZACION DEL ROTADOR [.slider-segells] #####
$(«.slider-segells»).owlCarousel({
items:6,
lazyLoad:true,
margin:15,
slideBy: 6,
responsive: {«0»:{«items»:2,»slideBy»:2},»500″:{«items»:3,»slideBy»:3},»850″:{«items»:5,»slideBy»:5},»980″:{«items»:6,»slideBy»:6}}
});
//##### FIN – INICIALIZACION DEL ROTADOR [.slider-segells] #####

//—————————————————————————–
// AJAX LOGIN
//—————————————————————————–
$(‘#FormLogin’).on(‘submit’, function(e) {
e.preventDefault();
$.ajax({
type: ‘POST’,
url: ‘//www.planetadelibros.com/includes/ajax_user_login.php’,
data: $(‘#FormLogin’).serialize(),
success: function (data) {
if( data == ») {
//tot ok refresquem
// login ok (PAG. 16)
if ( TAGGING_ACTIU ) {
dataLayer.setEvent(‘login’,’click’,’mail’,1,0);
_satellite.track(‘setEvent’);
}
window.location.reload();
} else {
//error
$(‘#login-missatge-error’).html( data );
$(‘#login-email’).addClass( ‘field-error’ );
$(‘#login-password’).addClass( ‘field-error’ );
}
}
});
});
//—————————————————————————–
// /end AJAX LOGIN
//—————————————————————————–

$(document).ready(function() {
recalcularCapsaSinopsi(«#capsa-sinopsi»);
});

$(document).on(«click», «#capsa-sinopsi .veure-mes», function(){
//Click Leer mas Sinopsi (PAG. 31)
if ( TAGGING_ACTIU ) {
dataLayer.setEvent(«book:sinopsis-read-more»,»click»,»Star Wars Ala-X Escuadrón Rebelde nº 01″,1,0);
_satellite.track(«setEvent»);
}

$(«#capsa-sinopsi»).removeClass(«te-mes»);
$(this).hide();
});

if ( TAGGING_ACTIU ) {
$(document).on(«click», «a.autor-veure-mes», function(){
//Click Leer mas Autor (PAG. 32)
dataLayer.setEvent(«book:follow-autor-read-more»,»click»,$(this).data(«tagging»),1,0);
_satellite.track(«setEvent»);
});
}
//##### INI – INICIALIZACION DEL ROTADOR [.carousel-libros-tematica] #####
$(«.carousel-libros-tematica»).owlCarousel({
items:5,
lazyLoad:true,
margin:15,
slideBy: 5,
responsive: {«0»:{«items»:2,»loop»:false,»nav»:false,»stagePadding»:50},»500″:{«items»:3,»slideBy»:3},»850″:{«items»:4,»slideBy»:4},»980″:{«items»:5,»slideBy»:5}}
});
//##### FIN – INICIALIZACION DEL ROTADOR [.carousel-libros-tematica] #####

if ( TAGGING_ACTIU ) {
//Click fletxa slide (PAG. 33 i PAG. 35)
$(document).on(‘click’, ‘.carousel-libros-tematica .owl-item .portada a’, function(){
dataLayer.setEvent(‘book:other-books-theme’,’click’,’Cómic y manga:’+ $(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);
});
}
if ( TAGGING_ACTIU ) {
//Click banner ohlibro (PAG. 87)
$( document ).on(‘click’, ‘a.banner-ohlibro’, function() {
dataLayer.setEvent(‘conexion_ohlibro’,’click’,$(this).data(‘tagging’),1,0);
_satellite.track(‘setEvent’);
});
}
if ( TAGGING_ACTIU ) {
//Click pestanyes opinions (PAG. 41)
$( document ).on(‘click’, ‘#tabs-opinions li > a’, function() {
var valueCercar = ‘libro-star-wars-ala-x-escuadron-rebelde-n-01/virtual/’+$(this).data(‘tagging’);
dataLayer.setVirtualPage(valueCercar);
_satellite.track(‘setVirtualPage’);
});
}
dataLayer.setProduct(‘9788415480204’, ‘Star Wars Ala-X Escuadrón Rebelde nº 01’, ‘Cómic y manga’, ‘Planeta Cómic’, ‘Comics Librerias’, $(‘.compralo .preu’).data(‘tagging’), », $(‘input[name=soporte_select_tablet]:checked’).data(‘tagging’), ‘P’);
_satellite.track(‘setProduct’);
$(‘.LoginOpinio’).fancybox({
maxWidth : 460,
maxHeight : 450,
fitToView : false,
width : ‘100%’,
height : ‘70%’,
autoSize : false,
closeClick : false,
helpers: {
overlay: {
locked: false
}
}
})
$(‘#comentario’).maxlength({
maxCharacters:250,
statusText:’carácteres restantes.’
});
// Check if URL is asking for a «soporte»
$(window).on(«hashchange», function() {
checkHashSoporte();
});

checkHashSoporte();

$(‘.botons-laterals .filtrar a’).on(‘click’,function(){
$(‘#book-filters’).trigger(‘click’);
});

$(‘.notepierdas’).fancybox({
maxWidth : 1400,
maxHeight : 330,
fitToView : false,
width : ‘100%’,
height : ‘70%’,
autoSize : false,
closeClick : false,
helpers: {
overlay: {
locked: false
}
}
})
//SetPromo i clickPromo (PAG. 73 i PAG. 74)
if ( TAGGING_ACTIU ) {

dataLayer.setPromo(‘SE – Netflix’,’SE – Netflix’,’7878_1_NETFLIX_GRUPO-PLANETA_WEB_NEWSLETTER_1140x272.gif’,’footer’, ‘1’, ‘generic’);
_satellite.track(‘setPromo’);

dataLayer.setPromo(‘SE – Verano 2019′,’SE – Verano 2019′,’7859_1_PLANETA-campanya-estiu-1140×272.jpg’,’footer’, ‘2’, ‘generic’);
_satellite.track(‘setPromo’);

dataLayer.setPromo(‘Brand day – Booket’,’Brand day – Booket’,’7853_1_7831_1_1140x272-Booket-Verano-correcion.png’,’footer’, ‘3’, ‘generic’);
_satellite.track(‘setPromo’);

dataLayer.setPromo(‘SE – Vacaciones’,’SE – Vacaciones’,’7051_1_banner_vacaciones_2_1140x272.jpg’,’footer’, ‘4’, ‘generic’);
_satellite.track(‘setPromo’);

dataLayer.setPromo(‘SE – Libros recomendados’,’SE – Libros recomendados’,’7231_1_PLANETA_titulos-recomendados_1140x272.jpg’,’footer’, ‘5’, ‘generic’);
_satellite.track(‘setPromo’);

var FuncioClickBanner347 = function( e ) {
dataLayer.setPromoClick($(this).attr(«title»));
_satellite.track(«setPromoClick»);
}
$(«.rotador-347 .banner-tematic .owl-item a»).click(FuncioClickBanner347);
$(«.rotador-347 .banner-tematic > div > a»).click(FuncioClickBanner347);
}
//—————————————————————————–
// Rotador BANNERS FOOTER
//—————————————————————————–
$(«.owl-carousel-banner-footer»).owlCarousel({
items:1,
autoplay:true,
autoplayTimeout:5000,
lazyLoad: true
});
//—————————————————————————–
// /end BANNERS FOOTER
//—————————————————————————–

$(‘.vinculo-popup’).fancybox({
maxWidth : 610,
maxHeight : 500,
fitToView : false,
width : ‘70%’,
height : ‘70%’,
autoSize : false,
closeClick : false,
margin: 0,
minWidth: 280
});

// Click botó sortir (PAG. 10)
$(‘.user-login-nav .btn-logout’).click(function() {
dataLayer.setUser(», »);
_satellite.track(‘setUser’);
});

// Click banner capçalera (PAG. 11)
$(‘.banner-top .banner a’).click(function() {
dataLayer.setEvent(‘header:banner’,’click’,$(this).find(‘img’).attr(‘title’),1,0);
_satellite.track(‘setEvent’);
});

// Click logo capçalera (PAG. 12)
$(‘.site-brand a’).click(function() {
dataLayer.setEvent(‘header:logo’,’click’,’PlanetadeLibros’,1,0);
_satellite.track(‘setEvent’);
});

//Click menú principal (PAG. 13)
var FuncioMenuPrincipal = function( e ) {
var tag_value = $(this).data(«tagging»);
if ( tag_value != undefined && tag_value != «» ) {
dataLayer.setEvent(‘menu’,’click’,tag_value,1,0);
_satellite.track(‘setEvent’);
}
}
$(‘.altres-apartats > ul > li:not(.mes-opcions, .menu-mobil) > a’).click(FuncioMenuPrincipal);
$(‘.altres-apartats-submenu > ul > li > a’).click(FuncioMenuPrincipal);
$(‘.menu-mobile > .envolcall > .seccio a’).click(FuncioMenuPrincipal);

//Click llibre destacat menu tematic (PAG. 14)
$(‘.menu-tematic > .llibres-destacats > .llibre a’).click(function() {
dataLayer.setEvent(‘menu:submenu’,’click’,$(this).data(«tematica»)+’:’+$(this).data(«title»),1,0);
_satellite.track(‘setEvent’);
});

//Login/registre facebook o twitter (PAG. 15)
var LoginXarxesSocials = function() {
dataLayer.setEvent(‘login’,’click’,$(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);
}
$(‘.boto-acces-facebook’).click(LoginXarxesSocials);
$(‘.boto-acces-twitter’).click(LoginXarxesSocials);
$(‘#LoginButton’).click(LoginXarxesSocials);

//Recomendador (PAG. 17)
var ClickRecomendador = function() {
dataLayer.setEvent(‘header:recommender’,’click’,»,1,0);
_satellite.track(‘setEvent’);
}
$(‘.recomendador’).click(ClickRecomendador);
$(‘#mostra-recomendador’).click(ClickRecomendador);

//Buscador – click resultado fino (PAG. 21)
$(‘#resultat-llibres > .llibres-graella > li > .portada > a’).click(function() {
dataLayer.setEvent(‘search’,’result-click’,$(‘.paraula_cercada’).text()+’:’+$(this).data(«tagging»)+’:’+$(this).parents(‘li’).find(‘.titol a’).text(),1,0);
_satellite.track(‘setEvent’);
});

//Click boto fons tematic (PAG. 22)
$(‘.tagging-llibre > a’).click(function() {
dataLayer.setEvent(‘book:theme-background’,’click’,$(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);
});

//Click compartir xxss (PAG. 23)
$(‘#compartir-xxss > a’).click(function() {
dataLayer.setSocial(‘social:’+$(this).data(«xxss»),’share’,$(this).data(«posicio») +’:’+ $(this).data(«tagging»));
_satellite.track(‘setSocial’);
});

$(document).on(‘click’,’#LlegirPrimerCapitol’,function() {
//Click boto leer primer capitulo (PAG. 24)
dataLayer.setEvent(‘book:read-first-chapter’,’click’,$(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);

if(CONFIG_SITE == «es» || CONFIG_SITE == «ca») {
//Pixel facebook click boto leer primer capitulo (PAG. 83)
dataLayer.setPixel(‘facebook’,’capitulo’);
_satellite.track(‘setPixel’);
}
});

//Click boto contingut exclusiu (PAG. 25)
$(document).on(‘click’,’#LoginContingutExclusiu’,function() {
dataLayer.setEvent(‘book:exclusive-content’,’click’,$(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);
});

//Click seguir autor (PAG. 28)
$(‘.fitxa-autor .foto .mencanta.fer-like, .fitxa-llibre .sobre-autor .autor-imatge .mencanta.fer-like’).click(function() {
if ( $(this).data(«tagging») != undefined ) {
dataLayer.setEvent(‘book:follow-autor’,’click’,$(this).data(«tagging»),1,0);
_satellite.track(‘setEvent’);
}
});

//Click desplegar sala de prensa (PAG. 42)
$(‘.prensa > .titol_bloc’).click(function() {
dataLayer.setVirtualPage(‘libros/’ + $(this).data(«title») + ‘/virtual/press-room’);
_satellite.track(‘setVirtualPage’);
});

//Click descarregar contingut sala de prensa (PAG. 43)
$(‘.prensa > .contingut-extra .btn-download’).click(function() {
dataLayer.setEvent(‘book:press-room’,’download’,$(this).attr(«title»),1,0);
_satellite.track(‘setEvent’);
});

//Click boto lateral No te pierdas (PAG. 61)
$(‘.botons-laterals .no-te-pierdas > a’).click(function() {
var uri = «»;
if ( URI_PAGINA != undefined )
uri = URI_PAGINA;
dataLayer.setEvent(«do-not-miss»,»click»,uri,1,0);
_satellite.track(‘setEvent’);
});

//Click boto comprar (PAG. 44, PAG. 77 i PAG. 84)
$(document).on(‘click’,’.soportes .boto_comprar .compralo’,function() {
dataLayer.setEvent(‘book:buy-book’,’buy-detail’,$(this).data(«suport»)+’:’+$(this).data(«titol»),1,0);
_satellite.track(‘setEvent’);

dataLayer.setProduct ($(this).data(«ean13»),$(this).data(«titol»),$(this).data(«tematica»),$(this).data(«segell»),$(this).data(«presentacion»),$(this).data(«preu»),»,$(this).data(«suport»),’P’);
_satellite.track(‘setProduct’);

setTimeout(function(){
_satellite.track(‘addProduct’);
}, 500);

if(CONFIG_SITE == «es») {
dataLayer.setPixel(‘facebook’, ‘purchase_pdl’);
_satellite.track(‘setPixel’);
}

if(CONFIG_SITE == «ca») {
dataLayer.setPixel(‘facebook’, ‘purchase_grup62’);
_satellite.track(‘setPixel’);
}
});

// Click Registrar formregistro (PAG. 69)
$(‘.registre-form .btn-submit’).click(function() {
dataLayer.setEvent(‘register:try’,’large’,’email’,1,0);
_satellite.track(‘setEvent’);
});
$(‘.registre-xxss .boto-acces-facebook’).click(function() {
dataLayer.setEvent(‘register:try’,’large’,’facebook’,1,0);
_satellite.track(‘setEvent’);
});
$(‘.registre-xxss .boto-acces-twitter’).click(function() {
dataLayer.setEvent(‘register:try’,’large’,’twitter’,1,0);
_satellite.track(‘setEvent’);
});

//Click boto lateral No te pierdas (PAG. 81)
$(‘.botons-laterals .tornar-a-dalt > a’).click(function() {
var uri = «»;
if ( URI_PAGINA != undefined )
uri = URI_PAGINA;
dataLayer.setEvent(«scroll_top»,»click»,uri,1,0);
_satellite.track(‘setEvent’);
});
$(‘.botons-laterals .filtrar > a’).click(function() {
var uri = «»;
if ( URI_PAGINA != undefined )
uri = URI_PAGINA;
dataLayer.setEvent(«filter»,»click»,uri,1,0);
_satellite.track(‘setEvent’);
});

// Click link footer ohlibro (PAG. XX)
$(‘.footer-box .tipus .oh-libros’).click(function() {
dataLayer.setEvent(‘www.ohlibro.com’,’Exit Links:oh’,URI_PAGINA ,1,0);
_satellite.track(‘setEvent’);
});

//Brandday icona flotant (PAG. 88)
$(‘.brand-day-icon img’).click(function() {
if ( URI_PAGINA != undefined )
uri = URI_PAGINA;
dataLayer.setEvent(‘brandday’,’banner’,uri,1,0);
_satellite.track(‘setEvent’);
});

//Brandday click banner (PAG. 89)
$(‘#brandday .modalbox a’).click(function() {
if ( URI_PAGINA != undefined )
uri = URI_PAGINA;
dataLayer.setEvent(‘brandday’,’click’,uri,1,0);
_satellite.track(‘setEvent’);
});

/*
//Llistat llibres i click (pag. 78-79)
var itemsTagManager = 1;
var itemsProdRotador = 0;
var ulActual = null;
var titol_product_list = »;
var titol_product_list_ant = »;
var llibres_visibles_pag = [];
if(TITULO_PAGINA == ») TITULO_PAGINA = ‘home’;

$(‘.tagmanager’).each( function( ) {
//limitem enviar 30 elements
var mostrar = false;
var ulDaquestElement = $(this).parents(«.rotador»).attr(‘id’);

if($(this).parents(«.owl-item»).length) {
//es carrusel
if($(this).parents(«.active»).length)
mostrar = true;
}
else {
//es grid
if($(this).is(«:visible»))
mostrar = true;
}

if(mostrar == true) {
if ( ulDaquestElement != ulActual) {
ulActual = ulDaquestElement;
if($(‘#’+ulActual).find(‘h2.titol’).length)
titol_product_list = $(‘#’+ulActual).find(‘h2.titol’).text();
else if($(‘#’+ulActual).find(‘h4.tematica’).length)
titol_product_list = $(‘#’+ulActual).find(‘h4.tematica’).text();

itemsTagManager = 1;
itemsProdRotador = 0;
}

llibres_visibles_pag.push($(this).data(«isbn») + ‘||’ + itemsTagManager + ‘||’ + titol_product_list);

$(this).data(‘cardinal’, itemsTagManager);

$(this).click(function( ) {
dataLayer.setProductClick($(this).data(‘cardinal’));
_satellite.track(‘setProductClick’);
});
itemsProdRotador++;
}
else {
if($(this).parents(«.owl-item»).length) {
//es carrusel
llibres_amagats_carrusel = $(this).parents(«.rotador»).data(‘amagats’);
if ( llibres_amagats_carrusel == undefined )
llibres_amagats_carrusel = [];

if($(this).parents(«.owl-item:not(.cloned)»).length) {
if(llibres_amagats_carrusel.length === 0) {
// array buit creem el click
if($(this).parents(«.owl-item:not(.cloned)»).length) {
$(this).parents(«.rotador»).find(«.owl-controls > .owl-nav > div»).click(function(){
var _this = this;
setTimeout(function(){
var llibres_carrusel = $(_this).parents(‘.owl-carousel’).find(‘.active’);
var num_llibres_enviat = $(_this).parents(«.rotador»).data(‘num_llibres_enviats’);

for (var i = 0; i < llibres_carrusel.length; i++) {
num_llibres_enviat++;
var j = i+1;

console.log(TITULO_PAGINA+":"+$(_this).parents(".rotador").data('titol'),$(llibres_carrusel[i]).find('a').data('isbn'),num_llibres_enviat,j);
if(i == 0)
dataLayer.setProductInList(TITULO_PAGINA+":"+$(_this).parents(".rotador").data('titol'),$(llibres_carrusel[i]).find('a').data('isbn'),num_llibres_enviat,j,1);
else
dataLayer.setProductInList(TITULO_PAGINA+":"+$(_this).parents(".rotador").data('titol'),$(llibres_carrusel[i]).find('a').data('isbn'),num_llibres_enviat,j);

$(llibres_carrusel[i]).find('a').data('cardinal', num_llibres_enviat);

$($(llibres_carrusel[i]).find('a')).click(function( ) {
//alert($(this).data('isbn'));
//dataLayer.setProductClick($(this).data('cardinal'));
//_satellite.track('setProductClick');
});
}
_satellite.track('setProductList');
$(_this).parents(".rotador").data('num_llibres_enviats', num_llibres_enviat);
}, 1000);
});
}
}
llibres_amagats_carrusel.push($(this).data("isbn") + ':' + itemsTagManager);

$(this).parents(".rotador").data('amagats', llibres_amagats_carrusel);
$(this).parents(".rotador").data('titol', titol_product_list);

if(titol_product_list_ant != titol_product_list)
$(this).parents(".rotador").data('num_llibres_enviats', itemsProdRotador);

titol_product_list_ant = titol_product_list;
}
}
else {
//es grid
llibres_amagats = $(this).parents(".rotador").data('amagats');
if ( llibres_amagats == undefined )
llibres_amagats = [];

if(llibres_amagats.length === 0) {
// array buit creem el click
if($(this).parents(".rotador").find(".veure-mes").length) {
$(this).parents(".rotador").find(".veure-mes").click(function(){
var llibres_ocults = $(this).parents(".rotador").data('amagats');

for (var i = 0; i 0) {
var titol_ant = »;
var j = 0;
for (var i = 0; i < llibres_visibles_pag.length; i++) {
var llibre = llibres_visibles_pag[i].split('||');
//var count_total = i+1;

if(titol_ant != '' && llibre[2] != titol_ant && i != llibres_visibles_pag.length-1) {
console.log('setProductList');
_satellite.track('setProductList');
sleep(400);
j = 0;
}
j = j+1;
console.log(j, llibre[2], titol_ant);
//dataLayer.setProductInList(TITULO_PAGINA+":"+llibre[2],llibre[0],llibre[1], count_total);
if(j == 1)
dataLayer.setProductInList(TITULO_PAGINA+":"+llibre[2],llibre[0],llibre[1], j, 1);
else
dataLayer.setProductInList(TITULO_PAGINA+":"+llibre[2],llibre[0],llibre[1], j);

titol_ant = llibre[2];
};
_satellite.track('setProductList');
}
*/
});

function sleep(delay) {
var start = new Date().getTime();
while (new Date().getTime() < start + delay);
}

function comentar_llibre(id, id_llibre, id_usuari){
// Posa feedback visual de loading
$("#boto-enviar-comentari").html("«);
$.ajax({
type: «POST»,
url: «https://www.planetadelibros.com/includes/ajax_comentario_libro.php»,
data: $(«#FormComentar»).serialize(),
success: function(datos){
// Atura feedback visual
$(«#boto-enviar-comentari»).html(«Publicar»);
obj = JSON.parse(datos);
if(obj.resposta == «OK») {
if ( TAGGING_ACTIU ) {
//Click Votar llibre (PAG. 40)
dataLayer.setEvent(«book:comment»,»add»,obj.votacio,1,0);
_satellite.track(«setEvent»);
}
$(«#div-comentar-llibre»).html(«

¡MUCHAS GRACIAS POR ESCRIBIR UN COMENTARIO!
En breve se publicará.

«);
} else {
$(«#com_error»).show();
}
}
});
}
$(document).ready(function() {
$(document).on(«change», «.suport_llibre», function() {
window.location.hash = «#soporte/» + $(this).val();
});

$(document).on(«change», «.capitols_llibre», function() {
$(«.boto-capitols»).click();
});

$(«.compralo»).fancybox({
maxWidth : 800,
maxHeight : 700,
fitToView : false,
width : «95%»,
height : «auto»,
autoSize : false,
closeClick : false,
helpers: {
overlay: {
locked: false
}
}
});

if ( location.hash != «» && location.hash.split(«/»)[0] == «#comprar» ) {
$(«.compralo»).trigger(«click»);
}
});
function info_nou_llibre(id_llibre){
$(«.suport_llibre»).prop(«checked»,false);
var altura_suports = $(«.suports»).height() – 7;
$(«.loading»).show();
$(«.loading»).height( altura_suports );
$.ajax({
type: «GET»,
url: «https://www.planetadelibros.com/libro-informacion/»+id_llibre,
data: { noWidget: 1 },
success: function(msg){
$( «.titol-i-autors .titol» ).html($(msg).find(«.titol-i-autors.desktop .titol»).html());
$( «#capsa-sinopsi» ).html($(msg).find(«#capsa-sinopsi»).html());
recalcularCapsaSinopsi(«#capsa-sinopsi»);

$( «.frase-mkt» ).html($(msg).find(«.frase-mkt»).html());
$( «#text-fitxa-tecnica» ).html($(msg).find(«#text-fitxa-tecnica»).html());

if ( $(msg).find(«.div-contingut-extra»).length < 1 ) {
$( ".div-contingut-extra" ).html("");
} else {
$( ".div-contingut-extra" ).html($(msg).find(".div-contingut-extra").html());
}

$( ".segell" ).html($(msg).find(".segell").html());
$( ".tematiques-i-coleccions .segell-nom" ).html($(msg).find(".tematiques-i-coleccions .segell-nom").html());
$( ".tematiques-i-coleccions .tematiques" ).html($(msg).find(".tematiques-i-coleccions .tematiques").html());

if ( $( "#pq-llegir" ).length )
$( "#pq-llegir" ).html($(msg).find("#pq-llegir").html());
$( ".botons-contenido" ).html($(msg).find(".botons-contenido").html());
$( ".zona-capitols.active" ).removeClass( "active" );
$( "#imatge-portada" ).html($(msg).find("#imatge-portada").html());

$( ".boto_comprar" ).html($(msg).find(".boto_comprar").html());

$( ".coleccions" ).html($(msg).find(".coleccions").html());
$( "#num_pagines" ).html($(msg).find("#num_pagines").html());

$( "#id_soporte" ).val($(msg).find("#id_soporte").val());

$(".suport_llibre[value=" + $(msg).find("#id_soporte").val() + "]").prop("checked",true);

$(".llibre_format.dropdown").removeClass("active");

$( ".descargar-app" ).html($(msg).find(".descargar-app").html());

$( ".pais_publicacion" ).html($(msg).find(".pais_publicacion").html());
$( ".narrador" ).html($(msg).find(".narrador").html());
$( ".traductor" ).html($(msg).find(".traductor").html());
$( ".duracion" ).html($(msg).find(".duracion").html());

if($("input:radio[name=soporte_select_desktop]:checked").parents().hasClass("dropdown"))
$("input:radio[name=soporte_select_desktop]:checked").parents(".dropdown").addClass("active");

if($("input:radio[name=soporte_select_mobile]:checked").parents().hasClass("dropdown"))
$("input:radio[name=soporte_select_mobile]:checked").parents(".dropdown").addClass("active");

$( "#etiquetes_desktop" ).html($(msg).find("#etiquetes_desktop").html());
$( "#etiquetes_mobile" ).html($(msg).find("#etiquetes_mobile").html());

if($(msg).find("#es_capitulo").val() == "true") {
$("input[name=soporte_select_desktop][value=capitulo]").attr("checked", "checked");
$("input[name=soporte_select_mobile][value=capitulo]").attr("checked", "checked");

$(".boto-capitols").click();
}

$(".loading").hide();

if ( TAGGING_ACTIU ) {
//ecommerce fitxa llibre (PAG. 76)
dataLayer.setProduct($(msg).find(".ean13").html(), $(msg).find(".titol h1").html(), $(msg).find(".tematicaprincipal").html(), $(msg).find(".nomsegell").html(), $(msg).find(".tipusarticle").html(), $(".compralo .preu").data("tagging"), "", $("input[name=soporte_select_tablet]:checked").data("tagging"), "P");
_satellite.track("setProduct");
}
}
});
}
function checkHashSoporte () {
if ( location.hash != "" && location.hash.split("/")[0] == "#soporte" && location.hash.split("/")[1] != "" ) {
var soporte_id = location.hash.split("/")[1];
// Check if ID correspond to a "soporte"

var trobat = false;
$(".llibre_format").each(function(){
if ( $(this).data("soporte-id") == soporte_id )
trobat = true;
});

$(".capitols .capitol").each(function(){
if ( $(this).data("soporte-id") == soporte_id )
trobat = true;
});

if ( trobat ) {
info_nou_llibre( soporte_id );
}
}
}

_satellite.pageBottom();