Category: javascript

  • TILT-calendar- part 18

    To see the progress,it is good to have a calendar.Discovered angular-calendar – to show events. The exemaple at https://mattlewis92.github.io/angular-calendar/#/kitchen-sink is pretty self explanatory. However,another 3 hours passed to have the display. The ( quasy – final ) result can be seen below ( taken from http://tiltwebapp.azurewebsites.net/AngTilt/tilt/public/ignatandrei ) Tools VSCode angular-calendar

  • Bingo for meetings- Adding a CLI application–part 12

    The easy way to test an application is to make a simple command line version . You can find the code at https://github.com/alexandru360/PresentationBingoCards/blob/master/bingo-meeting-console/index.ts You can run also with Docker by running https://github.com/alexandru360/PresentationBingoCards/blob/master/dockerize/bingo_cli.bat What were the steps ? 1. Install the @types/node,ts-node,typescript and others – see https://github.com/alexandru360/PresentationBingoCards/blob/master/bingo-meeting-console/package.json 2. Create an index.ts with the required CLI (…

  • Leaflet and maps

    if you want to display data on maps on the web,then you have a solution for javascript: Leaflet. First,download the css and js for leaflet from http://leafletjs.com/ . ( and also some plugins,such as lealflet label)  You can include like this: <link href="~/Scripts/leaflet/leaflet.css" rel="stylesheet"/> <link href="~/Scripts/leafletlabel/leaflet.label.css" rel="stylesheet"/> <script src="~/Scripts/leaflet/leaflet.js"></script> <script src="~/Scripts/leafletlabel/leaflet.label.js"></script> Then you must obtain…

  • Format Date Time

    If you pass the datetime in json format ( and apply to the view with Knockout) then you will need some formatting – because the standard format is not good . So I have used  http://blog.stevenlevithan.com/archives/date-time-format – easy to understand and with examples. Reccomended!

  • Jquery and multiple Ajax

    I have had 2 occasions where I need to know when the ajax call have been finished: When in the beginning of page I have to load specific items that the user have been seen last time When the page was full with ajax call  – and there was also a “submit” button that should…