jTLine

Examples: Passing Json Object

You Can Build The TimeLine by Passing Json Object


                                   
                   < div class="myjtline" > </ div >
                
                

                
                 $('.myjtline').jTLine({
                       callType: 'jsonObject',
                       structureObj: myjSonObject
                  });
                
                

                
            var myjSonObject = {
                "args": {

                },
                "dataArray": [
                  {
                      "isSelected": "true",
                      "title": "My  Point 1",
                      "subTitle": "subTitle11111",
                      "dateValue": "10:12", // 10:12
                      "pointCnt": "p1",
                      "bodyCnt": 'hi other text'
                  },
                  {
                      "isSelected": "",
                      "title": "My  Point 2",
                      "subTitle": "subTitle222222",
                      "dateValue": "15:12", // 12:11
                      "pointCnt": "p2",
                      "bodyCnt": contentText
                  }]
            }