Disabling "click for fullscreen" behaviour for images and footnotes #195
-
|
I have the requirement to use some pictures just for decoration on a course site so I do not want them to be clickable I would love to use the gallery for this but because all the logos I am showing here have a transparent background, it looks really bad. Also I do not want to have the click-for-fullscreen behaviour. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Disabling clickable imagesThe image part is quite simple, try something like this: ### Linux als Betriebssystem
<!-- style="margin:2em; display:inline-block; width: 150px" -->
<!-- data="true" -->The click and enlarge behavior for images is triggered, if the user has NOT defined some custom stiles/CSS. You can modify the width for example, change the background or define a random parameter like data-something ... Gallery with backgroundBut If you want to have a gallery and change the background, you can try this: ### Linux als Betriebssystem
<!-- style="background-color: lightgray" -->
<!-- style="background-color: lightgray" -->
<!-- style="background-color: lightgray" -->
<!-- style="background-color: lightgray" -->In this case, styling will be applied. But I don't know why the Ubuntu-image is not displayed at all ... The others work as expected ... FootnotesDo you mean, that you only want to disable that clicking onto a footnote will show the associated text? |
Beta Was this translation helpful? Give feedback.
Footnote is a button, where the
onclickfunction is defined inwindow.LIA.showFootnote. You can overwrite this function and implement your own behavior like this: