For some reason the first caption is not displayed, if you go forward a slide and then back then the caption is displayed correctly.
I want the caption to display at the bottom on the slide itself, overlaying the image. Currently it is sitting below the slider and I cant work out how to get it to move up.
I have managed to add a button called 'Show / Hide Caption' and it works correctly, clicking it toggles the caption. I am trying to get the tab itself to float to the right but have not been able to manage it.
Can anybody can help with any of the above questions?
Try this (updated demo). Basically the "onInitialized" function shouldn't be split into two functions because the last one over-rides all previous ones. And since the captions are contained within the slide, I switched the code to reveal them instead of the caption under the slider.
Ok i've moved on slightly! I would like to move the page number tabs to the top right of the ul instead of them being at the bottom right. I would then like to move the caption to its own box underneath the ul. I am trying to move the tabs first but can't seem to find any documentation on it, can you point me in the right direction?
You will need to include the "appendControlsTo" option and target an element above the slider. Since the controls are now outside of the slider, you'll also need to apply custom css to it (demo): HTML
<div id="nav"></div> <ul id="slider">...</ul>
Code
var updateCaption = function(slider){ var cap = slider.$currentPage .find('.caption').fadeIn(200).end() .siblings().find('.caption').fadeOut(200); };
When AnythingSlider has the "expand" option set to true, the outer wrapper needs to have a set height. Setting it to 100% of the body is why it keeps increasing.
I know have the caption displaying on every slide, but what I want is the caption to sit underneath, but inside the actual UL itself, not overlayed though. Also for some reason the images are not filling the li. Where am I going wrong?
Everything works but on the first slide with the caption the expand contents is being messed up by the caption for some reason. I have set display:none for the .caption but it is still affecting the contents of the li
Heres where I am at so far - http://jsfiddle.net/Cm479/3281/
Can anybody can help with any of the above questions?
Try this (updated demo). Basically the "onInitialized" function shouldn't be split into two functions because the last one over-rides all previous ones. And since the captions are contained within the slide, I switched the code to reveal them instead of the caption under the slider.
HTMLCodeAnd the extra css (customize it as desired)There is a demo on the first page of the documentation - you can explore the other demos there to get an idea of what else is possible.
The page keeps getting longer, can you point out what I am doing wrong?
The external nav works great so thanks for the guidance on that, my external caption box sort of works but I still have the page getting longer issue
If you look at this demo (from the main document page) you'll see how to handle the wrapper cssor use "position: absolute" for mobile devices since position:fixed doesn't work correctly.
http://jsfiddle.net/5fNuN/
I know have the caption displaying on every slide, but what I want is the caption to sit underneath, but inside the actual UL itself, not overlayed though. Also for some reason the images are not filling the li. Where am I going wrong?
Everything works but on the first slide with the caption the expand contents is being messed up by the caption for some reason. I have set display:none for the .caption but it is still affecting the contents of the li
Hi. I'm not a JS developer and I'm having the same issue with the first caption. Is there a simple, step-by-step solution for this?