Posted By

fael on 08/25/08


Tagged

jquery joomla


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

fael
benrudolph
pauloc


Make Joomla's Debug Window Be Togglable


 / Published in: JavaScript
 

  1. $(document).ready( function(){
  2.  
  3. $("#system-debug")
  4. .wrapInner("<div id=\"debugWrapper\"></div>")
  5. .prepend("<a href=\"javascript:;\" id=\"toggleDebug\">Toggle debug</a>");
  6.  
  7. $("#debugWrapper").hide();
  8. $("#toggleDebug").click(function(){
  9. $("#debugWrapper").toggle();
  10. });
  11. });

Report this snippet  

You need to login to post a comment.