httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Fellows <lfell...@4lane.com>
Subject Re: making .js javascript files work on apache 2.0.35
Date Wed, 01 May 2002 17:31:38 GMT
Adon,

  The script sample you show is client side, not server-side js.  It is
up to the browser to render this.  What is not working?




On Wed, 2002-05-01 at 13:25, Adon Cook wrote:
> okay everyone I am a total newbie need HELP.  I am changing webservers from 
> a Xitami to apache.  Currently i have some .js files that are utilized by 
> my webpages to display a dynamic(i belive serverside javascript?!?) menu on 
> all pages.
> 
> I have a bare-bones linux 7.1 OS.  What do i need to install.  Do i need 
> Tomcat?  Jserv?  JDK?
> 
> help!  =)
> 
> adon
> 
> sample html that i am using:
> 
> <script language="javascript"><!--
> if ((navigator.appName == "Microsoft Internet Explorer") && 
> (parseInt(navigator.appVersion) >= 4)){ document.write('<SCRIPT 
> language="javascript" src="/menu_dynamic.js"></script>
> </head>
> 
> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" 
> bgcolor="#FFFFFF"
> background="/images/template_background.gif"
> onLoad="toggle('homeMenu'); highlight('index')">
> 
> <p>')} else {document.write('<script language="javascript" 
> src="/menu_static.js"></script>')}
> //--&gt;<!--webbot bot="HTMLMarkup" startspan --></SCRIPT><!--webbot

> bot="HTMLMarkup" endspan
> --> </p>
> 
> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
>    <tr>
>      <td width="250" height="80"><img src="/images/template_topleft_nologo.gif"
>      width="250" height="80" border="0" hspace="0" vspace="0"></td>
>      <td width="100%" height="80" valign="top" align="left"><img
>      src="/images/template_top.gif" width="100" height="80" hspace="0" 
> vspace="0"></td>
>    </tr>
>    <tr>
>      <td width="250" height="100%" valign="top" align="left"><img
>      src="/images/template_left.gif" width="250" height="150" hspace="0" 
> vspace="0"><br>
>      <script language="javascript"><!--
> writemenu();
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message