Welcome Guest [Log In] [Register]
This board has been archived and is no longer accepting new questions. If you have a support question for your ZetaBoard, please visit us at the new support board. Registration is free and easy.


Visit the NEW ZetaBoards Support forum!

Username:   Password:
Add Reply
New Topic Button
Topic Started: Aug 1 2008, 08:03 PM (1,249 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