Simple Machine Codes
April 19, 2024, 08:08:49 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Toggle Fast-Reply

Pages: [1]   Go Down
  Print  
Author Topic: Toggle Fast-Reply  (Read 512 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: July 19, 2007, 10:03:18 am »

This code will add a link next to the New Topic Button called "Fast Reply".  Once you click it, the fast reply will show up just like it does on IF...I guess I will need to add this to the IFstyleZB V2...

Place in footers.
Code:
<script>
function toggle_fastreply(){
//Created by Agent Moose with alot of help from Dan
$(function() {
$("<a href='javascript:openclose();' >Fast Reply</a>").appendTo(".topic-buttons");
});}
$("#fast-reply").hide();
function openclose() {
$("#fast-reply").toggle();
};
toggle_fastreply();
</script>
Report Spam   Logged

Share on Facebook Share on Twitter



Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy