Server Side Include bug
hi,
i have following code in 1 webpage:
<td width="43%">
<!--#include file="./common/dropdown.html" -->
</td>
and have dropdown file in ./common directory conains:
<div align="right"><img src="./images/headers/link.gif" alt="link" width="113" height="27">
<select name="select1" size="1" class="dropback">
<option value="./a.shtml">a</option>
</select>
<input type="button" value="go" onclick="jumptolink(document.form1.select1)" name="button">
</div>
and have file contains:
<td width="41%">
<!--#include file="./common/dropdown.html" -->
</td>
they both wrapped in form called 'form1', reason, 1st call works fine, 2nd doesnt. 2nd 1 nothing. loads drop down fine.
help!
i have following code in 1 webpage:
<td width="43%">
<!--#include file="./common/dropdown.html" -->
</td>
and have dropdown file in ./common directory conains:
<div align="right"><img src="./images/headers/link.gif" alt="link" width="113" height="27">
<select name="select1" size="1" class="dropback">
<option value="./a.shtml">a</option>
</select>
<input type="button" value="go" onclick="jumptolink(document.form1.select1)" name="button">
</div>
and have file contains:
<td width="41%">
<!--#include file="./common/dropdown.html" -->
</td>
they both wrapped in form called 'form1', reason, 1st call works fine, 2nd doesnt. 2nd 1 nothing. loads drop down fine.
help!
the include syntax should -
<!--#include file="../common/dropdown.html" -->
or -
<!--#include file="common/dropdown.html" -->
(depending on location of file)
i believe.
> both wrapped in form called 'form1', reason,
> 1st
> call works fine, 2nd doesnt. 2nd 1 nothing.
> loads
> drop down fine.
i don't understand paragraph. 2nd 1 nothing, loads
drop down fine?
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"rudei" <webforumsuser@macromedia.com> wrote in message
news:edueh1$h8o$1@forums.macromedia.com...
> hi,
>
> have following code in 1 webpage:
>
> <td width="43%">
> <!--#include file="./common/dropdown.html" -->
> </td>
>
> , have dropdown file in ./common directory conains:
>
> <div align="right"><img src="./images/headers/link.gif" alt="link"
> width="113"
> height="27">
> <select name="select1" size="1" class="dropback">
> <option value="./a.shtml">a</option>
> </select>
> <input type="button" value="go"
> onclick="jumptolink(document.form1.select1)" name="button">
> </div>
>
> , have file contains:
>
> <td width="41%">
> <!--#include file="./common/dropdown.html" -->
> </td>
>
> both wrapped in form called 'form1', reason,
> 1st
> call works fine, 2nd doesnt. 2nd 1 nothing.
> loads
> drop down fine.
>
> help!
>
<!--#include file="../common/dropdown.html" -->
or -
<!--#include file="common/dropdown.html" -->
(depending on location of file)
i believe.
> both wrapped in form called 'form1', reason,
> 1st
> call works fine, 2nd doesnt. 2nd 1 nothing.
> loads
> drop down fine.
i don't understand paragraph. 2nd 1 nothing, loads
drop down fine?
--
murray --- icq 71997575
adobe community expert
(if *must* email me, don't laugh when so!)
==================
http://www.dreamweavermx-templates.com - template triage!
http://www.projectseven.com/go - dw faqs, tutorials & resources
http://www.dwfaq.com - dw faqs, tutorials & resources
http://www.macromedia.com/support/search/ - macromedia (mm) technotes
==================
"rudei" <webforumsuser@macromedia.com> wrote in message
news:edueh1$h8o$1@forums.macromedia.com...
> hi,
>
> have following code in 1 webpage:
>
> <td width="43%">
> <!--#include file="./common/dropdown.html" -->
> </td>
>
> , have dropdown file in ./common directory conains:
>
> <div align="right"><img src="./images/headers/link.gif" alt="link"
> width="113"
> height="27">
> <select name="select1" size="1" class="dropback">
> <option value="./a.shtml">a</option>
> </select>
> <input type="button" value="go"
> onclick="jumptolink(document.form1.select1)" name="button">
> </div>
>
> , have file contains:
>
> <td width="41%">
> <!--#include file="./common/dropdown.html" -->
> </td>
>
> both wrapped in form called 'form1', reason,
> 1st
> call works fine, 2nd doesnt. 2nd 1 nothing.
> loads
> drop down fine.
>
> help!
>
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment