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:

Only local images are allowed.
Only local images are allowed.
Only local images are allowed.
Our Portfolio
Creation of Beaches
About iPadMasters
1
2
3

Here is my updated code:

Only local images are allowed.
Only local images are allowed.
Only local images are allowed.
Forums
Some Clarifications
A Few Guidelines
1
2
3

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

b4ssm4st3r’s picture

The code, my mistake:
Here is the original Slider Code:

 <div class="main_view">
<div class="window">
<div class="image_reel">
<a href="?q=node/1"><img src="sites/all/themes/bluemasters/images/slide-image-1.jpg"></a>
<a href="?q=node/2"><img src="sites/all/themes/bluemasters/images/slide-image-2.jpg"></a>
<a href="?q=node/3"><img src="sites/all/themes/bluemasters/images/slide-image-3.jpg"></a>
</div>
<div class="descriptions">
<div class="desc" style="display: none;">Our Portfolio</div>
<div class="desc" style="display: none;">Creation of Beaches</div>
<div class="desc" style="display: none;">About iPadMasters</div>
</div>
</div>

<div class="paging" style="display: block;">
<a rel="1" href="#" class="">1</a>
<a rel="2" href="#" class="">2</a>
<a rel="3" href="#" class="">3</a>
</div>
</div> 

Here is my updated code:

 <div class="main_view">
<div class="window">
<div class="image_reel">
<a href="http://notquitefantasy.info/forum"><img src="sites/all/themes/bluemasters/images/slide-image-1.jpg"></a>
<a href="http://notquitefantasy.info/some-clarification"><img src="sites/all/themes/bluemasters/images/slide-image-2.jpg"></a>
<a href="http://notquitefantasy.info/guidelines"><img src="sites/all/themes/bluemasters/images/slide-image-3.jpg"></a>
</div>
<div class="descriptions">
<div class="desc" style="display: none;">Forums</div>
<div class="desc" style="display: none;">Some Clarifications</div>
<div class="desc" style="display: none;">A Few Guidelines</div>
</div>
</div>

<div class="paging" style="display: block;">
<a rel="1" href="#" class="">1</a>
<a rel="2" href="#" class="">2</a>
<a rel="3" href="#" class="">3</a>
</div>
</div> 
Jettzilla’s picture

I'm having the same issue so I'm curious to see if this gets cleared up!

mcsolas’s picture

Me too.

Jettzilla’s picture

So, 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 :)

radj’s picture

Same here! Adding a slide isn't as easy as I expected.

jorge.alves’s picture

Hi 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

Marcus 78’s picture

Used 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?

Jettzilla’s picture

Hm, 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!

Jettzilla’s picture

ok, 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

gtsopour’s picture

I 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

gtsopour’s picture

Assigned: Unassigned » gtsopour
Category: bug » support
Status: Active » Closed (fixed)
Issue tags: +Bluemasters theme, +bluemasters