| Robert 2004-12-17, 3:59 pm |
| I am not sure where to begin. I have a site in Perl/TT that I am converting
to PHP/Smarty. I have a menuing system that is built using a chained
javascript. Using Perl/TT it works in both IE6 and Firebird 1.0 but the
PHP/Smarty version only works in Firebird.
If I look at the source of the page in IE everything is "loading" just not
displaying:
<html>
<head>
<title>Ellipse Reports » Home</title>
<link rel="shortcut icon" href="images/favicon.ico" />
<!--[if IE]>
<link href="css/ie_main.css" rel="stylesheet" type="text/css" />
<![endif]-->
<link rel="stylesheet" type="text/css" href="styles/main.css"
title="Default" /
<script language="javascript" src="js/chainedmenu.js"></script>
<script language="javascript" src="js/config.js"></script>
</head>
This is the form that the menu system resides in:
<div id="menu">
<form name="listmenu0">
<select name="firstlevel" style="width:195px;"></select>
<select name="secondlevel" style="width:195px;"></select>
<select name="thirdlevel" style="width:195px;"></select>
<input type="button" value="Go"
onclick="goListGroup(document.listmenu0.firstlevel,
document.listmenu0.secondlevel, document.listmenu0.thirdlevel)">
<input type="button" value="Reset"
onclick="resetListGroup('chainedmenu')">
</form>
</div>
I am pulling both of the sections in with the following:
{include file="header.tpl}
{include file="menu.tpl"}
Any suggestions as to why the Perl side works but the PHP side doesn't?
Robert
|