Footers:
<script type="text/javascript">
var CorQ = "CHOOSE";
//Created by Agent Moose (revolutionx.smfforfree3.com)
//Thanks for making it work Reid :)
switch(CorQ.toLowerCase()){
case "both": CorQ = ".quoteheader,.codeheader"; break;
case "code": CorQ = ".codeheader"; break;
case "quote": CorQ = ".quoteheader"; break;
}
if(CorQ.match(/(quote|both)/)) $(".quoteheader a").attr("href","javascript:void(0);");
$(CorQ).each(function(){ $(this).attr("style","cursor: pointer;"); });
$(CorQ).click(function(){ $(this).next().toggle(); }).next().toggle();
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,543.0.htmlThis code lets you toggle the Codes and Quotes in posts. Just click on the "Code" or "Quote" header
Replace the text CHOOSE with one of the following:
- both = Lets you toggle both the Quote and the Code.
- quote = Lets you toggle only the Quote
- code = Lets you toggle only the Code.
Enjoy