M
martin weinberger
Hello all,
I have what is hopefully a simple question. I tried using a link statement
but for whatever reason is not working for me. I have my main webpage, call
it 'Test1.htm'. Inside of the file (page) I would like to "include", to use
a C/C++ terminology, some code located in a different file. Here is a
fragment:
**** Test1.htm ****
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>My Test Page</title>
<script language="Javascript">
ButtonFolder="../Buttons/";
</script>
<link href="../Buttons/BVBtn_Header.html" rel="Next" type="text/html" />
</head>
<body>
<a href="http://www.butterflyvista.com/"
onMousedown="ActiveImage('bvbtn_buynow')"
onMouseOver="ActiveOverImage('bvbtn_buynow')"
onMouseout="InActiveImage('bvbtn_buynow')"><img
src="../Buttons/bvbtn_buynow_up.gif" width="197" height="37" border="0"
alt="Buy Now" name="bvbtn_buynow"></a>
</body>
**** BVBtn_Header.html ****
<script language="JavaScript">
// JavaScript code codes here
</script>
If I include the file manually inside the main HMTL page, then everything
works. My problem is breaking the code up into two files. I thought that the
link statement
<link href="../Buttons/BVBtn_Header.html" rel="Next" type="text/html" />
would work, but it doesn't or I code it improperly. I'd appreciate any help
that you all can provide. Thanks in advance,
I have what is hopefully a simple question. I tried using a link statement
but for whatever reason is not working for me. I have my main webpage, call
it 'Test1.htm'. Inside of the file (page) I would like to "include", to use
a C/C++ terminology, some code located in a different file. Here is a
fragment:
**** Test1.htm ****
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>My Test Page</title>
<script language="Javascript">
ButtonFolder="../Buttons/";
</script>
<link href="../Buttons/BVBtn_Header.html" rel="Next" type="text/html" />
</head>
<body>
<a href="http://www.butterflyvista.com/"
onMousedown="ActiveImage('bvbtn_buynow')"
onMouseOver="ActiveOverImage('bvbtn_buynow')"
onMouseout="InActiveImage('bvbtn_buynow')"><img
src="../Buttons/bvbtn_buynow_up.gif" width="197" height="37" border="0"
alt="Buy Now" name="bvbtn_buynow"></a>
</body>
**** BVBtn_Header.html ****
<script language="JavaScript">
// JavaScript code codes here
</script>
If I include the file manually inside the main HMTL page, then everything
works. My problem is breaking the code up into two files. I thought that the
link statement
<link href="../Buttons/BVBtn_Header.html" rel="Next" type="text/html" />
would work, but it doesn't or I code it improperly. I'd appreciate any help
that you all can provide. Thanks in advance,