On 4 Sep 98, at 10:27, Brent Eades wrote:

> What I'm trying to figure out is how to make the display of the console 
> and accompanying text *conditional*; that is, if the field 'midifile' returns 
> a value other than null, display them, otherwise don't.  Can't seem to get 
> the syntax right...
> 
> Below is the Javascript that launches the MIDI file, and after that the 
> relevant HTML that displays the song name
> 
> <!--
> if(navigator.userAgent.indexOf("MSIE") != -1)
> document.writeln ('');
> else
> document.writeln ('<EMBED SRC="$BASEURL/$fields{'midifile'}" 
> AUTOSTART="true" HIDDEN="false" VOLUME="50" WIDTH="145" 
> HEIGHT="15" VOLUME="50" CONTROLS="smallConsole">');
> //-->

It seems as though you want to use javascript to read environment 
variables yet the page is program generated. Why not use the program 
that is generating the page to read and act on the environment 
variables? 

Here is a list of environment variables read by my server:

http://www.rede.com/cgi-bin/aboutserver.pl



____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to