The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
5 posters

    Way to disable the popup box hovering over navigation bar?

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Way to disable the popup box hovering over navigation bar?

    Post by SpyroDragon June 23rd 2020, 6:53 pm

    Is there a way to disable the box completely that pops up when you hover over the nav bar?
    Way to disable the popup box hovering over navigation bar? Member11
    brandon_g
    brandon_g
    Manager
    Manager


    Male Posts : 10113
    Reputation : 923
    Language : English
    Location : USA

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by brandon_g June 23rd 2020, 7:41 pm

    Hello,

    I don't know if this can be done. You can't remove the alt text via the AP or the templates, you also can't prevent it from coming up using css either. From what I have researched it MIGHT be possible using Javascript, but I don't know if that will work here or not.

    Perhaps @TheCrow or someone with some JS knowledge might be able to answer that part or not.

    -Brandon



    Way to disable the popup box hovering over navigation bar? Brando10
    Remember to mark your topic Way to disable the popup box hovering over navigation bar? Solved15 when a solution is found.
    General Rules | Tips & Tricks | FAQ | Forgot Founder Password?

    Way to disable the popup box hovering over navigation bar? Scre1476
    Team Leader
    Review Section Rules | Request A Review | Sticker Points
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by SLGray June 23rd 2020, 8:29 pm

    Basically you want to remove the tooltips, correct?



    Way to disable the popup box hovering over navigation bar? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by skouliki June 23rd 2020, 8:35 pm


    TheCrow likes this post

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by SpyroDragon June 23rd 2020, 9:48 pm

    im not sure what to do with that link even after reading, can you help me step by step lol
    skouliki
    skouliki
    Manager
    Manager


    Female Posts : 15391
    Reputation : 1709
    Language : English,Greek
    Location : Greece

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by skouliki June 23rd 2020, 9:53 pm

    open a new javascript set to all pages and add this

    Code:

    $('a').removeAttr('title');

    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by SpyroDragon June 23rd 2020, 9:54 pm

    not working
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51555
    Reputation : 3524
    Language : English
    Location : United States

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by SLGray June 24th 2020, 3:16 am

    When you create the new JavaScript , did you copy and paste the code?  If yes, did the numbers on the left side get added to the code?  If yes, remove them.



    Way to disable the popup box hovering over navigation bar? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SpyroDragon
    SpyroDragon
    Forumember


    Posts : 462
    Reputation : 2
    Language : English

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by SpyroDragon June 24th 2020, 4:18 am

    Way to disable the popup box hovering over navigation bar? Nope11

    No numbers, but still not working
    mSyx
    mSyx
    Forumember


    Male Posts : 155
    Reputation : 47
    Language : French & English
    Location : France

    In progress Re: Way to disable the popup box hovering over navigation bar?

    Post by mSyx June 26th 2020, 8:51 pm

    Oi,
    We need to target the images, not the links themselves:

    Code:
    $('a.mainmenu img').removeAttr('title');

    If this doesn't work either, this means we'd need to wait for the document to be ready in order to execute the JS. If it's the case, this should do:
    Code:
    $(function() {
    $('a.mainmenu img').removeAttr('title');
    });

    TonnyKamper likes this post


      Current date/time is November 14th 2024, 1:39 pm