Closed (outdated)
Project:
Collapsiblock
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2012 at 23:24 UTC
Updated:
24 Nov 2017 at 11:45 UTC
Jump to comment: Most recent
Comments
Comment #1
kalani commentedStill having the same issue. I've installed Boost and enabled the cache for blocks and css, but still the block shows then collapses once page is completely loaded. Any suggestions?
Comment #2
dabro commentedJust add this to your stylesheet -
Where region is where your collapsible block is located, I had a special region at the top of the page. Set the block content to not display by default, let the javascript change the display properties of the block on click. It's hard to believe it's this simple but it seems to have worked for me. It may effect other behaviors with this module but solved the flashing problem for my use. YMMV
Comment #3
dabro commentedChange Title Back
Comment #4
miccelito commented@dabro
But that would affect all .content tags within the particular region.
Depending on what content you would have within a collapsiblock (if it's just to display text and not i.e form), maybe you would consider having a combination of click and hover effect - which also would get ride of the annoying "On page load block is visable for a second" by adding this to your themed css for the block (#YOURBLOCK means the id of the block):
Comment #5
darvanenVersion 6 no longer supported, please reopen if you find this issue with a currently supported version.