Hello all,
I need a small help please!
Using multiscroll.js plugin
(https://github.com/alvarotrigo/multiscroll.js),
I'd like to target
the img
clicked in order to open the right sections.
There's an option
to open a specific section, just add class 'active'
on ms-section
. (maybe a way?)
Notice that I don't want to use anchors option
.
I have no idea how to do that...
Just open the multiscroll div :
$('img').on('click', function() {
$('#mosaic').fadeOut();
$('#multiscroll-nav, #multiscroll, .icon').fadeIn();
});
$('.icon').on('click', function() {
$('#mosaic').fadeIn();
$('#multiscroll-nav, #multiscroll, .icon').fadeOut();
});
Thank you.