I have a youtube iframe element in my website, but it\'s next to my menu items. When I hover over a menu item, a submenu opens that partially covers the iframe (because of i
Here is a non pure JS solution, alternative to JQuery:
var iFramesOnPage = document.getElementsByTagName("IFRAME");
for(var i = 0; i < iFramesOnPage.length; i++) {
var newiFrameURL = iFramesOnPage[i].getAttribute("src")+"?wmode=transparent";
iFramesOnPage[i].setAttribute("src", newiFrameURL);
};