Tagged: Javascript

Simple mash of Twitter and Google Maps 3

Simple mash of Twitter and Google Maps

Got inspired by Twittervision mapping your tweets on Google Map. They don’t have a widget to put the map on your blog. Nevertheless I wouldn’t have used their widgets as they slow down the site. I hacked a piece of code in php/js to achieve the same on my site. Geo microformat L:lat,lan...

How to close main browser window with out getting warning message 6

How to close main browser window with out getting warning message

When you try to close the main browser window using the close [ window.close(); ] method. You get the confirmation prompt The Web page you are viewing is trying to close the window. Do you want to close the window? This warnning message appears only if you are trying to close the main...

How to bypass IE warning messages when accessing an html file from local file system 14

How to bypass IE warning messages when accessing an html file from local file system

I usually code my html/javascript in a simple text editor like notepad++. I usually open it in IE ( Internet Explorer) or FF to test it. Firefox doesn’t have any problems in opening the local files. But IE doesnt belive my local files. Everytime I open a local html file using IE I...

Bug Fix for Sortable Table – Sorting Date functionality 0

Bug Fix for Sortable Table – Sorting Date functionality

Sortable Table is a great javascript library for client side sorting of HTML table. Its under Apache 2.0 license so its very compatible. Recently I faced a bug when sorting date columns. It was not sorting the dates properly. After some debugging I got to know that the library assumes the date format...

How to forward a ModalDialog to a new url 1

How to forward a ModalDialog to a new url

Last few days I was fighting with Modal Dialog ( opened with the method showModalDialog ) to forward to a new page with out opening a new window.The usual document.location.href = newurl; works but opens in a new window. Then I got a simple solution. window.name = “somename” window.open(newurl, window.name) well this works...

Javascript libraries for logging , XML parsing 0

Javascript libraries for logging , XML parsing

jsLogger – JavaScript logger for your web application Coded by yours truly.JsLogger is a Javascript logger utility. Just include it in your HTML file using script tag. And start logging. Has many features like disabling logging, Styling etc. Its just v1.0. Give your suggestion to improve it XML to JSON – a converter...