-
- 1,842 Posts
You’re right Heliotrope,
IE doesn’t understand the children selector... it is so often used to make css hacks.
-
- 28 Posts
Also, the objective of the whole MODx project is to create a CMS that makes it easy to create validating and accessible web sites. Resorting to CSS hacks (or other hacks) is OK as long as you’re a developer working on your own private site. Doing the same on a customers site is less OK. There’s a good chance that things’ll break when people their update browsers or the CMS. If you’re the developer, you can bet your bottom dollar the customer will say it’s your fault. And (s)he’ll be right.
There is a bit of Javascript that makes IE behave more-or-less like a real browser:
https://sourceforge.net/project/showfiles.php?group_id=109983&package_id=119707
I’ve successfully used it to implement a remake of a framed site using "fixed" elements.
Then there is the "universal IE hack":
http://www.ibloomstudios.com/article7/
Unfortunately, like it or not, we will be stuck with either hacks or IE conditionals in our templates for a long, long time.
-
- 1 Posts
Since this cannot be solved by css and dropmenu’s standard features you might have to jump in the source.
I found a control which might be appropriate for your issue: [tt] $itsEmpty = ($isFolder && ($child[’template’] == ’0’));[/tt]
So when $itsEmpty is false, the current folder has children or is not a folder, just a document. In the "construction-line" of the outstring for those items you may add a class-string (hack) or introduce a new parameter as a variable for it (non-hack).
Hope this helps.
Quote from: ppaulousek at Jun 19, 2006, 06:31 PM
Ahem:
https://sourceforge.net/project/showfiles.php?group_id=109983&package_id=119707
contains a package of 21 files, apparently related to IE7. What should we do with this?
Um... read the README.txt file?