Ver Mensaje Individual
  #2 (permalink)  
Antiguo 03/09/2011, 21:38
Avatar de Naahuel
Naahuel
 
Fecha de Ingreso: marzo-2011
Ubicación: localhost
Mensajes: 796
Antigüedad: 13 años, 1 mes
Puntos: 192
Respuesta: Galería lightbox. Cambiar parámetros

La documentación del plugin está pésimamente presentada: http://www.no-margin-for-errors.com/...documentation/

Aparentemente utiliza un parámetro llamado social_tools. Ahí podés presentar vos tu propio enmarcado HTML para usar los botones que quieras. Ejemplo:



Código Javascript:
Ver original
  1. $("a[rel^='prettyPhoto']").prettyPhoto({
  2.     social_tools: '<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&amp;layout=button_count&amp;show_faces=true&amp;width=500&amp;action=like&amp;font&amp;colorscheme=light&amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>' /* html or false to disable */
  3. });


Fijate que ese es el enmarcado por defecto. Podés usar lo que vos quieras (false para desactivar):

Código Javascript:
Ver original
  1. $("a[rel^='prettyPhoto']").prettyPhoto({
  2.     social_tools: false
  3. });

O lo que vos quieras:

Código Javascript:
Ver original
  1. $("a[rel^='prettyPhoto']").prettyPhoto({
  2.     social_tools: '<div><a href="http://www.google.com">Ir a google</a></div>'
  3. });
__________________
nahueljose.com.ar