• Resolved chrishe

    (@chrishe)


    If there is an input item on a page with a slideslow, the slideshow transitions take away the focus, giving the user problems entering text.
    (This seems to occur all except Firefox).
    My specific problem was that users could not login to my site via the wp-members login widget, entering username and password.
    The “Hack” to fix this is basically to detect a click on the inputs and use that to pause the slideslow – so there are no transitions to take away the focus!.
    Add the following (in a .js file or within script tags)

    jQuery(document).ready(function() {
    	/* NOTE: to stop slideshow on ANY/ALL inputs on the page, just use:
    	 * jQuery(":input").click( function() {  jQuery(".gv_navPause").click(); } );
    	*/
    
    	/* stop slideshow when (wp-members) either login or password inputs get a click (do both in case login is auto-filled) */
    
    	if ( jQuery("#username, #password") &&  jQuery(".gv_navPause") ) {  // these elements DO exist!
    		jQuery("#username, #password").click(function() { 	//when either get a click
    			jQuery(".gv_navPause").click();			// click the slideshow Pause
    			//	alert('gv_navPause'); 			// a test line. If our code is working we get an alert!
    		});
    	}
    });

    https://wordpress.org/plugins/nextgen-galleryview2/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter chrishe

    (@chrishe)

    oops, forgot to mark as resolved!

    Thanks ChrisHe for taking your time to post the script.

    Thread Starter chrishe

    (@chrishe)

    You’re very welcome!
    Hopefully this will also help others, as the script above can be tweaked for any input(s) on the same page as the galleryview slideshow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Galleryview conflict with wp-members widget’ is closed to new replies.