Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #20047

    Hello,

    I try to remove the image title popup tooltip in the portfolio section. In fact i success to do that in the home page by adding to footer.php before </body>:

    <script type=”text/javascript”>

    jQuery(‘document’).ready(function($){

    $(‘[title]‘).removeAttr(‘title’);

    });

    </script>

    But it doesn’t work with image in the portfolio. In fact i still have an unwanted popup tooltip appears when I hover over an image.

    Can you help me?

    Thank you very much

    Clément

    #106104

    Hi Clément,

    Try adding your javascript to the js>avia.js file in your theme files. Just after the:

    jQuery.noConflict();
    jQuery(document).ready(function(){

    Regards,

    Devin

    #106105

    Thanks for your quick answer Devin,

    I have try what you said by changing the avia.js but it’s not working. I’m not really confortable with js so maybe it’s because i’m not writing the good thing. I tried a lot of different thing but none working. Like this one:

    jQuery.noConflict();

    jQuery(document).ready(function(){

    jQuery(document).ready(function($){

    $(‘[title]‘).removeAttr(‘title’);

    });

    Do you have an other solution ? Thank for trying to help me.

    Sincerely

    Clément

    #106106

    Hi!

    You can try:

    jQuery(document).ready(function($){
    $('img').removeAttr('title');
    });

    Regards,

    Peter

    #106107

    Thanks Peter for your help,

    But still doesn’t work ? Any guess ? I don’t know what to do.

    Regards,

    Clément

    #106108

    Hi!

    I tested your website with Chrome and it seems to work just fine on my computer. Please try to clear your browser cache.

    Best regards,

    Peter

    #106109

    Hi Peter!!!

    I clear my browser cache and i have try on several different browser and it still don’t work. Because i have put javascript in the footer.php, i success to avoid image title to popup on the home page and in the portfolio archives.

    But when the image in portfolio use javascript process it’s not working, and the image title still popup when you put the mouse on it. The title only popup when the image appear on the top of the page.

    So i think the solution is in the avia.js file but I still don’t know what to do.

    I’m sorry for my english and my lack of knowledge i hope you can understand me. Thanks for trying to help me it’s very nice.

    Clément

    #106110

    Hi Clément,

    The function is working properly though you don’t need in both the footer and the avia.js file.

    I’m not sure why you are still seeing the title but I don’t know of another way to remove it.

    Regards,

    Devin

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘How to remove image title popup in the portfolio?’ is closed to new replies.