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 it!

Share it!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… Continue Reading →


Share it!

JavaScript event bubbling and capturing

Share it!

Share it!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… Continue Reading →


Share it!

Accordions or Tabs? Why not both?

Share it!

Share it!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… Continue Reading →


Share it!

Control HTML5 Audio and Video using a JavaScript API

Share it!

Share it!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… Continue Reading →


Share it!

Debouncing JavaScript events to prevent jerky action

Share it!

Share it!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… Continue Reading →


Share it!

jQuery Mobile collapsible sets. Move content to the top

Share it!

Share it!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… Continue Reading →


Share it!

Popups – Add content using JavaScript

Share it!

Share it!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… Continue Reading →


Share it!

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

Share it!

Share it!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… Continue Reading →


Share it!

© 2020 IMELGRAT.ME

Theme by Iván MelgratiTop ↑