LinkedInTwitterFacebook

Category 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.

Share

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 […]

Share

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 […]

Share

Firebug tool – part 001.

This tool help you to see and change online your webpage. You can download it from firebug tool. The official website told us about the most popular and powerful web development tool: Inspect HTML and modify style and layout in real-time Use the most advanced JavaScript debugger available for any browser Accurately analyze network usage […]

Share

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 […]

Share