Needs review
Project:
Dynamic display block
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2009 at 04:22 UTC
Updated:
14 Feb 2011 at 01:20 UTC
Jump to comment: Most recent
Comments
Comment #1
ppblaauw commentedI could not find the fading issue on your site, but maybe you changed the slide text effect to slideup to make your slideshow also work in IE.
Yes, It's not easy to make everything work in IE.
Please let me know if this 'workaround' is good enough for you.
Comment #2
oneiropolos commentedYes, I had to change it, because from what I've seen fading to the transparent png causes IE7 problems
I was searching through the internet for that, finding http://www.nabble.com/Transparent-png-fade-bug-IE7-td17394559s27240.html among others. It hasn't anything to do with ddblock, it seems to be a stupid IE bug. There are some "solutions" like wrapping the fading element in a div and giving that a background-color or sth like that, though I was not able to implement that (my coding abilities are extremely limited for now). Sliding up-down works although it involves a lot of movement which can be tiring, fading would be better. Anyway that's a small detail for such an incredible module.
One more question, maybe offtopic but small :)
I want to change "Read more...", "prev", "next" to sth in greek language, but when i go to $slider_items[$key1]['slide_read_more'] = l('more...', 'node/' . $result->nid); intemplate.php and give "more..." a greek string like 'Συνέχεια' then this is not diplayed :(
Thank you again for this great module!!!!!!!!!!!
cheers
Vagelis
Comment #3
ppblaauw commentedIf you make the before effect direct = 0 and the after effect quicker it looks already better.
I tried some more things, also disabling css slide-text settings by making the slide-text container in the configuration page div.slide-text1. This causes the background of the slide text to stay transparent, the slidetext to fade if your slide effect is fade. Also looks good in IE7. You can give this a try.
I copied the string you have: 'Συνέχεια' to my preprocess function for the readmore button and it works perfectly.
Also changing prev and next in the file: ddblock-cycle-pager-content-upright20.tpl.php to the string: 'Συνέχεια' works ok.
Hope this helps you further. Please let me know.
Comment #4
oneiropolos commentedthank so very much! Fading effect works great now!!!!!!!
As for the greek strings, they don't show up (meaning they show as chinese symbols, boxes e.t.c.) neither in the "read more..." section, nor in the "prev", "next". I guess this could have sth to do with character encoding? when I change the character encoding of the browser to "greek" the greek strings show normally although the whole site is screwed up. :)
Comment #5
ppblaauw commentedThe next version of the ddblock module will contain translatable text for the prev, next and read more text.
Comment #6
xurizaemonWe had a similar issue with IE7 and a background which was transparent or partially opaque. IE7 would start with the correct background colour but then the element which faded in would fade to a solid white background. In IE7 the element showed a style declaration applied via JS with background-color: #fff on the element.
We resolved this by overriding the background for IE7 (only) with one which solid; the misbehaviour was resolved.
Fortunately we didn't have to worry about IE6, as the site in question already tells people using that browser that they are just being plain silly.
EDIT: Just to be absolutely clear - this was deceptive to debug for me, because the issue (in this case) affected fadeIn() of a transparent element on a transparent background, and the fix was to remove the transparency on the background - not the foreground.
Comment #7
Anonymous (not verified) commentedHello-
I am having this same problem. My dynamic display block is showing in IE with a solid white background. When it is fading in, it seems to show everything but then it is quickly covered with the white box. I have tried the ideas in this posting but it hasn't helped at all. I am at a loss as to how to continue to troubleshoot this.
My site is www.tlslearning.com and the dynamic display block is on the front page.
Thank you!
Tara
Comment #8
xurizaemonI identified the source of the white background issues today -
-- from js/jquery.cycle.all.min.js in clearTypeFix.getBg() (also found in views_slideshow_ddblock module).
The white colour is selected by this piece of code when no background-color is supplied. Assigning a background-color to the element which fades to white should cause it to fade to the colour you select, which allows you to reduce the visual artefacts.
So in the end I identified two ways to solve the problem.
1. If using a solid or flat background colour, just set background-color on the element which gets faded to white. You can watch the CSS properties change in the IE Developer Toolbar and then specify the background colour for that element in your CSS. Results may vary with this approach, but if your background isn't solid white, it's a step in the right direction at least.
2. If using a textured or non-flat background, you need to replace the background of your transparent foreground element with a non-transparent background. See below.
I got pretty frustrated because my results were so irregular (and working with IE makes me despondent with such speed), so I ended up doing something like this below - repeating the background-image assignments for several elements until the fade behaved as expected. I could probably have removed the IE assignments for one or several of these, but there's no additional cost to the viewer and it would have been an additional cost to my client for me to test thoroughly; I left it as is. Your theme and templates will differ, so these class names won't work for you - but they should provide a pointer in the right direction.
Would like to suggest that this be considered for module documentation somewhere, as it seems this is something which is affecting a few people. For that reason I'm changing the title and category to a feature request for docs.
Please update status accordingly if you find my suggestions here don't solve the issue for you.
Comment #9
crobicha commentedThank you grobot, I was not able to follow your solution exactly as I needed a transparent background but you got me looking in the right place. After studying jquery.cycle I saw that the code in the function you quoted above is being called several lines below
I simply commented out this line as all my backgrounds for this ddblock were transparent and that did the trick.