Current date/time is Fri 29 Mar - 2:43
Search found 1 match for topicPreview-container
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. |
- on Mon 7 Jul - 8:10
- Search in: Tips & Tricks
- Topic: Add a preview button for topics
- Replies: 1
- Views: 10264