WordPress.org

Ready to get started?Download WordPress

Forums

Portfolio Slideshow
Title appears when mouse is on photo (3 posts)

  1. janneke
    Member
    Posted 3 years ago #

    Dear daltonrooney,

    I am very very happy with your plugin, just perfect!

    But I have one small question. I really hope you can help me..!

    When my moise-pointer goes over a picture in the slideshow, the title of the picture pops up in a yellow square. Like in here. Now I know that is a quite common phenomenon, but I was wondering if you know a way to prevent that yellow title-square!

    Thanks!
    Janneke.

    http://wordpress.org/extend/plugins/portfolio-slideshow/

  2. Dalton
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi Janneke,
    This doesn't really have anything to do with the plugin, it's the browser's default behavior, but it is possible to surpress it with jQuery, I believe:

    Something like this dhould probably work:

    /*Get rid of floating image titles*/
    $(document).ready(function() {
    	$("img").removeAttr("title");
    });

    Cheers,
    Dalton

  3. janneke
    Member
    Posted 3 years ago #

    Hi Dalton,

    Wow, thanks, that really sounds great!
    I just copy-pasted the code into page.php (I have the gallery plugin on a page), but that does not work yet. Am I doing something really stupid?
    I never worked with jQuery before, so I don't know how to handle jQuery-codes..??

    Thanks a lot!!!

    Janneke.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic