Foros del Web » Programando para Internet » Javascript »

Problema de visualización en internet explorer

Estas en el tema de Problema de visualización en internet explorer en el foro de Javascript en Foros del Web. Hola que tal, tengo un problema con internet explorer 8 pues no me visualiza la página web, sólo me muestra la imagen de fondo y ...
  #1 (permalink)  
Antiguo 23/05/2011, 22:13
 
Fecha de Ingreso: diciembre-2009
Mensajes: 8
Antigüedad: 14 años, 4 meses
Puntos: 0
Problema de visualización en internet explorer

Hola que tal, tengo un problema con internet explorer 8 pues no me visualiza la página web, sólo me muestra la imagen de fondo y realmente no sé cual sea el problema, el código fuente del sitio es el siguiente:

Cita:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Inicio - Conalep Empalme</title>
<style type="text/css">
<!--
body {
background-image: url(files/bg.png);
background-repeat: repeat-x;
background-color: #000000;
}
.dragme {
position: relative;
}
.estiloUno {
font-family: Arial;
font-size: 10px;
color: #FFFFFF;
}
.estiloDos {
font-family: "Lucida Sans";
font-size: 12px;
font-weight: bold;
color: #2E81FE;
}
.estiloTres {font-family: Arial}
a:link {
color: #666666;
text-decoration: none;
}
a:visited {
color: #666666;
text-decoration: none;
}
a:hover {
color: #61CB3D;
text-decoration: none;
}
a:active {
color: #666666;
text-decoration: none;
}
.estiloCuatro {
font-family: Helvetica, sans-serif;
font-weight: bold;
font-size: 12px;
}
.estiloCinco {
font-size: 14px;
font-family: Arial;
color: #666666;
}
.estiloDiez {
font-family: Helvetica, sans-serif;
font-weight: bold;
font-size: 13px;
color: #666666;
}
</style><br/>
<script language="JavaScript1.2">
<!--

var ie=document.all;
var nn6=document.getElementById&&!document.all;

var isdrag=false;
var x,y;
var dobj;

function movemouse(e)
{
if (isdrag)
{
dobj.style.left = nn6 ? tx + e.clientX - x : tx + event.clientX - x;
dobj.style.top = nn6 ? ty + e.clientY - y : ty + event.clientY - y;
return false;
}
}

function selectmouse(e)
{
var fobj = nn6 ? e.target : event.srcElement;
var topelement = nn6 ? "HTML" : "BODY";

while (fobj.tagName != topelement && fobj.className != "dragme")
{
fobj = nn6 ? fobj.parentNode : fobj.parentElement;
}

if (fobj.className=="dragme")
{
isdrag = true;
dobj = fobj;
tx = parseInt(dobj.style.left+0);
ty = parseInt(dobj.style.top+0);
x = nn6 ? e.clientX : event.clientX;
y = nn6 ? e.clientY : event.clientY;
document.onmousemove=movemouse;
return false;
}
}

document.onmousedown=selectmouse;
document.onmouseup=new Function("isdrag=false");

//-->
</script>
<script>
function showTable(id){
show=0;
elem = document.getElementById(id);
if(elem.style.display=='block')show=1;
elem.style.display='none';
if(show!=1)elem.style.display='block';
}
</script>
<script language="JavaScript">
function clock()
{
fecha = new Date()
hora = fecha.getHours()
if (hora>12) {
meri=' pm';
hora=hora-12; }
else
meri=' am';
minuto = fecha.getMinutes()
if (minuto<10) minuto='0'+minuto;
segundo = fecha.getSeconds()
if (segundo<10) segundo='0'+segundo;
theclock = hora + ":" + minuto + ":" + segundo + meri;
document.getElementById('reloj_conalep').innerHTML = theclock
setTimeout('clock()',1000)
}
</script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body onLoad="clock()">
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="900" height="103"><a href="/index.html" target="_self"><img src="files/header.png" width="900" height="103" border="0" /></a></td>
</tr>
<tr>
<td height="17" bgcolor="#515151"><div class="estiloCuatro" style="float:left; width:660px; height:15px; line-height:15px; vertical-align:middle"></div>
<div class="estiloUno" id="reloj_conalep" style="float:right; background-color:#727272; width:70px; height:15px; line-height:15px; vertical-align:middle; text-align:center">hora</div><div class="estiloUno" style="float:right; width:170px; height:15px; line-height:15px;vertical-align:middle; text-align:center">
<script languaje="Javascript">
var fecha = new Date ();
var dia_semana = fecha.getDay();
var dia_mes = fecha.getDate();
var mes = fecha.getMonth ();
var anio = fecha.getYear();
if ( anio < 1900 ) {
anio = 1900 + fecha.getYear();
}
mes += 1;
if (mes < 10) {
mes = '0' + mes;
}
if (dia_mes < 10) {
dia_mes = '0' + dia_mes;
}
if (dia_semana == 0) { dia_semana = 'Domingo, '; }
if (dia_semana == 1) { dia_semana = 'Lunes, '; }
if (dia_semana == 2) { dia_semana = 'Martes, '; }
if (dia_semana == 3) { dia_semana = 'Mi&eacute;rcoles, '; }
if (dia_semana == 4) { dia_semana = 'Jueves, '; }
if (dia_semana == 5) { dia_semana = 'Viernes, '; }
if (dia_semana == 6) { dia_semana = 'S&aacute;bado, '; }
var nb_mes = ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"];
document.write ( dia_semana + dia_mes + ' de ' + nb_mes[mes-1] + ' de ' + anio);
</script></div></td>
</tr>
<tr>
<td height="30" valign="middle" background="files/menu_bar.png"><div class="estiloDiez" style="float:left; vertical-align:middle; text-align:center; width:65px; height:30px; line-height:30px"><a href="/index.html">Inicio</a></div>
<div class="estiloDiez" style="float:left; vertical-align:middle; text-align:center; width:5px; height:30px; line-height:30px">|</div>
<div class="estiloDiez" style="float:left; vertical-align:middle; width:95px; height:30px; line-height:30px; text-align:center"><a href="about.html">Acerca de</a></div>
<div style="float:left; width:690px; height:30px"></div>
<div style="float:left; background-image:url(files/btn_conalep.png); width:33px; height:30px"></div><div style="float:right;width:12px; height:30px"></div> </td>
</tr>
<tr>
<td height="11" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td colspan="2" bgcolor="#FFFFFF"><table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="11"></td>
<td width="878" align="left" valign="top"><table width="878" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><p class="estiloDos"><span class="estiloTres">GANA TERCER LUGAR CONALEP EMPALME EN MUESTRA DE TEATRO ESTUDIANTIL</span><a href="//">. </a><br />
</p></td>
<td width="478"><div class="estiloDiez" style="background-image:url(files/container_top.png); float:right; width:200px; height:30px; line-height:30px; vertical-align:middle; text-align:center">Sitios de interés</div></td>
</tr>
<tr>
<td width="400" align="center" valign="middle"><br />
<img src="files/articles/portada.png" class="dragme" width="367" height="210" /><br />
<br /></td>
<td align="right" valign="top">
<table width="200" border="0" cellspacing="0" cellpadding="0">

