Saturday, April 17, 2010

HTML5 Reference Manual

http://www.whatwg.org/specs/web-apps/current-work/#the-a-element

Monday, April 12, 2010

Saturday, April 10, 2010

Rounded Corner Division

Just add this to style tag to get rounded corner div
 
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-khtml-border-radius: 20px;border-radius: 20px;

Thursday, April 8, 2010

Disable events on map

var elem=document.getElementById('loading_screen');
    OpenLayers.Event.observe(elem, "dblclick", block);
    OpenLayers.Event.observe(elem, "mousedown", block);
    OpenLayers.Event.observe(elem, "mouseUp", block);
    OpenLayers.Event.observe(elem, "click", block)

Tuesday, April 6, 2010

UI Slider

It will look like-


 You can download CODE from here-
http://hotfile.com/dl/36554302/6b85422/BI.php.html

Monday, April 5, 2010

No Need To Add Scroll Offset

No Need To Add Scroll Offset In OpenLayer For Controls On Map--> Just Set The Map At The Center While Doing Operations

var center = new OpenLayers.LonLat(78, 22);
    var proj = new OpenLayers.Projection("EPSG:4326");
    center.transform(proj, map.getProjectionObject());
    map.setCenter(center);