2 | Posts |
Hello,
I have in my template the code: <php common: AddColorBox ();?> typed.
But I must give each photo for this effect the code: name="gallery" or name="gallery" rel="gallery_gallery" inflict will not work Colorbox effect.
My question:
how can I colorbox-effect to add to all sides, without to write this code: name = "gallery"> rel = or indented "gallery_gallery" for each photo?
Thanks
sam
PS. I use gpEasy_2.3.3
2K | Posts |
311K | Downloads |
16 | Themes |
18 | Plugins |
You could add some custom javascript to open up colorbox.
<script>
$(document).ready(function(){
$(".class_of_your_choice").colorbox();
});
</script>
Then, any links you want to open with colorbox would need to look like this:
<a href="/path_to_image" class="class_of_your_choice">text of link or other html</a>
Here's some more information about colorbox: http://jacklmoore.com/colorbox/
2 | Posts |
A new release for Typesetter is in the works with a lot of improvements including the ... Read More
Typesetter 5.1Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More
More News
What CMS: Find out what CMS a site is using.
Who Hosts This: Find out who is hosting any web site
WordPress Theme Detect: Find out which theme a WordPress site is using