I have not tried, but you can put the background in a div, leaving it behind the classic background (using the low css z index) with a fixed position (absolute position), fixed width / height (100% / 100%) and opacity.
When the user clicks the Help buttons, you change the z-index by placing it at the top of the page.
UPDATE
Suppose the html layout looks like this:
<html> <head>...</head> <body> <div id="container"> <a href="#" id="help_button">HELP</a> </div> <div id="over_image"> <img src="path_to_the_overlapping_image" alt="overlap image" /> </div> </body> </html>
Default CSS like this
div#container { z-index: 100; } div#over_image { z-index: -100;
And at the end, the jQuery function
$("a#help_button").on("click", function(event){ event.preventDefault(); // it not really a link $("div#over_image").css("z-index", "1000"); })
You must also implement the βhideβ function to βresetβ the matching image with some action, perhaps something like this:
$("div#over_image img").on("click", function(){
I have not tried, maybe there are a few things that need to be changed to make it work correctly, but it's a good place to start.
SOME LINKS
source share