Skip to content

Add alignment option to metadata #57

Closed
JLeuze opened this Issue Mar 27, 2012 · 4 comments

1 participant

@JLeuze
Owner
JLeuze commented Mar 27, 2012

Allow the option to set the alignment of the slideshow using metadata. Check if the metadata can just be used like other classes or if I need something like align: 'left' instead.

@JLeuze
Owner
JLeuze commented Apr 30, 2012

Got this working using jQuery to check for the align option in the custom metadata and adding a class to the slideshow if the align option exists and matches "left", "right", or "center".

Works great so far but needs a bit more testing with different themes and browsers.

@JLeuze
Owner
JLeuze commented May 6, 2012

This is working fine, no issues that I can find in any browsers or themes. Need to explain it in blog post and add info to FAQ and documentation.

@JLeuze
Owner
JLeuze commented Jun 20, 2012

Need to move var for metadata to the top with other vars.

@JLeuze
Owner
JLeuze commented Dec 2, 2012

Had to update function to work with multiple slideshows on the same page, moving var inside an each, setting it and applying classes to each slideshow instance. Working perfectly now.

@JLeuze JLeuze closed this Dec 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.