How to delete wordpress title attribute with jquery code?

Discussion in 'Wordpress' started by bmwillsmith, Mar 2, 2014.

  1. bmwillsmith

    bmwillsmith
    uix_expand uix_collapse
    Member

    Joined:
    Jan 23, 2014
    Messages:
    380
    Likes Received:
    10
    If you install a word press slider banner plugin for your word press website then some times we will get titles on mouse hover on that image.
    It will disturbs the user interface. Some clients may asks to remove that title appearance on mouse hover. Then first we need to inspect the image element, it should have a class, copy that class and use that class in below j query code then title attribute will be not appear any more.

    The code is as shown below. Place this code in the footer, just before the body tag ends. put it in script tags like '<script>'.
    Note: specify the image class location in code and get ready the j query document.
     
  2. AJKpeter

    AJKpeter
    uix_expand uix_collapse
    Member

    Joined:
    Nov 14, 2011
    Messages:
    390
    Likes Received:
    7
    I believe you should create thread where you will post all your useful tips and tricks related to web dev
     

Share This Page