Code

Discussion on hoverOver - jQuery Plugin for Adding Hover Content

Discussion on hoverOver - jQuery Plugin for Adding Hover Content

Cart 251 sales

dotdesign_in supports this item

Supported

28 comments found.

Hi. I “think” that I have been searching for this plugin for a long time. Can this plugin be made to change an image when you HOVER over text? What I need is to duplicate the effects on this website, { http://www.srcart.com/art_collection.html } so that when you hover over an artist’s name, an image in another element will show.

Thanks.

This plug-in is not meant for the same functionality. I will create similar one that you want it. Can you please drop your email? I will send you message when that plug-in got approved.

Thank you, email sent.

Hi, As discussed earlier. I have created plug-in, by thumb image over large image will show to placeholder or target box.

Here is the link to plug-in. http://codecanyon.net/item/show-image-in-placeholdertarget-box-jquery/4872569

Thanks, DotDesign.in

Hi, Great Script.. On your Site (LivePreview) you have specified

“data-push-content=’#contentID’” and define ” id=”contentID”“

Do you have any other ways else than to do it without ID? On a Site with Dynamic created Boxes there will be Errors cause same IDs are used often.

Hey Karabey, what you can do, when you specify dynamic id. Add some index. so data-push-contet=’#contentID1’.

Regards, DotDesign.in

@ Arthas13

I don’t generally monitor these threads as I am not the owner of this plugin.

It is easy to make jQuery plugins work in Wordpress, but if you are unfamiliar with how to do so I’m afraid I don’t really have time to explain it in detail.

In short, you need to upload the plugin files to your server using FTP or cPanel, then enqueue the scripts in your WP functions.php file.

You then create your content, apply the CSS classes and/or ID’s before setting up an initialisation script to call the plugin functions.

Here are some links to get you started:

http://codex.wordpress.org/Function_Reference/wp_enqueue_script http://wp.tutsplus.com/articles/how-to-include-javascript-and-css-in-your-wordpress-themes-and-plugins/

I recommend you use Firebug or Chrome Developer Tools to debug as you go.

Also, be aware that this is not a Wordpress Plugin, so unless you intend to write an actual plugin then you will not specify a path to the Plugin directory.

Likewise, the method for enqueueing scripts for a Parent theme requires a different path to the path you would use for a Child theme.

Here is and example of a functions.php for a Child theme:

<?php

add_action( 'wp_enqueue_scripts', 'load_hover_scripts' );

function load_hover_scripts () {

    wp_register_script( 'hoverover_init',  get_stylesheet_directory_uri() . '/js/hoverover/hover_init.js');
    wp_register_script( 'hoverover',  get_stylesheet_directory_uri() . '/js/hoverover/Source/jquery.hoverOver.js');
    wp_register_script( 'hoverover.min',  get_stylesheet_directory_uri() . '/js/hoverover/Source/jquery.hoverOver.min.js');

            wp_enqueue_script( 'hoverover_init' );
            wp_enqueue_script( 'hoverover' );
            wp_enqueue_script( 'hoverover.min' );

        }
}

?>

You could of course just use CSS to achieve an identical effect to the site at the link you have provided. I only use JS or jQuery plugins to enable fancy effects like sliding and fading.

Good luck!

Hi gecko_guy. I have asked dotdesign_in to create a custom wordpress plugin, that when the mouse hovers over a text, text url, or anytype of content of my choosing, an image will apear to the right. Similar to this site http://www.probertsongallery.com/component/artists

I read from your comments that you figured out how to convert it to a wrodpress plugin? I have no idea how to convert to a wordpress plugin.

Hi gecko_guy. I have asked dotdesign_in to create a custom wordpress plugin, that when the mouse hovers over a text, text url, or anytype of content of my choosing, an image will apear to the right. Similar to this site http://www.probertsongallery.com/component/artists

I read from your comments that you figured out how to convert it to a wrodpress plugin? I have no idea how to convert to a wordpress plugin.

This looks great, do you know if it will work in Wordpress?

Hi there,

I’ve just got round to testing this.

Unfortunately, all it does is set a timer to delay the effect.

I was hoping to implement HoverIntent, so that if the mouse moves quickly over a box the effect will not trigger at all.

Here is a link to the HoverIntent site. I’ll also try to find the solution in the meantime:

http://cherne.net/brian/resources/jquery.hoverIntent.html

...and here is a link to an example:

http://overlycaffeinated.com/demos/hoverIntent.php

I am trying to get it to work like the green box at the bottom…

Hi, sorry to bombard you. This is less important to me, but I have another question :)

When using your example #7 (Content Title Visible)

It is possible to set the start height with contentShowHeight, but it would be nice to be able to specify the end height too.

This would allow for the background effect to occupy only a portion of the container on hover, or apply some nice CSS styling to the edges of the background.

If this is easy to do it would be a nice addition to your script, but I am much more interested in HoverIntent at this stage.

Thanks again, I really like the plugin!

I have tried a lot of others that are fancy in all sorts of ways, but so far yours is working well for me due to its simplicity and allows me to apply an HTML5 pixel grayscale hover effect at the same time without conflict.

If it is possible to make these other changes it would be perfect!

Can we customize the color of elements ? :grin: With CSS ?

Hey Candeed,

Yes of-course, that’s what I did in demo. I have used same plug-in but hover-over overlay color is different.

Thanks, DotDesign.in

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey