Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this message* Robert <sigzero@gmail.com>: > I am not sure where to begin. I have a site in Perl/TT that I am convertin g > 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. You mean Firefox, right? (Silly project kept changing names!) > 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" / I think your culprit is this link tag directly above -- it's not closed. -- Matthew Weier O'Phinney | mailto:matthew@garden.org Webmaster and IT Specialist | http://www.garden.org National Gardening Association | http://www.kidsgardening.com 802-863-5251 x156 | http://nationalgardenmonth.org
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.