Add a preview button for topics
2 posters
Page 1 of 1
Add a preview button for topics
Add a preview button for topics |
With this tutorial you will be able to add a preview button to the titles of your topics for your Forumotion forum, as in the example below. ![]() Adding the JavaScript Go to Administration Panel > Modules > JavaScript codes management and create a new JavaScript. Title: Topic Preview Placement: In the sub-forums Paste the following code and submit.
When finished, save the script and you should now be able to preview topics on your forum. ![]() Modification of the style #topicPreview is the button which triggers the popup, you can give this a background, border.. #preview-filter is the overlay which displays when you click the button. The overlay is a small transparent image. #topicPreview-container is the container which holds the loaded content. This is the ID which gives the popup its gray background. The default background-color can be overridden by using !important.
.topicPreview-loading can be used to style the loading texts i.e. give it a different color, font..
|
This tutorial was written by Ange Tuteur. |
Re: Add a preview button for topics
This code was updated to fit in with the new HTTPS address
updated 13.02.2020 by skouliki
updated 13.02.2020 by skouliki

» Preview of topics
» Preview latest topics
» Preview Button
» Preview/Send Button
» Preview and Send Button Missing
» Preview latest topics
» Preview Button
» Preview/Send Button
» Preview and Send Button Missing
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum