JSFiddle - React, Tailwind, and code Playground
by Richard Ayotte
HTML
<link rel="stylesheet" href=" http://ajax.googleapis.com/ajax/libs/dojo/1.9.2/dijit/themes/claro/claro.css">
<body class='claro'>
<div id='tc1-prog'></div>
</body>
JavaScript
require([
"dijit/layout/TabContainer"
, "dijit/layout/ContentPane"
, "dojo/dom-construct"
, "dojo/domReady!"
], function(
TabContainer
, ContentPane
, domConstruct
){
var tc = new TabContainer({
style: "height: 100%; width: 100%;"
}, "tc1-prog");
var cp1 = new ContentPane({
title: "CORS"
, content: domConstruct.create("iframe", {
"src": "http://en.wikipedia.org/wiki/Cross-origin_resource_sharing"
, "style": "border: 0; width: 100%; height: 100%"
})
});
tc.addChild(cp1);
tc.startup();
});