Home Documentation Highslide JS for Joomla Configuration: Custom Overlay (Part 2)
10 | 20 | 2018
NOTICE: If you intend to use Highslide JS on a commercial website you MUST purchase a license from the author. Please go to Highslide.com for more details.
Configuration: Custom Overlay (Part 2)
Wednesday, 04 June 2008 23:56

Beginning with version 1.0.1 of the Configuration Component, you can place parameterized text in the custom overlay. In the example HTML below, the text {popuptitle} represents a predefined parameter for the title attribute from the expanders popup image.

  1.  
  2. <div style="background: black; font-weight: bold; color: white; margin-top: 2em; padding: 1em;">
  3. The title attribute of this popup is:
  4. <span style="font-size: 150%; color: white;">{popuptitle}</span></div>
  5.  

 

The parameters that may be used are:

  1. {popuptitle} - Title attribute from the popup image.
  2. {thumbtitle} - Title attribute from the thumbnail image.
  3. {thumbalt} - Alt attribute from the thumbnail image.

configtextoverlay1

configtextoverlay2

Placing the HTML code above into the Custom Overlay HTML section of the configuration along with the Custom Overlay Settings pictured gives the following results (See Video).


By Michi Lauke By WiciaQ Source Unknown

Note that the Popup Caption option in the Captions section of the configuration is set to "ALT attribute from IMG Tag".

Last Updated on Wednesday, 04 May 2011 07:04