Welcome Guest [Log In] [Register]
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:
Add Reply
New Topic Button
Topic Started: Aug 1 2008, 08:03 PM (832 Views)
Lackster
Member Avatar
The Names Bond James Bond
[ * ]
is there a way you can edit this code to make so if you have 2 themes that the one new topic button is for one theme and then the other new topic button 4 the other. i just wondered if it is possiable
Offline Profile Quote Post Goto Top
 
Viral
Member Avatar
i'm stanley nao
[ *  *  *  *  * ]
Code: HTML
 
<script type="text/javascript">
//<![CDATA[
// new topic button - all themes by Viral
if(location.href.match(/\/topic\/[0-9]+[\/[0-9+]?/gi)){var fo = $("div.topic-buttons a[href@=mode\=2]");var f=fo.attr("href").split("f=")[1].split("&t=")[0];if(f){$.post(main_url+"forum/"+f,{},function(data){fo.before(data.split('<div class="cat-buttons">')[1].split("</a>")[0]+"</a> ");});}}
//]]>
</script>
Edited by Viral, Sep 7 2008, 11:49 AM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Coding & Modifications · Next Topic »
Add Reply