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.
I recently recoded the slider so that i can add in my own images and links, however now the third image or link isn't appearing on the slider. Here is a copy of my code and the original.
Here is the original Slider Code:
Here is my updated code:
I don't quite know what is going on, nor can I find the problem in the code. Also my site is notquitefantasy.org if you would want to see the problem itself.
Thanks for any help!
Comments
Comment #1
b4ssm4st3r CreditAttribution: b4ssm4st3r commentedThe code, my mistake:
Here is the original Slider Code:
Here is my updated code:
Comment #2
Jettzilla CreditAttribution: Jettzilla commentedI'm having the same issue so I'm curious to see if this gets cleared up!
Comment #3
mcsolas CreditAttribution: mcsolas commentedMe too.
Comment #4
Jettzilla CreditAttribution: Jettzilla commentedSo, no one has any ideas how to fix this? This is kind of a weird thing going on and if you guys are in the same boat as me then you can't put your site public with the last slide not working. As far as I can tell the coding is all right, just not sure what's going on.
Thanks in advance for any help :)
Comment #5
radj CreditAttribution: radj commentedSame here! Adding a slide isn't as easy as I expected.
Comment #6
jorge.alves CreditAttribution: jorge.alves commentedHi Guys,
I am not a javascript expert, but I manage to fix it on myside editing line 12 (bluemasters.js)
from:
var imageSum = $(".image_reel img").size();
to:
var imageSum = $(".image_reel img").size() + 1;
just adding a +1 to line as I understand makes the last image fit the container, otherwise is shown below the class window (firebug)
Hope this helps :)
Jorge.Alves
Comment #7
Marcus 78 CreditAttribution: Marcus 78 commentedUsed the same solution with +1.
The new problem now is that the reel doesnt slide enough. It slides almost all the way but there is a gap that gets bigger for every slide it shows. This problem is only in IE ofcourse and in version 6. But since you guys have a similar problem i guess its the same issue here
Anybody else with that problem?
Comment #8
Jettzilla CreditAttribution: Jettzilla commentedHm, I tried the + 1 thing and it didn't change a thing. It's not coded wrong, i tried using the same picture in slide 2 that's working to test it and it still didn't show up. This is frustrating!
Comment #9
Jettzilla CreditAttribution: Jettzilla commentedok, so i'm just content keeping the names of the original images (slide-image-1...) and replacing them with my own images. it works fine as long as the names are the same--although I'll always be confused as to why it's ok with you recoding the names of the first 2 slider images and not the 3rd. Oh well, as long as there are pics up I'm happy!
so if anyone's still having trouble just try that
Comment #10
gtsopour CreditAttribution: gtsopour commentedI made an effort to write a simple documentation for Bluemaster's example slideshow implementation here http://drupal.org/node/1094328
Detailed instructions for the BlueMasters version 7.1.1 , you can read here http://wiki.morethanthemes.com/index.php?title=Blue_Masters_7.x
For any other questions or problems please leave a response
Comment #11
gtsopour CreditAttribution: gtsopour commented