On game card hover = show secondary image or video #149
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: degmods/degmods.com#149
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a user hovers over a game card, the first image disappears and shows the second image set in place (or video) if available.
We have this code:
Which would then turn into this:
or
Where if there is a an extra image link (a new fourth column/variable in the games DB files) or a video link (fifth column/variable), then it would give that extra
<img>
or<video>
and the extra class 'cardGameMainWrapper2'.However, if there isn't, then it would remain as it currently is:
(I'll be adding the CSS for the effects)
Note: The csv files would need to be updated to add the two new variables ('secondary box art' and 'clip' let's say). I can handle that when it comes to it.
Note: Keep in mind that the csv file may not have extra commas after the initial 2 commas, so hopefully that can be worked out, but if it can't, I'll see if i can re export everything with those needed extra commas