Skip to content
Published April 14, 2018

Recently codix.io added the ability to embed it’s comparisons using iframes. It’s an easy way to include details about how a set of open source libraries are doing relative to one another. Let’s say we’re writing about Javascript frameworks. We could embed a codix comparison using an iframe like so:

<iframe src="https://codix.io/c/Javascript+Frameworks?embed=true"/>

Which would give us this:

Or if you prefer a more stripped down appearance it’s possible to tweak a few url params to customize the content.  For example:

<iframe src="https://codix.io/c/Javascript+Framework?embed=true&showWinners=false&showTitle=false&showRatings=false"/>

Gives us this:

To create your own comparison use the compare tool on codix.io.  Once you’ve created your comparison, you’ll find the code you’ll need to embed the new comparison at the bottom of the page.

Leave a Reply

Your email address will not be published.