<tr>
<td width="200" background="files/container_body.png"><p>&nbsp;</p></td>
</tr>
<tr>
<td width="200" height="30" background="files/container_foot.png"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="middle"><div style="float:left; text-align:center; width:200px; height:20px"><a href="javascript:showTable('article1')" class="estiloCuatro">Mostrar/Ocultar art&iacute;culo</a></div>
<div class="estiloCuatro" style="float:left; width:200px; height:20px; text-align:center"><a href="#">Galería de imágenes</a></div></td>
<td align="left" valign="middle"></td>
</tr>
</table>
<div id="article1" style="display:none">
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><br/><span class="estiloCinco">Obtiene el grupo de teatro del plantel Conalep Empalme, el tercer lugar dentro de la sexta etapa de la Muestra de teatro estudiantil organizado por el Consejo Estatal Electoral del programa Participa: Democracia, misi&oacute;n de todos.<br/>
<br/>
La obra titulada: "La Foto" del Colegio Regis La Salle, unidad Hermosillo, result&oacute; la ganadora del segundo lugar, llev&aacute;ndose un premio de $15,000.00; la obra: "Joven t&uacute; tienes el poder" del CONALEP, Plantel Empalme, del tercer lugar con $10,000.00<br/>
<br/>
<a href="http://www.conalepsonora.edu.mx/Noticias_detalle.aspx?ID=311" target="_blank" class="estiloCuatro">Leer noticia completa</a></span></td>
</tr>
</table>
</div>
</td>
<td width="11"></td>
</tr>
</table></td>
<tr>
<td colspan="2"><div style=" float:left; width:11px; height:30px" ><img src="files/cont_left_down.png" width="11" height="30" /></div>
<div style="float:left; background-color:#FFFFFF; width:878px; height:30px" ></div>
<div style=" float:right; width:11px; height:30px" ><img src="files/cont_right_down.png" width="11" height="30" /></div></td>
</tr>
<tr>
<td height="10" colspan="2"><div align="right" class="estiloUno">Conalep <span title="HPHP - 124 - fH_YNu5tLuui--916uUj3A - 891736">©</span> 2011 - Jonathan Ayala </div></td>
</tr>
</table>
</body>
</html>
Cuál podría ser el motivo de no visualizar el sitio?, en Firefox anda perfecto, pueden ayudarme?
Gracias de antemano

Última edición por Jonathan21921; 23/05/2011 a las 22:22
  #2 (permalink)  
Antiguo 23/05/2011, 22:23
Avatar de Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 19 años, 11 meses
Puntos: 834
Respuesta: Problema internet explorer

Te faltó cerrar un comentario, ésa es la razón más probable. Agregá lo que aquí aparece en rojo:
Código:
...
.estiloDiez {
font-family: Helvetica, sans-serif;
font-weight: bold;
font-size: 13px;
color: #666666;
}
-->
</style>
....
  #3 (permalink)  
Antiguo 23/05/2011, 22:40
 
Fecha de Ingreso: diciembre-2009
Mensajes: 8
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Problema de visualización en internet explorer

vaya, no lo noté o.o. Gracias de nuevo Panino :3

Etiquetas: explorer, internet
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 20:05.