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. Attention : This will work for all forum versions, so long as you haven't made any heavy modifications to the template topics_list_box ! 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
Similar topics
» Preview latest topics
» Preview/Send Button
» Is it posibble to translate "Preview" button
» Add a [Preview - Send - Save] button to the quick reply editor: AwesomeBB
» Topics and Facebook Button
» Preview/Send Button
» Is it posibble to translate "Preview" button
» Add a [Preview - Send - Save] button to the quick reply editor: AwesomeBB
» Topics and Facebook Button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum