Am new to JavaScript?Any one please give some sample code for this.
The simple-and-direct approach is to create and add a new style node to the document.
var css = document.createElement("style"); css.type = "text/css"; css.innerHTML = "strong { color: red }"; document.body.appendChild(css);
I want to add a menu to my application screens. The menu will have the menu icons which are horizontal scroll-able one menu at a time when left or right arrow pressed.