LinkedInTwitterFacebook

Tag Archives: javascript

JavaScript – geolocation.

This is a simple java script to take the geolocation and show it on webpage. The example start with a default HTML 5 page and the part from tags scripts get the geolocation and using innerHTML is show on webpage. To see the location then is need to use this: navigator.geolocation.getCurrentPosition.

JavaScript – toggle button example.

Is a simple example about toggle button. You need to start with input button and then get the state of this

Then add the type and id and style. You can remove the text-indent: -9999px; and Toggle button if you don’t want to see text to this toggle button. Let’s see the full source […]

Website tool for processing language.

The Studio SketchPad aims to be a open studio for individuals learning to sketch beautiful code on the web canvas with  Processing and  EtherPad. The default licensing adopted for the sketches are the Creative Commons Attribution-ShareAlike 3.0 Unported license. Today I will come with this tutorial about hoe to use this tool. First you need […]

WebRTC – one simple first example webcam – part 002.

As you know already the WebRTC allow us provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs.The WebRTC components have been optimized to best serve this purpose. You also need to put tunneling WebRTC over TCP because that tunneling it matters. But today I will show you just a simple first […]

WebSocket – First steps – part 001.

I do not think that is so sought after. Most people prefer products WebRTC. Also on good reason of using WebRTC instead of Websocket is latency of streaming. Is the protocol for two-way communication with a remote host. The WebSocket interface and defines a full-duplex communication channel and operates through a single socket over the […]