Solution I am providing intiates the click event when mouse enters the thumbnail (with a delay to avoid passing mouse events).
jQuery('.scrollgallery .thumbarea img').hover(function(e){
this.ScrollGalleryHover = setTimeout('initiateClick("'+jQuery(this).attr('src')+'");',500);
},function(e) {
clearTimeout(this.ScrollGalleryHover);
});
function initiateClick(src) {
jQuery('.scrollgallery .thumbarea img[src="'+src+'"]').click();
}
Related Posts:
- Infinite scroll / lazy loading with NextGen Gallery [closed]
- WordPress Featured Post Slider
- Modify this loop to fit my jQuery slider (slides)
- Getting post meta in the flex slider
- Intergrating agile carousel to wordpress: how to write the ajax_callback function
- NextGen plugin check failing, why?
- Create special WordPress slideshow with “jquery.cycle.all.js”
- Flexslider won’t work with WordPress’ jQuery | Dependencies
- wordpress before or after javascript problem
- A carousel slideshow plugin in JavaScript
- Slide toggle Jquery UI
- Carousel Slider For Custom PHP Snippet Is Not Working
- What is content-type and datatype in an AJAX request?
- How to send multiple data fields via Ajax?
- Adding an onclick function to go to url in JavaScript?
- When and why to ‘return false’ in JavaScript?
- Download File Using jQuery
- Jquery Ajax Posting JSON to webservice
- How is JavaScript .on() method defined?
- correct way of comparing string jquery operator =
- Jquery to change form action
- Split string in jquery
- How can I expand and collapse a using javascript?
- Detecting value change of input[type=text] in jQuery
- Javascript : array.length returns undefined
- Comparing dates in jquery
- Slide right to left?
- How do I send this form's output to a new WordPress page?
- Annoying “JQMIGRATE: Migrate is…” in console after update to WordPress 4.5
- Update jquery version
- Correct Method to run scripts with dependencies without enqueue?
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- Modify Custom Field in Media Library using JavaScript
- Loading jQuery With Two Fallbacks
- Moving jQuery to the footer without using de-register in WordPress
- Best approach for loading a sidebar Only if the screen max-width is >900px?
- Including jQuery in WordPress
- Comment form vaildation
- Enqueuing jQuery in plug-ins
- Prevent five different copies of jquery from being included on every page
- Script doesn’t load because of a javascript MIME type error
- javascript is not working on Event Submission?
- TinyMCE – TypeError: r is undefined
- WordPress audio player causing js error, mediaelementplayer is not a function
- Auto-detect javascript errors and warn theme user
- combining js scripts from a js newb [closed]
- Heartbeat API: How to access data already enqueued?
- How to get a value from PHP in Jquery through Ajax
- How to stop focus() in custom js from scrolling to footer?
- Removing jQuery from footer
- Use jQuery to conditionally hide elements in Quick Edit
- AJAX Loaded Glossary like Search results with links to other entries from custom table
- WordPress jquery files not being enqueued
- Trouble with WordPress Ajax Login System – 302
- Unexpected script loading order
- Problem passing id-specific objects to javascript via wp_localize_script
- I am trying to modify a plugin and am adding Jquery, but it does not seem to be executing
- FacetWP – conditionally display facet labels
- Creating a new div onclick wordpress+ajax
- Uncaught ReferenceError: jQuery is not defined . How do I define it correctly?
- Close Fancybox, sumbit form data and redirect
- Properly embed javascript into WP (using function.php) – doesn’t work?
- jQuery tabs plugin with callback to fetch data
- jQuery is not defined [closed]
- Nested Gallery Shortcode INTERMITTENTLY working
- Cherry Framework theme, JQuery is using HTTP not HTTPS
- JQuery UI not loading without explicit loading of jQuery
- Is it OK combined wp-include js, jquery, css? [closed]
- Including Older Version of jQuery for IE7/IE8
- JQuery load php – php file without the template
- Uncaught TypeError: Object # has no method ‘datepicker’ [closed]
- Making jQuery-based galleries with WordPress without a plugin?
- JS behavior differs depending on page tree [closed]
- Long contextual help needs two clicks to close
- How to make jquery slider to start afresh [closed]
- jQuery for Fade Preload Causes My Site Favicon to Disappear from Tab of Browser
- Bootstrap Carousel Slider – CSS & JS not working
- How to pull data from a table using wpdb?
- Is not using admin-ajax to ajax submissions okay?
- onclick jquery function not working in wordpress header file [duplicate]
- How can I add a new lib path without call each one on the header?
- Visual editor popover or placeholder
- Masonry – Can’t Find Variable imagesLoaded
- Custom button on admin page doesn’t trigger click event
- How to update scrollbar when using Jetpack’s Inifnite Scroller?
- Clear custom field when new tag is added
- WooCommerce – PrettyPhoto appending URL with #prettyPhoto
- Are you sure popup on Contact Form 7 [closed]
- change the icon of a custom post type in WordPress to use twitter boostrap
- Using jQuery toggle() in WordPress post to show/hide Tweet button?
- Call a Simple JQuery from within Flash
- Ajax request with jQuery without WP_ajax
- Change image on post title hover (more than one instance) – Jquery
- How to fire jQuery after $(window).on(‘load’)
- JQuery WordPress gallery [closed]
- JS file not loading [closed]
- How can insert JQuery in WordPress? [closed]
- Jquery in IE, fully messed up
- Theme variation conflict with jquery select2 dropdown
- Enqueued jQuery not working