PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_TreeMenu » Bug #2882

TreeMenu not displayed in browser

Details

Submitted2004-12-03 11:59 UTC
Frompatrick dot tissot at airbus dot com
StatusBogus
PackageHTML_TreeMenu
PHP Version5.0.2
OSwindows 2000
Roadmaps(Not assigned)

Comments

[2004-12-03 11:59 UTC] patrick dot tissot at airbus dot com

Description:
------------
I call a PHP page that contains an HTML_TreeMenu built from an XML file.
But nothing is displayed on my browser. However when I right click on the html page an select 'view source code' I can see that the tree is succesfully generated (see html code below), but it is not displayed: I got a white page.

I am on IE 6.0.2800.

Do you have any answer to my problem?
Do you think it is linked to my browser version (IE 6.0.2800)?

Thank you very much

Patrick TISSOT

Reproduce code:
---------------
<html>
<head>
<link rel="stylesheet" href="css/EDMS.css" type="text/css">
<link rel="stylesheet" media="screen" href="css/tree.css" />
<script src="javascript/TreeMenu.js" language="JavaScript" type="text/javascript" />
</head>
<body>

<script language="javascript" type="text/javascript">
objTreeMenu_1 = new TreeMenu("images/tree", "objTreeMenu_1", "pageFrame", "treeMenuDefault", true, false);
newNode = objTreeMenu_1.addItem(new TreeNode('MuST Home Page', 'loupe.jpg', 'StartPage.html', false, true, '', '', null));
newNode_1 = newNode.addItem(new TreeNode('Discipline 1', 'folder.gif', null, false, true, '', '', 'folder-expanded.gif'));
newNode_2 = newNode.addItem(new TreeNode('Discipline 2', 'folder.gif', null, false, true, '', '', 'folder-expanded.gif'));
newNode_3 = newNode.addItem(new TreeNode('Discipline 3', 'folder.gif', null, false, true, '', '', 'folder-expanded.gif'));
newNode_3_1 = newNode_3.addItem(new TreeNode('Function 1', 'folder.gif', null, false, true, '', '', 'folder-expanded.gif'));
newNode_3_1_1 = newNode_3_1.addItem(new TreeNode('Document 1', 'img-page.gif', null, false, true, '', '', null));
newNode_3_1_1_1 = newNode_3_1_1.addItem(new TreeNode('v1.0', 'pdfIcon.gif', 'document/document1.pdf', false, true, '', '', null));
newNode_4 = newNode.addItem(new TreeNode('Discipline 4', 'folder.gif', null, false, true, '', '', 'folder-expanded.gif'));

objTreeMenu_1.drawMenu();
objTreeMenu_1.writeOutput();
objTreeMenu_1.resetBranches();
</script></body>
</html>

Expected result:
----------------
The code abve should be displayed on the browser

Actual result:
--------------
The html code above is not displayed in my browser (IE 6.0.2800)

[2004-12-03 12:37 UTC] patrick dot tissot at airbus dot com

I just want to add that my problem comes from the IE version. Indeed I have accessed my PHP page (with the HTML_TreeMenu) from a browser IE 5.50.4522 and it works.

So what are the modifications to be done (on tree.js file or other file?) in order to have the tree displayed in IE 6.0.2800