HI everyone,
First of all, thanks for the slideshow module, it's great to use and very straightforward to set up :)
I have a problem however that not all the effects work. Fade does, horizontal scroll doesn't, grow does, it seems very random. It's about 50:50 on the working/not working effects.
On the not working ones, I get no slides at all, just a blank, the working effects work as expected.
Maybe it's a css issue? I will edit the css later and try again.
All this lot are loaded up on my homepage, so maybe there's a conflict?
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/jquery.js?v=1.4.4"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/jquery.once.js?v=1.2"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/drupal.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.core.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.widget.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.mouse.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.draggable.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.droppable.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/misc/ui/jquery.ui.sortable.min.js?v=1.8.7"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/modules/contextual/contextual.js?v=1.0"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/modules/mollom/mollom.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/modules/views_slideshow/js/views_slideshow.js?lxnfq6"></script>
<script type="text/javascript" defer="defer" src="http://www.swcarrey.co.uk/sites/all/modules/admin_menu/admin_menu.js?lxnfq6"></script>
<script type="text/javascript" defer="defer" src="http://www.swcarrey.co.uk/sites/all/modules/admin_menu/admin_menu_toolbar/admin_menu_toolbar.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/modules/context/plugins/context_reaction_block.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/libraries/jquery.cycle/jquery.cycle.all.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/libraries/json2/json2.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/views_slideshow_cycle.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/themes/omega/omega/js/jquery.formalize.js?lxnfq6"></script>
<script type="text/javascript" src="http://www.swcarrey.co.uk/sites/all/themes/omega/omega/js/omega-mediaqueries.js?lxnfq6"></script>
<script type="text/javascript">
If anyone could help out to get these effects working, that would be brilliant.
Sam.
Comments
Comment #1
samwillc CreditAttribution: samwillc commentedThis is a list of what does/doesn't work, I wanted to use slideX but sadly, that's one of the ones that doesn't work for me.
none - yes
blindX - no
blindY - no
blindZ - no
curtainX - yes
curtainY - yes
fade - yes
fadeZoom - yes
growX - yes
growY - yes
scrollUp - no
scrollDown - no
scrollLeft - no
scrollRight - no
scrollHorz - no
scrollVert - no
shuffle - yes
slideX - yes (but no slide)
slideY - yes
toss - yes
turnUp - yes
turnDown - yes
turnLeft - yes
turnRight - yes
uncover - no
wipe - no
zoom - yes
Maybe the above will help?
Sam.
Comment #2
samwillc CreditAttribution: samwillc commentedAfter a bit of digging I found turning OFF the advanced effects generated from json2 makes all effects work as normal.
This is a problem as I need the inline height/width stripped out to make my slider responsive, so json2 is required.
...unless I override the inline styles. Which can be done in css, but would have to test.
Sam.
Comment #3
samwillc CreditAttribution: samwillc commentedWell, I managed to get all the effects working (as I said) by disabling the json2 library.
So now all the effects work, but on browser resize (narrower) it takes a page refresh in order to get the smaller slideshow.
containerResize in json2 worked well without needing the page refresh on resize, but catch 22 situation of when containerResize is on, not all the effects work for me. I know it wouldn't matter if someone was on your site, as they probably wouldn't site there resizing their browser window, but on a mobile it would matter as if a user went to landscape orientation, then the slideshow would remain as small as it was on portrait.
Bit of a mystery.
Sam.
Comment #4
samwillc CreditAttribution: samwillc commentedOk, so json2 is not needed in my case at all as no div heights or widths are in my source code. Not sure why, maybe the views update had something to do with it.
So my resulting (a trimmed version - I have 3 slides total and a pager which are not below) html is:
and the accompanying css in my 3 different stylesheets:
Media query 1 - normal
Media query 2 - narrow
Media query 3 - all (including mobile)
I hide the slideshow for mobile as (a) it looks rubbish that small and (b) if my visitors are anything like me, they wont sit there watching a slideshow, when on mobile I just want info quickly.
It resizes to my set height/width as I would like in firefox, chrome, opera, safari and IE9. Also works fine in IE7 and IE8 (no resize).
I don't really think a fully responsive slideshow is particularly feasable right now i.e. it gets smaller pixel by pixel as you change the browser size, like on max-width:100% for inline images. I find personally it works just fine having a set size for different media queries and invisibe on mobile.
I hope this will help someone else.
Sam.
Comment #5
janton CreditAttribution: janton commentedI have the same problem, the exact same effects don't work or do work..! but then in drupal6, unfortunately i don't use json2... but i will try to find out what javascript is killing the effect! I hope i can disable them 1 by 1 with Firebug in Firefox.. never tried it.
Comment #6
janton CreditAttribution: janton commentedIn my case it was (after 6 hours searching...) the CSS!!! so keep in mind this also could be the issue!
css code:
position: absolute;
top: 0;
left: 0;
z-index: 1;
was the issue for me! I will need to find what isn't allowed..
I hope i help somebody also, it took me more then the half day...
Comment #7
samwillc CreditAttribution: samwillc commentedYou can check out my slider here (not a shameless promote btw):
www.swcarrey.co.uk
Look for:
/* ==========SLIDESHOW CSS STYLES========== */
in
(1) global.css,
(2) custom-theme-alpha-default-narrow.css
(3) custom-theme-alpha-default-normal.css
Use web developer or firebug to check out the css, I haven't aggregated it so it's easy to see what's going on. Works perfectly with all the effects (it's responsive for wider, narrow and small screens - resize window). I use no json2 as it is not required.
I never found the css to cause the slider to not work, that was json2 doing that for me. I mean, if it works with one effect, it should work with all of them. The images should actually display without any css, just wont look as nice, the effects will still work though.
Sam.
Comment #8
oleonard CreditAttribution: oleonard commentedCan you elaborate on "turning OFF the advanced effects generated from json2?" And how does this relate to inline height/width?
Comment #9
samwillc CreditAttribution: samwillc commentedHi, I can't remember exactly but I think originally, views slideshow would put inline height and width measurements in the source code. This fixed size caused problems and needed to be removed via json in order to then style the slideshow via css.
I believe this is not a problem anymore. Also, there are modules such as flexslider that I have heard many people saying takes all the leg work out of manually resizing with css and media queries.
I do not have the json library installed on my slideshow and it works as expected.
Sam.
Comment #10
NickDickinsonWildelooks to have been fixed.