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

multiple galleries on one page #49

Open
howster opened this issue Jan 10, 2013 · 2 comments
Open

multiple galleries on one page #49

howster opened this issue Jan 10, 2013 · 2 comments

Comments

@howster
Copy link

howster commented Jan 10, 2013

Hi,
How do i add multiple galleries to one page please.

I thought changing id to class would do it i.e. $('.myGallery1').galleryView();

and

    should suffice? I can only get one to appear
    Thanks

@S-ed
Copy link

S-ed commented Jan 10, 2013

One function call can handle only single UL container. As in sample with ID's.

config js:

$('#galleryname1').galleryView({
...
});
$('#galleryname2').galleryView({
...
});
...

But don't forget about content...
images html:

<ul id="galleryname1">
    <li><img src="http...
    <li><img src="http...
...
<ul id="galleryname2">
    <li><img src="http...
    <li><img src="http...
...

@jswhisperer
Copy link

Works but hard to use with a CMS like wordpress.

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

No branches or pull requests

3 participants