Hi guys, I’ve got a little problem with my website footer.
Actually, when I hover the footer text, the div title “Page 1″ appears and I would like to avoid this. I’ve found a partial solution by adding this code in the footer.php file :
<script type=”text/javascript”>
/* The first line waits until the page has finished to load and is ready to manipulate */
$(document).ready(function(){
/* remove the ‘title’ attribute of all tags */
$(‘#footer [title=”Page 1″]’).removeAttr(“title”);
});
</script>
It works perfectly on the home page however it’s not working on the other pages. Does someone know how to fix this problem ?
Best regards
Finally I’ve found the solution :
<script type=”text/javascript”>
/* The first line waits until the page has finished to load and is ready to manipulate */
(function ($) {
$(document).ready(function(){
/* remove the ‘title’ attribute of all tags */
$(‘#footer [title=”Page 1″]’).removeAttr(“title”);
});
}(jQuery));
</script>
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon