-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab action for external link #171
Comments
Hi, You can store the functions into a variable then call them from anywhere $('#slideshow').liquidSlider();
var api = $.data( $('#slideshow')[0], 'liquidSlider');
$('.list').on('click', function() {
api.setPanel(2);
}); |
Still not make the link to slide it... maybe im missing something somewhere. Heres the actual part of the list <div class="mySlides">
<div class="ListItem"> <a href="#1" class="active">Something</div>
<div class="ListItem"> <a href="#2">Another Thing</a></div>
<div class="ListItem"> <a href="#3">One more for the Sake!</a></div>
</div> mySlides is a simple slide everything works fine except this little part |
Use the code I have above and adapt it to your markup.
|
You would also have to get the href then split the # from it. |
Yes i did change the class to the appropriate one. And i have no clue what the href thing you meant. From the code you gave me i would assume(if working) that any item in the list i click would return to the value 2 while they should have their own slide panel Im really lost right now to be honest |
Can you post the javascript you have? href as in You have to figure out how to extract that number, then use it in the code I pasted above |
|
I can use this to get the link info but how to integrate it to your existing code...
|
You cant store the functions if the slideshow doesn't exist yet. Just move the |
gemme a sec im gonna try something |
Tryed this didnt work either
|
Hi there, i was wondering what action should i put to get a list to slide the content just like the tab do
like onclick="liquidSlider.setPanel(2)" or any other way
The text was updated successfully, but these errors were encountered: