To see your ASP tags (as markers) in Design view turn on Show All using [Ctrl][*]
But since all your td content is ASP code the html is empty so you will only see an empty table in design view
To see your static html (and thus bne ablke to edit it normally) in design view rewrite your code
(links will appear to be doubled only in design view because of the If statements )
From:
<tr>
<td id="home">
<% If Instr(Request.ServerVariables("SCRIPT_NAME"), "indexx2.shtml") <> 0 Then
response.write "<img src=""images/nav_home_f3.jpg"" alt=""home"" name=""home"" width=""58"" height=""17"" border=""0""
id=""home"" longdesc=""Home page"" />"
Else
response.write "<a href=""index.shtml""><img src=""images/nav_home.jpg"" alt=""home"" name=""home"" width=""58"" height=""17""
border=""0"" id=""home"" longdesc=""
http://home.html"" onmouseover=""MM_swapImage('home','','images/nav_home_f2.jpg',1)""
onmouseout=""MM_swapImgRestore()"" /></a>"
End If %>
</td>
</tr>
To:
<tr>
<td id="home">
<% If Instr(Request.ServerVariables("SCRIPT_NAME"), "indexx2.shtml") <> 0 Then %>
<img src="images/nav_home_f3.jpg" alt="home" name="home" width="58" height="17" border="0" id="home" longdesc="Home page" />
<% Else%>
<a href="index.shtml"><img src="images/nav_home.jpg" alt="home" name="home" width="58" height="17" border="0" id="home"
longdesc="
http://home.html" onmouseover="MM_swapImage('home','','images/nav_home_f2.jpg',1)" onmouseout="MM_swapImgRestore()" /></a>
<% End If %>
</td>
</tr>
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________
|
|
| "dgm" wrote:
|
| > I cannot see the design views of SOME of my .asp file in Frontpage 2003. Is
| > there a property setting to hide design views? My code is there, in code
| > view. Pressing the "design " tab gets me a blank white page on some files
| > and the table outline only in other .asp files. I do not want to only work
| > only in code. The "preview" only shows a blank white page also. What can I
| > do to see the pages in design view? Also, is there a way I can see the
| > index.asp file with all the includes showing?
|
| <div id="sidenav">
| <table id="navtable" border="0" cellpadding="0" cellspacing="0">
| <tr>
| <td id="home">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "indexx2.shtml") <> 0
| Then
| response.write "<img src=""images/nav_home_f3.jpg"" alt=""home""
| name=""home"" width=""58"" height=""17"" border=""0"" id=""home""
| longdesc=""Home page"" />"
| Else
| response.write "<a href=""index.shtml""><img
| src=""images/nav_home.jpg"" alt=""home"" name=""home"" width=""58""
| height=""17"" border=""0"" id=""home"" longdesc=""
http://home.html""
| onmouseover=""MM_swapImage('home','','images/nav_home_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="aboutCamp">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "aboutCamp.shtml") <>
| 0 Then
| response.write "<img src=""images/nav_aboutCamp_f3.jpg"" alt=""about
| the camp"" name=""aboutCamp"" width=""138"" height=""18"" border=""0""
| id=""aboutCamp"" longdesc=""
http://aboutcamp.html"" />"
| Else
| response.write "<a href=""aboutCamp.shtml""><img
| src=""images/nav_aboutCamp.jpg"" alt=""about the camp"" name=""aboutCamp""
| width=""138"" height=""18"" border=""0"" id=""aboutCamp""
| longdesc=""
http://aboutcamp.html""
| onmouseover=""MM_swapImage('aboutCamp','','images/nav_aboutCamp_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="progSched">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "progSched.shtml") <>
| 0 Then
| response.write "<img src=""images/nav_progSched.jpg"" alt=""daily
| program"" name=""progSched"" width=""159"" height=""18"" border=""0""
| id=""progSched"" />"
| Else
| response.write "<a href=""progSched.shtml""><img
| src=""images/nav_progSched.jpg"" alt=""daily program"" name=""progSched""
| width=""159"" height=""18"" border=""0"" id=""progSched""
| onmouseover=""MM_swapImage('progSched','','images/nav_progSched_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="safety">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "safety.shtml") <> 0
| Then
| response.write "<img src=""images/nav_safety.jpg"" alt=""safety and
| security"" name=""safety"" width=""163"" height=""18"" border=""0""
| id=""safety"" />"
| Else
| response.write "<a href=""safety.shtml""><img
| src=""images/nav_safety.jpg"" alt=""safety and security"" name=""safety""
| width=""163"" height=""18"" border=""0"" id=""safety""
| onmouseover=""MM_swapImage('safety','','images/nav_safety_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="forParents">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "forParents.shtml") <>
| 0 Then
| response.write "<img src=""images/nav_forParents.jpg"" alt=""for
| parents"" name=""forParents"" width=""115"" height=""17"" border=""0""
| id=""forParents"" />"
| Else
| response.write "<a href=""forParents.shtml""><img
| src=""images/nav_forParents.jpg"" alt=""for parents"" name=""forParents""
| width=""115"" height=""17"" border=""0"" id=""forParents""
| onmouseover=""MM_swapImage('forParents','','images/nav_forParents_f2.jpg',1)"" onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="faq">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "faq.shtml") <> 0 Then
| response.write "<img src=""images/nav_faq.jpg"" alt=""faq""
| name=""faq"" width=""46"" height=""17"" border=""0"" id=""faq"" />"
| Else
| response.write "<a href=""faq.shtml""><img src=""images/nav_faq.jpg""
| alt=""faq"" name=""faq"" width=""46"" height=""17"" border=""0"" id=""faq""
| onmouseover=""MM_swapImage('faq','','images/nav_faq_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="preTrip">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "preTrip.shtml") <> 0
| Then
| response.write "<img src=""images/nav_preTrip.jpg"" alt=""pre-trip
| information"" name=""preTrip"" width=""148"" height=""18"" border=""0""
| id=""preTrip"" />"
| Else
| response.write "<a href=""preTrip.shtml""><img
| src=""images/nav_preTrip.jpg"" alt=""pre-trip information"" name=""preTrip""
| width=""148"" height=""18"" border=""0"" id=""preTrip""
| onmouseover=""MM_swapImage('preTrip','','images/nav_preTrip_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="staffApp">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "staffapp.shtml") <> 0
| Then
| response.write "<img src=""images/nav_staffApp.jpg"" alt=""staff
| application form"" name=""staffApp"" width=""152"" height=""17"" border=""0""
| id=""staffApp"" />"
| Else
| response.write "<a href=""staffApp.shtml""><img
| src=""images/nav_staffApp.jpg"" alt=""staff application form""
| name=""staffApp"" width=""152"" height=""17"" border=""0"" id=""staffApp""
| onmouseover=""MM_swapImage('staffApp','','images/nav_staffApp_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| <tr>
| <td id="gallery">
| <%
| If Instr(Request.ServerVariables("SCRIPT_NAME"), "home.html") <> 0 Then
| response.write "<img src=""images/nav_Gallery_f3.jpg"" alt=""Gallery""
| width=""152"" height=""17"" border=""0"" id=""Image3"" />"
| Else
| response.write "<a href=""album2005.shtml""><img
| src=""images/nav_Gallery.jpg"" alt=""Gallery"" width=""152"" height=""17""
| border=""0"" id=""Image3""
| onmouseover=""MM_swapImage('Image3','','images/nav_Gallery_f2.jpg',1)""
| onmouseout=""MM_swapImgRestore()"" /></a>"
| End If
| %>
| </td>
| </tr>
| </table>
| </div>
|
|