I am currently working on a website for a kiosk, where the site transitions like a photoslide between each section.
To achieve this effect, I have added a layover/mask on the initial page. The layover/mask is removed using a mouse click function. This is done to hide the address bar on the first screen of the kiosk since the initial page/div is an anchor tag.
$("#item1").append('<div id="pageLayover"></div>');
$(document).click(function(){
$("#pageLayover").remove();
});
Currently, you have to click twice - once to remove the layover and then again for the first page to slide to the second page. Is there a way to achieve both actions with just one click?
You can find my code on jsFiddle. Any suggestions or examples would be greatly appreciated.
Thank you in advance!