Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

HTML
<script>
function doSvg() {
    var myBigSvg = {};
    myBigSvg.array = document.getElementsByTagName('svg');
    var newAtt = document.createAttribute("id");
    newAtt.value = "mySmallSvg";
    myBigSvg.array[0].setAttributeNode(newAtt);
    var newWidth = document.createAttribute("width");
    newWidth.value="1200";
    myBigSvg.array[0].setAttributeNode(newWidth);
    var newOmm2 = document.createAttribute("style");
    newOmm2.value="transform:scale(0.7); overflow:hidden; position:relative; margin-left: -180px; margin-top: -100px; margin-bottom: -90px;";
    myBigSvg.array[0].setAttributeNode(newOmm2);
}
doSvg();
$(document).ready(function() {
    lssdk.createSvgLinks();
	lssdk.popups.createModal('options-matrix', 'API Key, Hierarchy Options Matrix', '<iframe src="https://docs.google.com/spreadsheets/d/1bRvMSi-IbEt_7ujhDqbjFBfO02ZF66g_iZE3CXY3GAc/edit#gid=016vQbKPYduFWmoliYIUPT_YKTpLUIpWwM-g0DbbKETcY/pubhtml?gid=0&amp;single=true&amp;widget=true&amp;headers=false" style="width: 100%; height: 70vh;"></iframe>', 'matrixPopupLink');
});
</script>

...