Contents tagged with module pattern

  • SVG drawings

    Hello everybody.

    Today I want to share with you simple way to draw Mutual Style Fund box with help of javascript and svg in html5 with usage of module pattern of javascript. 

    Recently I had task to make at web site drawings with javascript. After some research I decided to use javascript and svg. Here is screenshot of result:

    You can choose scaling size and row and column to display.

    Here it goes html code:

    <!DOCTYPE html>




    <meta charset="utf-8"/>

    <script src="Scripts/jquery-1.10.2.js"></script>

    <script src="Scripts/MorningStar.js"></script>



        <script type="text/javascript">

            function Display() {

                var  … more