Closed (fixed)
Project:
Dynamic display block
Version:
6.x-1.0-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2008 at 07:03 UTC
Updated:
13 Apr 2009 at 09:58 UTC
Hello, what am I missing? I have default settings on ddblock and jquery_update tried various combination of cache settings in 6.6
have installed on 2 sites different servers different themes etc. same result, all images in the folder are breifly displayed in a column on every page load.(see attached screenshot) site #1: http://f-150garage.com
as with most things the problems is most likely 'tween my ears.
great concept lots of potential thanks,
Jim
| Comment | File | Size | Author |
|---|---|---|---|
| all_images_dispalyed_on_page_load.jpg | 46.07 KB | jjcheno |
Comments
Comment #1
ppblaauw commentedThere are some workarounds for this problem:
Here is one:
In the CSS of the module add visibility:hidden to the contents div
With the CSS visibility setting the space for the contents div is reserved but the contents of the div and all child elements are not shown on the page.
To make the contents visible when the JavaScript starts to work add:
$script .= ".css('visibility', 'visible')\n";to the ddblock.module where the script is made just before the line:
$script .= ".addClass('ddblock-processed')\n";Hope this solution helps you solving your problem,
ppblaauw
Comment #2
jjcheno commentedYou nailed it! 100%
Thank you very much.
Regards,
Jim Chenoweth
Comment #3
jjcheno commentedComment #5
asak commentedI'm having a similiar issue, but i can't find this line in ddblock.modul:
$script .= ".addClass('ddblock-processed')\n";Has it been changed in the last versions?
My problem is that i'm using transparent png's for the slider, and the second the website loads ALL slides are images for a short moment, before the "show starts".
Should this method cover that issue as well?
Thanks!
Comment #6
asak commentedJust found this in ddblock.js, seems that line is there:
Comment #7
asak commentedAttached is a screen shot of what's happening.
The image shows two slides, when only one should be seen, and is what i see the second the site finished to load and before the slideshow starts. sometimes they are displayed like this, next to each other, and sometimes i see them all one on top the other.
I added the CSS line in this thread but it doesn't seem to help...
Ideas?
Could ajax loading change this?
A css magic trick?
Java voodoo?
Comment #8
ppblaauw commentedI assume this is for RC6 of the module. The CSS line is already there in RC6 to make the slides visible when the cycle plugin starts.
I think you forgot to attach the screenshot.
Slides should not be show next to each other, In the css they are not visible until the cycle plugin is started.
If you only want to start the slideshow later, so there is more time for the first and other images to load, you could add a delay so the slideshow starts later.
You can add the following in the Custom jQuery Cycle Plugin Settings:
The delay is in milliseconds, so this would be 2 seconds.
If you use big images, you could also use more optimized images, or use image cache presets to scale the images.
Do you have a link to the Internet Site?
Comment #9
asak commented@ppblaauw: just sent you a private message with a link to the site...
Sorry i can't post it here - but i'll keep this thread updated.
Comment #10
ppblaauw commentedI see the issue, never seen it before, but also did not try to use transparent images.
Can you try the delay, you can also use negative values -2000.
Please let me know if this works.
Don't have transparent images at the moment and have to go home.
Will try something tomorrow.