Forums

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

  1. petergeil
    Member
    Posted 9 months 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.

Reply

You must log in to post.

About this Topic

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