Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 80307

Re: How to display an element on top of a web object

$
0
0

What if you use a script and use a image with the video name and the "x" I´m using the google logo as example.


var widget = document.querySelector("[id*='Widget'],[id*='Web']")
var ronanImageTitle = document.createElement("img");
ronanImageTitle.setAttribute("src", "https://www.google.com/images/srpr/logo11w.png");
ronanImageTitle.setAttribute("style", "position:absolute; z-index:100; top:0; width:50%");
$(ronanImageTitle).fadeIn( "slow" , 0);
$(ronanImageTitle).click(function() {
$(ronanImageTitle).fadeOut( "slow" , 0);
});
$(widget).append(ronanImageTitle);

Sem título.jpg


Viewing all articles
Browse latest Browse all 80307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>