Skip to main content

The Greenhouse

Caption

Key changes made:

  1. Uncommented the slaveConfig variable so the thumb slider works properly.
  2. Modified the setActiveThumbByIndex() function to visually highlight the active thumb by:
    • Setting all thumb images to opacity: 0.6 (dimmed)
    • Setting the active thumb 

      Image
      The main building at Gløshaugen, NTNU

       to opacity: 1 (fully visible)

  3. All images remain visible - just with opacity changes to indicate which one is active.

If you want to show ALL images at full opacity (without dimming), simply remove the opacity styling from the setActiveThumbByIndex() function: