Simple Demo


Demo Sample Code

 <div id="gBlock_here"></div>
<script>
        $(function () {
            buildGBlock();
        });
        function buildgBlock() {
            var block1 = new xtnsvgblock();
            block1.config.text = "This is where you put text you want to display";
            block1.config.href = "http://www.ExtensiveJS.com";
            block1.config.imgSrc = "http://ExtensiveJS.com/images/version_2.png";
            block1.config.imgHeight = 75;
            block1.config.imgWidth = 75;
            block1.config.imgLocation = "left";
            block1.config.height = 80;
            block1.config.width = 300;
            block1.config.textAlign = "left";
            block1.config.backgroundColor = "teal";
            block1.config.color = "whitesmoke";
            block1.config.fontSize = "14px";
            block1.init($("#gBlock_here"));
        };
 </script>