Fancy slide is a great slide show module. Its easy to use and it does what you might expect. There is only one thing. The background of a customers site has a gradient and the overlaying images (objects) need to be transparent. So I made all the hard work of making masks for each object in the images and save the images as png with tranparency.
The first time you enter the page with the fancy slide block, you see all the images of the slide show one above the other. While fading, the images fade out one after another. After all images in the slide show are faded once, its working great. Its just the first look at the site block.
I really like Fancy slide and hope, it could be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | fs-allimages.patch | 1.37 KB | jackwestbrook |
Comments
Comment #1
bamakojeff commentedI see the same thing. One way to solve it is to hide all but the first image at creation if we are using fade or no animation. You can do this by editing the file "sites/all/modules/fancy_slide/js/fancy_slide.js" and go to line # 127. It starts a block of code which looks like this:
Insert the two extra lines you see in the next block:
This will go through and hide all but the first image. Then the animation will show them as needed or you can click on the controls to show them. But you won't see the images stacked on top of each other if they are different sizes.
I have no idea if this will really mess anything else up. :-) My quick tests on our sites don't show any problems, but "YMMV", as they say.
HTH
Comment #2
jackwestbrook commentedHi there,
Can you tell me a little more about the setup of both your sites or even provide links? Are you using jQuery 1.2 or 1.3? What other modules are enabled on your site.
bamakojeff - I'll look at your fix and try to work something into the next release. I'm currently rewriting all the fancyslide js. You mentioned using different sized images... this wasn't something I considered in the original writing of the js as we'd always created slideshows with imagecache.
Cheers,
Jack
Comment #3
chiefkong commentedHi jackwestbrook,
I am using jQuery 1.2.6 (along with the drupal module 6.x-1.3) and the other modules are:
Content Access, Administration menu, CCK, FileField, ImageField, Internationalization, 'me' Aliases, CKEditor, Nice Menus, Page Title, Shadowbox and of course Views.
Frank
Comment #4
jackwestbrook commentedHey guys,
I've taken a look at this and bamakojeff was spot on with where the issue was. To save on processing though I've implemented it slightly differently.
A patch is attached! Let me know if it does / doesn't fix things for you.
Cheers,
Jack
Comment #5
chiefkong commentedHi jackwestbrook,
I applied the patch and it seems to work with PNG files, although the first image seems to stay 3 times longer then the other PNGs.
Frank
Comment #6
extensive commentedUse Css Trick for this
.block-fancy_slide li {
background-image:url("images/bodyBg.jpg") !important;---------------your bg image of banner area
background-position:0 0px !important;-------------------------according bg
background-repeat:no-repeat;
}
this solve your problem