Project

General

Profile

Actions

Bug #14165

closed

Bug in media/scripts/tmenu_layers.php

Added by Michael Stucki over 20 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2004-05-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.6.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

0000092-tmenu_layers.php.diff (2.08 KB) 0000092-tmenu_layers.php.diff Administrator Admin, 2004-05-14 20:25
Actions #1

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?

Actions #2

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.

Actions #3

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.

Actions #4

Updated by Ingo Renner over 16 years ago

could not be reproduced during Bug Day 07/2008

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF