Spoiler in the gallery caption

tobemetobeme Registered Users Posts: 308 Major grins
edited June 25, 2012 in SmugMug Support
Is it possible to add spoiler in the gallery caption? :help

Comments

  • rainforest1155rainforest1155 Registered Users Posts: 4,566 Major grins
    edited June 25, 2012
    Should work. You can use the code shown here. Just make sure to enclose it within a <html> and </html> tag so that it doesn't get filtered out.

    I found the code via a quick Google search and while it may look a bit confusing, it combines all the needed code into one snippet. If you plan to use it on more than one page, it might be more efficient to use a different code that you can add to your advanced customizer and therefore reduce the amount of code you need to put into the gallery description itself.
    An example for that would be the code here

    Here's a screenshot showing where the different code parts would go:
    https://dl.dropbox.com/u/283274/sc4/20120625110229-01459x2911202.jpg
    (code within the red lines, goes into the section indicated - ignore the code that's under a red line)
    Sebastian
    SmugMug Support Hero
  • tobemetobeme Registered Users Posts: 308 Major grins
    edited June 25, 2012
    Thanks rainforest! This is useful!
Sign In or Register to comment.