Skip to content
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

triggering without inline attributes "data-" #29

Open
vinoduxid opened this issue Apr 30, 2019 · 1 comment
Open

triggering without inline attributes "data-" #29

vinoduxid opened this issue Apr 30, 2019 · 1 comment
Labels

Comments

@vinoduxid
Copy link

Is there a way to trigger or pass the "data-local" and "data-slide-to" using JavaScript or jQuery
gallery-fullscreen

Something like this

$('.carousel-indicators li').click(function(){
      $('#fullModal').modal('show', 'data-local');  // show modal
	}); 
@noreiller
Copy link
Owner

Hi, you can see an example on the "Via JavaScript" part of http://noreiller.github.io/bootstrap-modal-carousel/modal-local.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants