Javascript Journal

Pravin’s Javascript Blog

Entries for the ‘Javascript’ Category

Example: AngularJS and Yahoo Weather Web Services

This is a simple web application which demonstrates use of AngularJs framework to consume Yahoo Weather Forecast web services. See demo @ http://javascriptjournal.com/weather/weather.html    

Check this out: Amazing JavaScript Charting : HIGHCHARTS

Highcharts is a charting library written in pure JavaScript, offering an easy way of adding interactive charts to your web site or web application. Highcharts currently supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. More demos at http://www.highcharts.com/demo

Javascript: GanttChart

Here is lightweight and cross browser GanttChart component [ Beta release]. This 100% developed by me. Here is an example

Javascript: Accordian

For one of my project, customer wanted an horizontal accordian control. Research indicated, I need to use quite bit of external library and extensions/plugin to get this. This inspired me to write a lightweight, cross browser horizontal accoridan. Here is an example [Horizontal Accordian] Note: These are tested with IE8/IE9 and Firefox

Unable to enable JavaScript in IE8

If you’re having a problem in your browser with JavaScript, you may want to re-register the jscript.dll file. This can be done by executing the following: Start > Run… In the Run box, type in (without quotes) “regsvr32 jscript.dll” You should receive a popup says that it registration succeeded. You then should be able to […]

Javascript, SVG: draw

This is a simple drawing pad build using javascript. Currently works for IE only. Here is a link to drawing pad For IE, you have to install SVG Viewer.

Javascript: Cutting Speed Calculator

Because of my mechanical engineering (in particular CNC programming) background, I had written this application. I believe this a handy application. Cutting Speed Feed Calculator Suggestions, if any, please let me know.

Javascript: OO Graph Library

This graph class was developed by me long back. Here is example code Like to see the graph class If you like to use it , please go ahead. <SCRIPT LANGUAGE=”JavaScript1.2″> var g = new Graph(800,400); g.addRow(22, 55, 47,103,21, 62, 5, 7, 69,3,33, 7, 74, 121, 58, 5, 46,11); g.addRow(54,556,213,260,73,171,134,30,380,4, 9,18,200,500,301,13,440,15); g.addRow(76,611,260,363,94,233,139,37,449,7,42,25,274,675,359,18,486,26); g.scale = 100; […]

Javascript: Captcha

Here is a captcha validation, using Javascript. Generates Random Sequence. Validate at client side. Test Captcha Page

Google Map 1: Simple

Last Friday someone asked me, Have you programmed Google Maps ? Can you do this ? Sure ! Here is a my simple application. You need to sign-up with Google to Get Key Read Google’s GMap2 (currently V3 API). If you know Javascript and OO programming, it is fairly easy to follow. Create HTML forms, […]