
16/04/2005, 15:15
|
| | Fecha de Ingreso: junio-2003 Ubicación: Santiago de Compostela
Mensajes: 603
Antigüedad: 21 años, 11 meses Puntos: 0 | |
Codigo que elimina las líneas que delimitan una tabla en dreamweaver MX Saludos:
Tengo un codigo que cuando lo pongo en la primera celda de una tabla hace que las lineas que delimitan la tabla desaparezcan en la ventana de diseño del dreamweaver mx. El caso es si el mismo código lo pongo en cualquier otra celda funciona perfectamente.
Este código abre una ventana (window.open) de JavaScript. Si no pertenece a este foro pueden redirigirmelo al de JavaScript o al de Html. Lo pongo aquí porque el fichero está hecho en ASP.
Es de suponer que haya algo mal escrito pero despues de dos días revisando el código no he encontrado nada, pueden ustedes echarme una mano?.
Marco en rojo el código que al colocarlo hace el error.
Código:
<<A href="mailto:%@LANGUAGE="VBSCRIPT">%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%response.Expires=0%>
<html>
<head>
<title>Información sobre el Establecimiento</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">
<!--
function AbrirVentana (theURL, winName, features)
{
window.open (theURL, winName, features);
return false
}
-->
</SCRIPT>
</head>
<body background="images/frame_izqda_con_opacidad.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!--Incluimos el fichero de constantes-->
<!--#INCLUDE file="../ADOVBS.asp"-->
<%
Function AcomodarDb(txt)
txt = Replace (txt, vbCrLf, "<BR>")
AcomodarDb = txt
End function
Function AcomodarTextArea(txt)
txt = Replace (txt, "<BR>", vbCrLf)
AcomodarTextArea = txt
End Function
referenciahotelcasa=request.QueryString("referenciahotelcasa")
'Para conexión a dsn arsys con ACCESS
Set Conn= Server.CreateObject("ADODB.Connection")
Set Command= Server.CreateObject("ADODB.Command")
Conn.open "DSN=clubviajesoferta.com.turofertas"
Command.ActiveConnection=Conn
Command.CommandType=adCmdText
Command.CommandText= "Select * From guiahoteles where referenciahotelcasa='" &referenciahotelcasa& "'"
Set RS=Command.Execute ()
'Termina aquí la conexion a dsn arsys con ACCESS
%>
<table width="100%">
<tr>
<td width="6%" rowspan="3" align="left" valign="top"> <div align="left">
<a href="ficha_hotel?referenciahotelcasa=<%=rs("referenciahotelcasa")%>"
onClick="return AbrirVentana('fotoampliada.asp?referenciahotelcasa=<%=RS("referenciahotelcasa")%>&nombreusuario=<%=nombreusuario%>&imagen=1', '', 'scrollbars=no, top=120, left=0, width=<%=RS("imagenancho")%>, height=<%=RS("imagenalto")%>, status=yes, resizable=0')" shape="rect" > <img src="images/<%=RS("imagen")%>" width="<%=RS("imagenancho")/2%>" height="<%=RS("imagenalto")/2%>" align="top" border="0"></a>
</div>
</td>
<td width="34%" align="left" valign="top"><strong><font color="#000099">Establecimiento</font></strong><br>
<%=RS("empresanombrecomercial")%> <br> </td>
<td width="25%" align="left" valign="top"> </td>
<td width="35%" align="left" valign="top"><strong><font color="#000099">Categoría</font></strong><br>
<%=RS("categoriahotel")%> <font color="#003366">*</font> </tr>
<tr>
<td align="left" valign="top"><strong><font color="#000099">Dirección</font></strong><br>
<%=RS("direccion")%></td>
<td align="left" valign="top"> </td>
<td align="left" valign="top"><strong><font color="#000099">Localidad<br>
</font></strong><%=RS("localidad")%> </td>
</tr>
<tr>
<td align="left" valign="top"><strong><font color="#000099">Código Postal<br>
</font></strong><%=RS("cp")%> <font color="#000099"><strong><br>
</strong></font></td>
<td align="left" valign="top"><strong><font color="#000099">Provincia<br>
</font></strong><%=RS("provincia")%> </td>
<td align="left" valign="top"><strong><font color="#000099">Teléfono<br>
</font></strong><%=RS("telefono")%> <strong><font color="#000099"></font></strong></td>
</tr>
<tr>
<td width="6%" rowspan="5" align="left" valign="top">
<a href="ficha_hotel?referenciahotelcasa=<%=rs("referenciahotelcasa")%>"
onClick="return AbrirVentana('fotoampliada.asp?referenciahotelcasa=<%=RS("referenciahotelcasa")%>&nombreusuario=<%=nombreusuario%>&imagen=2', '', 'scrollbars=no, top=120, left=0, width=<%=RS("imagen1ancho")%>, height=<%=RS("imagen1alto")%>, status=yes, resizable=0')" shape="rect" > <img src="images/<%=RS("imagen1")%>" width="<%=RS("imagen1ancho")/2%>" height="<%=RS("imagen1alto")/2%>" align="top" border="0"></a>
</td>
<td align="left" valign="top"><strong><font color="#000099">Teléfono Reservas <br>
</font></strong><%=RS("telefono1")%> <strong><font color="#000099"><br>
</font></strong></td>
<td align="left" valign="top"><strong><font color="#000099">Fax</font></strong><br>
<%=RS("fax")%></td>
<td align="left" valign="top"><strong><font color="#000099">Tarifas</font></strong><br>
<a href="tarifas.asp?referenciahotelcasa=<%=rs("referenciahotelcasa")%>"
onClick="return AbrirVentana('tarifas_turismo.asp?referenciahotelcasa=<%=RS("referenciahotelcasa")%>&nombreusuario=<%=nombreusuario%>', '', 'scrollbars=no, top=120, left=0, width=696, height=337, resizable=0')" shape="rect" > <img src="../images/iconos/iconotarifas.gif" alt="Tarifas del Establecimiento" width="40" height="40" border="0"></a></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Página web </font></strong><br>
<a href="<%=RS("paginaweb")%>" target="_blank"><%=RS("paginaweb")%></a></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Correo Electrónico </font></strong><br><a href="<A href="mailto:<%=RS("email")%>"><%=RS("email")%></a></td">mailto:<%=RS("email")%>"><%=RS("email")%></a></td>
</tr>
<tr>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Situación</font></strong><br>
<%=AcomodarDb(RS("situacionhotel"))%> </td>
</tr>
<tr>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Alojamiento</font></strong><br>
<%=RS("alojamientohotel")%> </td>
</tr>
<tr>
<td width="6%" align="left" valign="top"> </td>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Restauración</font></strong><br>
<%=AcomodarDb(RS("restauracionhotel"))%> </td>
</tr>
<tr>
<td width="6%" align="left" valign="top"> </td>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Servicios</font></strong><br>
<%=AcomodarDb(RS("servicioshotel"))%> </td>
</tr>
<tr>
<td width="6%" align="left" valign="top"> </td>
<td colspan="3" align="left" valign="top"> <p><strong><font color="#000099">Características</font></strong><br>
<%=AcomodarDb(RS("caracteristicashotel"))%> </p></td>
</tr>
<tr>
<td width="6%" align="left" valign="top"> </td>
<td colspan="3" align="left" valign="top"><strong><font color="#000099">Observaciones</font></strong><br>
<%=AcomodarDb(RS("observacioneshotel"))%></td>
</tr>
<tr>
<td align="left" valign="top"> </td>
<td colspan="3" align="left" valign="top"><p><strong><font color="#000099">Programa</font></strong><br>
<%=AcomodarDb(RS("programabalnearios"))%></td>
</tr>
</table>
</body>
</html>
|