Category Archives: javascript

Side menu with jQuery.

This side menu is a very simple example with HTML5, CSS and jQuery. The result is this: You can see the source code:

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… Read More »

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… Read More »