malagaS
Support threads created in the last 30 days: 0
Favorite Forum Topics
Viewing topic 1 (of 1 total)
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
PHOTO+THUMBNAILs slider gallery for my custom post type
Started by: eWeb
in: Toolset Professional Support
Problem: Solution: 1. Add this jQuery code in Content Template >> JS editor: jQuery(window).load(function() { // The slider being synced must be initialized first jQuery('#carousel').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, directionNav: false, itemWidth: 130, itemMargin: 5, asNavFor: '#flexslider' }); jQuery('#flexslider').flexslider({ animation: "slide", controlNav: false, animationLoop: false, slideshow: false, sync: "#carousel" }); }); 2. Add the following html code in your Content Template: <!-- Slider - start here --> <div id="flexslider" class="flexslider"> <ul class="slides"> <li>[types field="fotkes" separator="</li><li>" width="770" height="510" alt="[wpv-post-title]"][/types]</li> </ul> </div> <div id="carousel" class="flexslider"> <ul class="slides"> <li>[types field="fotkes" separator="</li><li>" width="120" height="80" alt="[wpv-post-title]"][/types]</li> </ul> </div> <!-- Slider - end here --> |
2 | 9 | 7 years ago |
Viewing topic 1 (of 1 total)