Monthly Archives: July 2009

jQuery browser and OS detection plugin

Browser/OS detection with jQuery As I wrote in my recent post I simply use the PPK BrowserDetect object to find out the browser/OS of the client. Actually I’m pretty sure there’s a similar jQuery plugin based again on that code … Continue reading

Posted in javascript | Tagged , , , , , | 29 Comments

OpenLayers disable dragging

OpenLayers and dragging If working with OpenLayers you may know how the map by default is with dragging enabled. Even when in the API is said that setCenter() method is taking a forth parameter the boolean dragging it’s actually not … Continue reading

Posted in web development | 5 Comments

javascript: get function caller

Who calls me? If that’s the question a JavaScript function is asking for, and respectively you are, there is one simple way to find the answer. Why would I need this? Well let assume I’ve one function called func1, called … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | Leave a comment

jQuery datepicker persist defaultDate

Datepicker from jQuery You know how the jQuery UI extensions give a useful functionality for the javascript developers. The datepicker is a useful calendar tool that comes with variaty of functions. How to setup the selected / defaultDate It’s as … Continue reading

Posted in javascript, micro tutorial | Tagged , , , , | Leave a comment

ExternalInterface from JavaScript to IE/Firefox

ExternalInterface communication with JavaScript The most simple way to describe the case is as if you have the ExternalInterface addCallback in the Flex application like that: flex.mxml ExternalInterface.addCallback(“jsFunc”, flexFunc); public flexFunc() : void { … } and in the javascript … Continue reading

Posted in flex 3, javascript, micro tutorial | Tagged , , , , , | 2 Comments