Tags » HTML 2

Div has equal width and space

Example: three or two span share the equal space in a row. (inline-block) 50 more words
BahBahBah

Building Apps with Aurelia: #2 Getting Started – Hello Aurelia

Hey guys :D Today we will dive in to the world of Aurelia, with the simplest possible app we can build. The customary Hello World or in this case Hello Aurelia app.. 1,340 more words

Development

Building Apps with Aurelia: #1 Series Introduction

Hey Guys :D Found some time to get back to writing and I am back at it with a new framework for the modern web that is gaining a lot of traction in the community. 810 more words

Development

Download server responded data directly into a file using AngularJs

Sometimes as a AngularJs developer you get some requirements which look easy but they could be tricky, in-short in this post we are having a scenario like: 531 more words

Scala

Google maps - search place and add marker


<html>
<head>
    https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js
    http://maps.googleapis.com/maps/api/js
    

        google.maps.event.addDomListener(window, 'load', initialize);

        function initialize() {
            var mapProp = {
                center:new google.maps.LatLng(51.508742,-0.120850),
                zoom:10,
                mapTypeId:google.maps.MapTypeId.ROADMAP
            };
            map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
        }

        function addmarker(latlong) {
            var marker = new google.maps.Marker({
                position: latlong,
                title: 'test marker',
                draggable: true,
                map: map
            });
            map.setCenter(marker.getPosition())
        }

        $(document).ready(function(){

            $("#go").on("click",function(){
                    var geocoder = new google.maps.Geocoder();
                    var address = document.getElementById('textboxid').value;
                    geocoder.geocode({ 'address': address }, function (results, status) {
                            if (status == google.maps.GeocoderStatus.OK) {
                                var latitude = results[0].geometry.location.lat();
                                var longitude = results[0].geometry.location.lng();
                                $("#lat").html("Latitude : " +latitude);
                                $("#long").html("Longitude :  " +longitude);
                                var latlng = new google.maps.LatLng(latitude,longitude);
                                addmarker(latlng);
                            }
                        });
                    });
            });
    
</head>

<body>

<input type="text"  id="textboxid" value=""><button id="go">Get</button>

<span id="lat"></span>

<span id="long"></span>

</body>

</html> 54 more words
Google

DISERTATION : Automated Video Monitoring System

As a pre requisite for our studies, we are ask to decide what we want to make as our topic for Bachelor’s Disertation . With two other friends we chose to make a CCTV Like Application which can capture, record and alert user’s when a certain parameters where met. 145 more words

Personal Stuff