Pop Up with an article
4 posters
Page 1 of 1
Pop Up with an article
Hello,
I want to add a pop up that will be fixed as a position and i want it to have the first topic of a certain category.
i want it to be position fixed and be here:
Something like the recent topic system of specific category that Ange made but as a fixed box. Can this be happened?
Version: PunBB
Address: http://informationforumgr.forumgreek.com/forum
Thank you.
I want to add a pop up that will be fixed as a position and i want it to have the first topic of a certain category.
i want it to be position fixed and be here:
Something like the recent topic system of specific category that Ange made but as a fixed box. Can this be happened?
Version: PunBB
Address: http://informationforumgr.forumgreek.com/forum
Thank you.
Last edited by MrMind on 1/8/2014, 23:54; edited 1 time in total
Re: Pop Up with an article
Hi Marios,
Create a new widget with ange's code like this which you are using for recent topics on specific forum then check "No" in field "Use a table type :" and set the javascript to read just one topic. Then create the css for the box to place it where you wish. For the popup you will need to add a timer and the function show/fade in javascript.
Best Regards,
Dark-Avenger
Create a new widget with ange's code like this which you are using for recent topics on specific forum then check "No" in field "Use a table type :" and set the javascript to read just one topic. Then create the css for the box to place it where you wish. For the popup you will need to add a timer and the function show/fade in javascript.
Best Regards,
Dark-Avenger
Re: Pop Up with an article
Hi,
I want the javascript that will get the first topic of the category and one that will appear an X on the right top corner so users can be able to close it whenever they want.
Can you help me with that?
I want the javascript that will get the first topic of the category and one that will appear an X on the right top corner so users can be able to close it whenever they want.
Can you help me with that?
Re: Pop Up with an article
I'm not entirely sure of how to do this but I think the mod_news template might give you an idea cause it's functionality is quite similar to what you're looking for.
As for the X button to close, just use jQuery to add a class that has display:none to the box.
As for the X button to close, just use jQuery to add a class that has display:none to the box.
Re: Pop Up with an article
The problem is not the X. The problem is:
I want a popup box with the article in it. The article will include the image, the title and 70 characters of the post.
But i don't know anything about javascript..
I want a popup box with the article in it. The article will include the image, the title and 70 characters of the post.
But i don't know anything about javascript..
Re: Pop Up with an article
Here's what I've tried:
- copied codes from mod_news template into a new forum widget, didn't work and shows only variables
- copied same codes to homepage message, didn't work either, shows only variables
I'm afraid I have no idea on how to solve this for now.
- copied codes from mod_news template into a new forum widget, didn't work and shows only variables
- copied same codes to homepage message, didn't work either, shows only variables
I'm afraid I have no idea on how to solve this for now.
Re: Pop Up with an article
I managed to grab the information of the mod_news and paste them in a box. The problem is that i cannot make it to grab the image of the topic
Re: Pop Up with an article
- Code:
<img src="{post_row.switch_attachments.switch_post_attachments.U_IMG}" />
Does this image variable work?
Re: Pop Up with an article
Edit:
I managed to fix that. How can i get an X to the top corner?
I fixed it!
SOLVED!!
Similar topics
» URL link article to include title, date, and picture when posting an article
» Members Introduction
» Article or message?
» Slide bar article
» Forumotion Article
» Members Introduction
» Article or message?
» Slide bar article
» Forumotion Article
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum