Light Box Effect not work on phpBB2!
5 posters
Page 1 of 1
Light Box Effect not work on phpBB2!
Hello, just wanna say.
This does not work in phpBB2 when I try it. >> https://help.forumotion.com/t115826-add-a-lightbox-effect-to-the-images-of-the-forum
Help anybody? I like that one on my forum.
This does not work in phpBB2 when I try it. >> https://help.forumotion.com/t115826-add-a-lightbox-effect-to-the-images-of-the-forum
Help anybody? I like that one on my forum.
Last edited by Sozinho on November 25th 2012, 7:50 am; edited 1 time in total
Re: Light Box Effect not work on phpBB2!
I have PhpBB2 forum and it works perfectly..
Maybe you can provide your forum URL so we can check it..
Maybe you can provide your forum URL so we can check it..
Aconitin- Forumember
- Posts : 246
Reputation : 7
Language : Indonesian
Location : Indonesia
Re: Light Box Effect not work on phpBB2!
This does not work in phpBB2 when I try it.
The lightbox works fine on a BB2 forum:: http://tikitiki.forumcroatian.com/t1-your-first-subject#2
If you need help with it you need to post that forums URL where the lightbox doesn't work and make one topic with an image in it accesable to guests so we can take a look.
LP
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Light Box Effect not work on phpBB2!
Neras code is different calling attr.
I had to fix mine cuz it was making all images lightbox and i only wanted posted images in post
PHPBB2 is
Tested and works in phpbb2
I had to fix mine cuz it was making all images lightbox and i only wanted posted images in post
- Code:
$(function() {
$('.postbody div img, .postbody .content img, .entry-content img, .post-entry div img').each(function () {
$(this).not('.user img').not('img[src*="/smiles/"]').wrap('<a href="' + $(this).attr('src') + '" class="fa_fancybox"></a>');
});
$(".fa_fancybox").fancybox();
});
PHPBB2 is
- Code:
$(function() {
$('table .post tbody img').each(function () {
$(this).not('span.postdetails img').not('td.post-options img').not('img[src*="/smiles/"]').wrap('<a href="' + $(this).attr('src') + '" class="fa_fancybox"></a>');
});
$(".fa_fancybox").fancybox();
});
Tested and works in phpbb2
Re: Light Box Effect not work on phpBB2!
Just Lock this now. I feel not needing it now.
Thanks anyways.
Thanks anyways.
Re: Light Box Effect not work on phpBB2!
Topic Solved & Locked |
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» navbar light effect
» Image 'light up' effect with mouseover
» mouseover effect for memberlist phpbb2
» hover effect on navigation bar phpbb2
» if gradient shall work in phpbb2 ?
» Image 'light up' effect with mouseover
» mouseover effect for memberlist phpbb2
» hover effect on navigation bar phpbb2
» if gradient shall work in phpbb2 ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum