Add alignment option to metadata #57

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

Comments

Projects
None yet
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

This comment has been minimized.

Show comment
Hide comment
@JLeuze

JLeuze Apr 30, 2012

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@JLeuze

JLeuze May 6, 2012

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@JLeuze

JLeuze Jun 20, 2012

Owner

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

Owner

JLeuze commented Jun 20, 2012

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

@JLeuze

This comment has been minimized.

Show comment
Hide comment
@JLeuze

JLeuze Dec 2, 2012

Owner

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.

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