Bug #14165
closedBug in media/scripts/tmenu_layers.php
0%
Description
The file media/scripts/tmenu_layers.php should be the same as media/scripts/gmenu_layers.php except some small differences.
However there is one bigger difference which in fact causes a display bug.
The patch fixes the problem.
(issue imported from #M92)
Files
Updated by Robert Lemke over 20 years ago
I compared tmenu_layers.php and gmenu_layers.php in CVS version from today and the lines you mention are identical. So the problem seems to be solved, right?
Updated by Michael Stucki over 20 years ago
Sorry, my fault! The bug is in both files, I don't know why I thought it's just in one of them.
So the problem might still occur. There's just a little problem: I made some changes to my template and now I can't reproduce it anymore ;-)
However, I know the problem was there, and therefore I tried to find out what did change between TYPO3 3.5.0 and 3.6.0.
In 3.6.0, the line looks like this:
$item = '<div id="anchorID'.t3lib_div::shortmd5($this->I['uid'].'-'.$this->WMid).'" style="position:absolute;visibility:hidden;"></div><div id="itemID'.t3lib_div::shortmd5($this->I['uid'].'-'.$this->WMid).'" style="width:100%; height:100%;">'.$item.'</div>';
3.5.0 contained this line instead:
$item = '<div id="anchorID'.t3lib_div::shortmd5($this->I["uid"]."-".$this->WMid).'" style="position:absolute;visibility:hidden;"></div><div id="itemID'.t3lib_div::shortmd5($this->I["uid"]."-".$this->WMid).'" width="100%" height="100%">'.$item.'</div>';
As you can see, Kasper has replaced some of the double quotation marks with single ones, AND he has changed the width and the height definition from HTML to inline CSS.
Could this be the problem?
Since I cannot reproduce it I'm not sure, so I suggest that we keep this bug including this information until someone has the problem again. Then we'll see.
Updated by old_jacobs over 20 years ago
Why is the inline CSS necessary anyway? I don't see the point. I am using TYPO3 3.6.2 and the inline CSS destroys my screen design.
Example
CSS:
div#menu {
width: 300px;
}
div#menu div {
float: left;
}
HTML:
<div id="menu"></div>
Tested with IE 6 and Mozilla 1.7, it doesn't work. Instead of a horizontal menu I get a vertical menu because the menu elements span over the whole width of the father div tag.
Updated by Ingo Renner over 16 years ago
could not be reproduced during Bug Day 07/2008