Free Photos
WordPress Themes

Fix YouTube iFrame Z-index issues using jQuery

var frames = document.getElementsByTagName("iframe"); for (var i = 0; i < frames.length; i++) { frames[i].src += "?wmode=opaque"; }
Fixes issues with YouTube iFrame videos, or other embedded iFrames, overlapping website content.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.