TomodomoCo / total-slider

A WordPress plugin for creating, editing and removing ‘slides’ with text and images (for a homepage, for example).
GNU General Public License v2.0
7 stars 2 forks source link

Problem with the prev and next buttons #63

Closed Saporules closed 9 years ago

Saporules commented 9 years ago

Hi! Fantastic work, but I have a problem with the prev and next buttons, I have followed the instructions in https://github.com/vanpattenmedia/total-slider/wiki/Navigation-Buttons however the buttons appeared with a visibility: hidden style attribute, and the id disappears when the page loads.

I write this: <?php if ( $s->is_runtime() ) : ?> < div id="total-slider-previous" class="ts-btn ts-prev" > « </ div > ... $(document).ready(function(){ jQuery('.ts-disruptor').cycle({ speed: 1000, slides: '.ts-disruptor-slide', timeout: 5000, prev: $('.ts-prev'), next: $('.ts-next') }); }); and this is what it loads: < div class="ts-btn ts-prev" style="visibility: hidden;" > « < /div >

PeterUpfold commented 9 years ago

Hi,

I'm looking at your issue here, and it looks like it's missing some images/code, so I'm not sure I can see all the information I'd need to help.

Can you try re-adding any images/code in a reply?

Here's what I see:

Comment without images or code

Saporules commented 9 years ago

I updated the first post, sorry, the text editor translated the html code. If you want to see the web page is this one: http://mginteractive.com.mx/alquiladora/

Saporules commented 9 years ago

I Managed to fix it, the problem was that I placed the code within the slider loop. When I put it outside the ul tag, it worked fine. You should specify or advice where to set it in the developer's manual.