Página 1 de 1
Jquery Galerry
Enviado: 02 Out 2014, 17:50
por rafael_mota
Amigos, alguém que usa krpano já fez uma galeria modal de jquery dentro do krpano ? Preciso criar uma mas estou com dificuldades em pensar.
Quero fazer algo assim
https://blueimp.github.io/Bootstrap-Image-Gallery/
Re: Jquery Galerry
Enviado: 02 Out 2014, 18:13
por cartola
Oi Rafael,
nunca fiz algo parecido, mas eu tentaria fazer pelo HTML inicial que carrega o krpano. Crie um layer / div pra galeria sobre o krpano e controles pra abri-la e fecha-la. E se conseguir, que tal postar aqui pra compartilhar?
Abs, Cartola.
Re: Jquery Galerry
Enviado: 02 Out 2014, 22:00
por rafael_mota
eu estou com uma galeria dentro do krpano mas estou apanhando.

Re: Jquery Galerry
Enviado: 03 Out 2014, 07:13
por rafael_mota
Bom por jquery eu não consegui, mas fiz manualmente da seguinte forma.
Código: Selecionar todos
<action name="showfotos32">
set(plugin[leftArrow32].visible, true);
set(plugin[rightArrow32].visible, true);
set(plugin[foto_32g].visible, true);
set(plugin[fundo].visible,true);
hidefotos31();
hidefotos1();
hidefotos2();
hidefotos3();
hidefotos4();
hidefotos5();
hidefotos6();
hidefotos8();
hidefotos9();
hidefotos10();
hidefotos11();
hidefotos12();
hidefotos13();
hidefotos14();
hidefotos15();
hidefotos16();
hidefotos17();
hidefotos18();
hidefotos19();
hidefotos20();
hidefotos21();
hidefotos22();
hidefotos23();
hidefotos24();
hidefotos25();
hidefotos26();
hidefotos27();
hidefotos28();
hidefotos29();
hidefotos30();
hidefotos31();
hidefotos33();
hidefotos34();
hidefotos35();
hidefotos36();
</action>
<action name="hidefotos32">
set(plugin[leftArrow32].visible, false);
set(plugin[rightArrow32].visible, false);
set(plugin[foto_32g].visible, false);
</action>
<plugin
name="leftArrow32"
url="skin/voltar.png"
keep="true"
devices="all"
visible="false"
enabled="true"
handcursor="true"
align="center"
x="-310"
y="20"
zorder="109"
onclick="showfotos31();"
/>
<plugin
name="rightArrow32"
url="skin/avancar.png"
keep="true"
devices="all"
visible="false"
enabled="true"
handcursor="true"
align="center"
x="310"
y="20"
zorder="109"
onclick="showfotos33();"
/>
<plugin name="foto_32g"
url="fotos/carro2.jpg"
keep="true"
devices="all"
visible="false"
enable="false"
handcursor="true"
zorder="108"
align="center"
edge="center"
onclick="esconde_tudo();"
/>
<action name="esconde_tudo">
set(plugin[fundo].visible,false);
set(plugin[foto_1g].visible,false);
set(plugin[foto_2g].visible,false);
</action>