IMELGRAT.ME

Resources for Developers

Category

Javascript

Articles on these pages contain include Javascript samples and tutorials that help developers to build dynamic and fluid web pages easier and faster.

Youtube IFrame API: Controlling videos using JavaScript

Share this article:

The Youtube IFrame API allows you to embed a YouTube video player (using an IFrame to contain the video) on your website and control the player using their JavaScript API that works across IFrames. This way, you are no longer… Continue Reading →

Share this article:

JavaScript event bubbling and capturing

Share this article:

The concepts of JavaScript event bubbling and event capturing (also known as event trickling) were introduced to deal with situations where a single event, such as a mouse click, may be handled by two or more event handlers, each defined… Continue Reading →

Share this article:

Accordions or Tabs? Why not both?

Share this article:

Accordions and Tabs Accordions (Collapse components, in Bootstrap’s parlance) are widely used on the websites to manage a large amount of content or long navigation lists by splitting them in vertically-split blocks. Using the Bootstrap Collapse components you can either… Continue Reading →

Share this article:

Control HTML5 Audio and Video using a JavaScript API

Share this article:

Not long ago, adding a video to a web page implied quite a lot of work (and a bit of luck) as videos were not supported by browsers. Instead of using  HTML or a native JavaScript API, developers had to rely… Continue Reading →

Share this article:

Debouncing JavaScript events to prevent jerky action

Share this article:

Problem: Jumpy execution during UI changes JavaScript has a few events (resize, scroll, touchmove, mousemove, etc), which keep firing during the whole duration of the action, not just once. That may serve some purpose sometimes but most of the time… Continue Reading →

Share this article:

jQuery Mobile collapsible sets. Move content to the top

Share this article:

Accordions, also known as collapsible sets , allow to show a large amount of step- or category-arranged content using a minimal amount of space. This is especially useful when screen sizes are small, such in a mobile device, or when… Continue Reading →

Share this article:

Popups – Add content using JavaScript

Share this article:

Popups can be useful Let’s face it. Popups are not a nice browser feature and they can be very annoying. But, in some situations, they can be useful and it’s important to know how to work with them. Especially when… Continue Reading →

Share this article:

Going back in time. 2400 MS-DOS vintage games to enjoy on your browser

Share this article:

Classic, beloved vintage games like Tetris, Giana Sisters, Prince of Persia or Wolfestein 3D are a part of those of us who have more than 20 years. To many of us, these games really marked an era in gaming entertainment…. Continue Reading →

Share this article:

© 2018 IMELGRAT.ME

Theme by Iván MelgratiTop ↑