Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi, I'm using two types of slideshow. First is text + image and second text + youtube video. When I check Pause on click both cases work. The same is it for Pause on hover. But when I check both checkboxes (Pause on click and Pause on hover together) it don't work - no one of them. I think it should work together, because I need stop text + image on hover and text + video on click.
Here is my Drupal.settings:
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","ajaxPageState":{"theme":"port","theme_token":"x9IxBcgPRkrLPZ2qjz05r0xlFoaiimgShTDhTiGDmic","js":{"0":1,"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"misc\/jquery.cookie.js":1,"public:\/\/languages\/cs_9Cqn1nvs52JkPJaIJyGyAjzHF2Guw09SsyDkCEDtSDI.js":1,"sites\/all\/libraries\/colorbox\/colorbox\/jquery.colorbox-min.js":1,"sites\/all\/modules\/colorbox\/js\/colorbox.js":1,"sites\/all\/modules\/colorbox\/js\/colorbox_load.js":1,"sites\/all\/modules\/colorbox\/js\/colorbox_inline.js":1,"sites\/all\/libraries\/cufon\/cufon-yui.js":1,"sites\/all\/libraries\/cufon-fonts\/Calibri_400-Calibri_700-Calibri_italic_400.font.js":1,"sites\/all\/modules\/cufon\/js\/cufon-drupal.js":1,"sites\/all\/modules\/views_slideshow\/js\/views_slideshow.js":1,"sites\/all\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/js\/views_slideshow_cycle.js":1,"sites\/all\/themes\/port\/jquery-cycle.js":1,"modules\/toolbar\/toolbar.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/comment\/comment.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/ckeditor\/ckeditor.css":1,"sites\/all\/libraries\/colorbox\/example1\/colorbox.css":1,"sites\/all\/modules\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/views_slideshow\/contrib\/views_slideshow_cycle\/views_slideshow_cycle.css":1,"sites\/all\/modules\/views\/css\/views.css":1,"sites\/all\/themes\/port\/reset.css":1,"sites\/all\/modules\/views_slideshow\/views_slideshow_controls.css":1,"modules\/shortcut\/shortcut.css":1,"modules\/toolbar\/toolbar.css":1,"sites\/all\/themes\/port\/style.css":1,"sites\/all\/themes\/port\/print.css":1,"sites\/all\/themes\/port\/fix-ie.css":1}},"colorbox":{"transition":"elastic","speed":350,"opacity":"0.85","slideshow":false,"slideshowAuto":false,"slideshowSpeed":2500,"slideshowStart":"","slideshowStop":"","current":"{current} z {total}","previous":"\u00ab P\u0159edchoz\u00ed","next":"Dal\u0161\u00ed \u00bb","close":"Zav\u0159\u00edt","overlayClose":true,"maxWidth":"100%","maxHeight":"100%","__drupal_alter_by_ref":["sites\/all\/libraries\/colorbox\/example1"]},"cufonSelectors":[{"selector":"#page-title","options":{"enabled":1,"fontFamily":"Calibri","hover":1}},{"selector":"#middle-banner .views-field-title","options":{"enabled":1,"fontFamily":"Calibri","hover":1}},{"selector":".block .title","options":{"enabled":1,"fontFamily":"Calibri","hover":1}}],"viewsSlideshow":{"slideshow_banner-block_1":{"methods":["viewsSlideshowPagerFields","viewsSlideshowControlsText","viewsSlideshowSlideCounter","viewsSlideshowCycle"],"paused":0}},"viewsSlideshowCycle":{"#views_slideshow_cycle_main_slideshow_banner-block_1":{"num_divs":4,"id_prefix":"#views_slideshow_cycle_main_","div_prefix":"#views_slideshow_cycle_div_","vss_id":"slideshow_banner-block_1","effect":"scrollHorz","transition_advanced":1,"timeout":5000,"speed":400,"delay":0,"sync":1,"random":0,"pause":1,"pause_on_click":1,"start_paused":0,"remember_slide":0,"remember_slide_days":1,"pause_when_hidden":0,"pause_when_hidden_type":"full","amount_allowed_visible":"","nowrap":0,"fixed_height":0,"items_per_slide":1,"wait_for_image_load":1,"cleartype":1,"cleartypenobg":1,"advanced_options":"{}","action_advanced":1}},"tableHeaderOffset":"Drupal.toolbar.height"});
//--><!]]>
Tested in Firefox and Chrome. Firebug doesn't show any errors.
Site where you can see it is http://beta.port-teplice.cz.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1074620-d7.patch | 942 bytes | redndahead |
Comments
Comment #1
redndahead CreditAttribution: redndahead commentedSo I am able to get it to pause on hover just fine when both are selected. What it sounds like is you would like pause on click to take precedence over starting the slideshow when you stop hovering. I committed this patch that should take care of it.