gery Posted December 11, 2012 Report Share Posted December 11, 2012 (edited) listar imagem e a descrição na lista <li> com link para caregar numa janela lightboxtipo: rel='lightbox[roadtrip]'<?php $readArtGb = read('up_posts_gb',"WHERE post_id = '$art[id]'"); $gbnum = 0; if($readArtGb){ echo'<ul class="gallery">'; foreach($readArtGb as $gb): $gbnum ++; echo'<li'; if($gbnum%4==0) echo ' class="last"'; echo'>'; --imagem-- --descrição---- echo'</li>'; endforeach; echo'</ul>'; } ?> Edited December 11, 2012 by gery Quote Link to comment Share on other sites More sharing options...
0 dedas Posted December 12, 2012 Report Share Posted December 12, 2012 (edited) Da uma olhada na documentação :) Edited December 12, 2012 by dedas Quote Link to comment Share on other sites More sharing options...
0 gery Posted December 13, 2012 Author Report Share Posted December 13, 2012 Da uma olhada na documentação :)Onde acho essa documentação Quote Link to comment Share on other sites More sharing options...
0 dedas Posted December 13, 2012 Report Share Posted December 13, 2012 Eu coloquei o link na palavra documentação :P Mas pega ai o link http://fancyapps.com/fancybox/ Quote Link to comment Share on other sites More sharing options...
Question
gery
listar imagem e a descrição na lista <li> com link para caregar numa janela lightbox
tipo: rel='lightbox[roadtrip]'
Edited by geryLink to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.