Closed (fixed)
Project:
jCarousel
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 22:28 UTC
Updated:
13 Dec 2010 at 16:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
eft commentedIn the function jcarousel_add in jcarousel.module the skin style is added with the $type argument set to 'theme'. This has the effect of referencing the skin styles later than if it were set to 'module'. Would this be why IE is not referencing the skin styles properly?
Comment #2
eft commentedI found out the cause of my problem. IE does not recognize more than 30 style tags. Turning on CSS aggregation (/admin/settings/performance --> Turn on CSS Optimization) is the solution.
Hope this helps someone out there.
Comment #3
robloachYay IE! Maybe this will go away next year:
http://geeksmack.net/component/content/article/867-microsoft-ending-life...
Comment #5
maddentim commentedHi, this is exclusive to IE. I am having issues with overriding the styling in FF... I see my customizations in Firebug, but they are superceded by the module's css file. Or maybe I am doing something else wrong. Maybe I need to just make my own theme.
Comment #6
AdrianB commentedThis must be a bug.
As eft wrote in #1, starting on line 136 in
jcarousel.modulethere's this code:Why would a module use
themeinstead ofmodule?This caused
skin.cssto be loaded after theme css files and therefore you cannot override theskin.csswith your own css in your theme.Changing
themetomodulefixes this.This has nothing to do with IE afaik.
Please change this and release a new official release (as that would fix #655142: 6.x-2.x-dev Circular wrapping doesn't work ( for me ! ) as well).
Comment #7
AdrianB commentedI took the liberty to change to issue title.
Comment #8
AdrianB commentedIt just a change on one word, but here's a patch non the less. Please test.
(Be gentle, this is my first patch ever, hopefully I did it the right way :)).
Comment #9
AdrianB commentedComment #10
AdrianB commentedActually, there's two places to change in 6.x-1.x-dev, here's a new patch.
Comment #11
AdrianB commentedI think this patch actually helps, so I would very much like some kind of response from the maintainers.
Comment #12
quicksketchHi Adrian, sorry I didn't spend time looking at this patch, I've been working on merging Views Carousel and jCarousel together, which is now completed in the new 2.x branch. This problem does not exist there, I'd encourage you to try the new version (which will probably require some changes on your part), which shouldn't have this problem.
Comment #13
AdrianB commentedAh, I will do that. But just out of curiosity: Am I right that modules should use
drupal_add_css($skin_path, 'module');rather thandrupal_add_css($skin_path, 'theme');?Comment #14
quicksketchYes that's generally right. Some modules will add as "theme" to make it so that their CSS files come later than other CSS files, otherwise the order of the CSS files is determined entirely by the order that drupal_add_css() is called.