Проблема с браузером
написал сайт в Google chrome отоброжается всё нормально!
FireFOX выдаёт вот это:
яю<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/htm14/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1251" /> <title>;8609H89 02B>1CA !42 C@30=</title> <link href="css/style.css" type="text/css" rel="stylesheet"> </link> </head> <body> <div class="wrapper"> <div class="window"> <div id="header"> <center> <h4> 0A?8A0=85 02B>1CA0 !42</h4></center> </div> <div id="okno"> <div id="faq"><a href="faq.htm"></a></div> <div id="window2"> <div id="wKzkt"> <div id="left"> <div id="kzBus"></div> <div id="sTime1"></div> <div id="busEx"></div> </div> <div id="right"> <div id="okno1"> <div id="oknoT1"> <script type="text/javascript"> var time = "06:20 06:45 07:00 07:15 07:30 07:51 08:08 08:25 08:42 08:59 09:16 09:33 10:07 10:24 10:41 11:15 11:32 11:49 12:23 12:37 13:14 13:48 14:22 14:39 14:56 15:13 15:30 15:47 16:04 16:21 16:38 16:55 17:12 17:29 17:46 18:03 18:20 18:37 18:54 19:11 19:28 19:45 20:02 20:30 21:05".split(" "), out = [], mins = (new Date()).getMinutes(), mins = mins < 10 ? mins = "0"+mins : mins, forTime = (new Date()).getHours() +":"+ mins; for(var i=0; i<time.length; i++) { if(+time[i].replace(":","") > +forTime.replace(":","")){ for(var k=i-2; k<i; k++) { time[k] && out.push(time[k]) } break; } } document.write(("<span style='color:#b81616;font:24px Arial;'>" + "<br />")); document.write(out.join("<br />")); </script> </div></div> <div id="sTimeWin"><div id="ssTime1"> <script type="text/javascript"> var forTime = new Date(); var hour = forTime.getHours(); var minutes = forTime.getMinutes(); document.write(hour + ":" + minutes); </script></div></div> <div id="okno2"><div id="oknoT2"> <script type="text/javascript"> var time = "06:20 06:45 07:00 07:15 07:30 07:51 08:08 08:25 08:42 08:59 09:16 09:33 10:07 10:24 10:41 11:15 11:32 11:49 12:23 12:37 13:14 13:48 14:22 14:39 14:56 15:13 15:30 15:47 16:04 16:21 16:38 16:55 17:12 17:29 17:46 18:03 18:20 18:37 18:54 19:11 19:28 19:45 20:02 20:30 21:05".split(" "), out = [], mins = (new Date()).getMinutes(), mins = mins < 10 ? mins = "0"+mins : mins, forTime = (new Date()).getHours() +":"+ mins; for(var i=0; i<time.length; i++) { if(+time[i].replace(":","") > +forTime.replace(":","")){ for(var k=i; k<i+2; k++) { time[k] && out.push(time[k]) } break; } } document.write(("<span style='color:#000000;font:24px Arial;'>" + "<br />")); document.write(out.join("<br />")); </script></div></div> </div> </div> <div id="polosa"></div> <div id="wUtyak"> <div id="left2"> <div id="kzBus2"></div> <div id="sTime2"></div> <div id="busEx2"></div> </div> <div id="right2"> <div id="okno4"><div id="oknoT3"> <script type="text/javascript"> var time = "06:00 06:20 06:40 07:00 07:10 07:30 07:47 08:04 08:21 08:38 08:55 09:12 09:29 09:46 10:03 10:20 10:54 11:11 11:28 12:02 12:19 12:36 13:10 13:28 14:01 14:35 15:09 15:26 15:43 16:00 16:17 16:34 16:51 17:08 17:25 17:42 17:59 18:16 18:33 18:50 19:07 19:24 19:41 19:58 20:16 20:33 20:50 21:18 21:50".split(" "), out = [], mins = (new Date()).getMinutes(), mins = mins < 10 ? mins = "0"+mins : mins, forTime = (new Date()).getHours() +":"+ mins; for(var i=0; i<time.length; i++) { if(+time[i].replace(":","") > +forTime.replace(":","")){ for(var k=i-1; k<i; k++) { time[k] && out.push(time[k]) } break; } } document.write(("<span style='color:#b81616;font:24px Arial;'>" + "<br />")); document.write(out.join("<br />")); </script></div> </div> <div id="sTimeWin2"><div id="ssTime1"> <script type="text/javascript"> var forTime = new Date(); var hour = forTime.getHours(); var minutes = forTime.getMinutes(); document.write(hour + ":" + minutes); </script></div></div> <div id="okno3"><div id="oknoT4"> <script type="text/javascript"> var time = "06:00 06:20 06:40 07:00 07:10 07:30 07:47 08:04 08:21 08:38 08:55 09:12 09:29 09:46 10:03 10:20 10:54 11:11 11:28 12:02 12:19 12:36 13:10 13:28 14:01 14:35 15:09 15:26 15:43 16:00 16:17 16:34 16:51 17:08 17:25 17:42 17:59 18:16 18:33 18:50 19:07 19:24 19:41 19:58 20:16 20:33 20:50 21:18 21:50".split(" "), out = [], mins = (new Date()).getMinutes(), mins = mins < 10 ? mins = "0"+mins : mins, forTime = (new Date()).getHours() +":"+ mins; for(var i=0; i<time.length; i++) { if(+time[i].replace(":","") > +forTime.replace(":","")){ for(var k=i; k<i+2; k++) { time[k] && out.push(time[k]) } break; } } document.write(("<span style='color:#000000;font:24px Arial;'>" + "<br />")); document.write(out.join("<br />")); </script></div></div> </div> </div> <div id="polosa2"></div> <div id="knopka"><a href="rasp.htm"> <p> @>A<>B@5BL @0A?8A0=85 ?>;=>ABLN</p> </a></div> </div> </div> <div id="footer"></div> </div> </div> </div> </body> </html>
перед тегом <!DOCYTIPE> стоит какоето "яю"
Сайт 42bus.ru
Последний раз редактировалось Sejmon, 24.01.2013 в 21:24.
Причина: недописал
|