We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
[ C ] Announcement Marquee
Topic Started: Sep 2 2015, 05:48 PM (446 Views)
FB92
Member Avatar
Member
[ *  * ]
Is there a way that I can pull the topic titles from one specific forum and display their topic titles on a marquee on the index page?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

What kind of browser support are you looking for? Most modern methods of creating a marquee don't work with older versions of IE.
Offline Profile Goto Top
 
FB92
Member Avatar
Member
[ *  * ]
All modern browsers.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

FB92
Sep 2 2015, 09:10 PM
All modern browsers.
So, IE8+ support as well?
Offline Profile Goto Top
 
FB92
Member Avatar
Member
[ *  * ]
Yes. If possible. But not necessary for older browsers. If they have an older browser about time they update.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

Okay, bear with me here. This took a lot of work to get perfect. I hope it is. *crosses fingers* I did not get to test Internet Explorer because I do not own a Windows machine of my own. So if IE still needs work let me know, and please be specific about the version and issue.

Admin CP >> Board Template >> Above the Board
Code: HTML
 
<link href="http://z4.ifrm.com/30296/128/0/p1169779/Announcement_Marquee.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var forumID = ###; // forum ID from which the topic titles will come from
var numTopics = 3; // number of topic titles to grab
</script>

<![if gte IE 10]>
<script type="text/javascript" src="http://z4.ifrm.com/30296/128/0/p1169778/Announcement_Marquee.js"></script>
<![endif]>

<!--[if lte IE 9]>
<script type="text/javascript" src="http://z4.ifrm.com/30296/128/0/p1169781/Announcement_Marquee_ltIE10.js"></script>
<![endif]
-->
The only editing required is the two variables forumID and numTopics. Replace ### with the forum ID (found in the URL). You could leave numTopics as 3, or if you want make it more/less. Just keep in mind that the code only grabs from the first page of topics.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

The code has been released: http://support.zathyus.com/topic/5228679/
Offline Profile Goto Top
 
Roby
Member Avatar
#27

Completed!

Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Closed Requests · Next Topic »
Locked Topic