Forums

[Plugin: CodeColorer] Hack: Toggle visibility with JQuery (1 post)

  1. petergeil
    Member
    Posted 2 years ago #

    Although CodeColorer due of its table-based markup isn't the most elegant way to format raw code snippets, I like it and therefore implemented a small but nice view toggler.

    I use to post code snippets with more than a few lines, and they blow up the page height pretty much, so I wrote a small JavaScript that toggles the codecolorer-box dynamically. It's necessary to changed codercolorer.php/.css and to slightly modify the header.php of the used theme.

    The tutorial along with the needed file can be found here.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by petergeil
  • This topic is not a support question
  • WordPress version: 2.7