Delayed appear when used inside toggle

More
10 years 1 month ago #21358 by przemhb
Hi,

I am experiencing a problem with SlideshowCK. I am using it on a initially hidden toggle which, when clicked, shows it's content. SlideshowCK module is inside the toggled content. When the toggle shows the content for the first time after page is loaded, SlideshowCK module is not shown and I have to wait a few seconds for it to load. I guess SlideshowCK stays hidden until the next photo is loaded after the toggle shows the hidden content.
For some computers it does not show at all, when the site is loaded and the toggle activated for the first time.
It should appear immediately as in the other case visitor may not see it at all, as he/she could navigate elsewhere.
Take a look at my live site and click "narzędzia" toggle to see it at work.
Could you be so kind and help me on the matter?
--
regards,
przemhb

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #21364 by ced1870
Hi
yes this has sense because the slideshow calculate the dimensions with javascript. At first it is hidden and I suppose that the toggled content have a zero height (then the calcul can be be ok)
there is no really solution for this, unless forcing the values for the slideshow dimensions with CSS
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #21368 by przemhb
Which particular element CSS style you mean?

Simply setting height from default 62% to 593px (in module options) only increases blank space occupied by a wrapper.
--
przemhb

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #21372 by ced1870
try something like
Code:
#camera_wrap_103 { height: 300px; width: 700px; }

values are given for example, set the one you want
CEd

Joomlack Webmaster and Developer
The following user(s) said Thank You: przemhb

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #21374 by przemhb
Thank you, that works.

The only thing that bothers me is responsiveness of such a solution. I guess I will have to add some more CSS to adapt it to the tablets and mobiles, right?

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #21376 by ced1870
try with the height in %

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.513 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1019 guests and no members online