- Code: Select all
-rwxr-xr-x 1 www-data www-data 3121 Apr 27 2014 jquery.cookie.js
-rw-r--r-- 1 www-data www-data 13211 Jul 25 19:21 overlay-img.png
and to the file default.php (between <body></body>I added
- Code: Select all
<!-- ADDED BY [email protected] -->
<div id="tip-overlay"></div>
<style type="text/css">
#tip-overlay {
background: url("overlay-img.png") no-repeat scroll 87% 30px rgba(0, 0, 0, 0.75);
cursor: pointer;
height: 100%;
left: 0;
opacity: 1;
position: fixed;
top: 0;
width: 100%;
z-index: 99999;
}
</style>
<script type="text/javascript" src="jquery.cookie.js" charset="utf-8"></script>
<script type="text/javascript">(function($) {$(document).ready(function() {
if(!$.cookie('tipoverlay')) {
$('#tip-overlay').click(function(){
$('#tip-overlay').remove();
$.cookie('tipoverlay',1,{ expires: 7, path: '/' });
});
} else {
$('#tip-overlay').remove();
}
});})(jQuery)</script>
<!-- END -->
Then cleared all cookies installed from the site, and revisited but I still I don't see the overlay. What am I missing here?
I'm asking, because a visitor got confused as how to find the contact information in the menu.