Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: How to include one source file onload ???????


Message #1 by "George Tataryn" <gathome@s...> on Fri, 12 Jul 2002 00:35:37
once you've decided which one you need, you can use Document.Write to write 
the code into the window.

At 00:35 12/07/02 +0000, you wrote:

>I have a form that opens up a pop up window, depending on what form is 
>being used
>i need to include only one of the following source files, is there a way 
>to only include one
>of these in the pop up window code, i can get the name of the opener form 
>in the pop up window but
>i don't know how to only include one source, would i use if statements 
>with document.write, ???
>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/bdidjt1.js"><!--
>// --></SCRIPT>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/tasdjt1.js"><!--
>// --></SCRIPT>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/table.js"><!--
>// --></SCRIPT>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/baidjt1.js"><!--
>// --></SCRIPT>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/scldjt1.js"><!--
>// --></SCRIPT>
><SCRIPT LANGUAGE="JavaScript" SRC="./cgi-bin/wildjt1.js"><!--
>
>thanks for any help
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20



  Return to Index