showbox: various improvments (MGNLSTK-401)

[MGNLSTK-410] Should CSS react on last/first image of showbox Created: 06/Jul/09  Updated: 23/Jan/13  Resolved: 13/Nov/09

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: themepop
Affects Version/s: 1.1.1
Fix Version/s: 1.2

Type: Sub-task Priority: Major
Reporter: Christian Ringele Assignee: Christian Ringele
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:

 Description   

In the parent task it was implemented, that the JS reacts on the last/first image.
The div class changes from 'prev' to 'prev disables'.

So the css could react on it, now the question from parent task remains and should be decided:

In stk it should be decided, if the CSS should react and how.
Possibilities is see, but Aperto has to define if this is possible, makes sense:

  • When only one image is shown, no next/prev arrows are shown at all.
  • When no next or prev is available, probably the arrow and the 'prevoius' could be replaced by a transparent image with the same size.
    Like this the arrow would not be visible anymore. But i could imagine, that this is not possible in a proper way, that it looks fine.
  • Could be left as it is.

Generated at Mon Feb 12 07:26:45 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.