|
| |
|
|
| |
для: codexomega
(12.07.2006 в 08:00)
| | | Все одно, только комент инклюды решает проблему, но проблема в том, юзаю бесплатный хостинг для окатки, а там требования вставки файла рекламы, я его и инклюдю в нужное мне место, а осел упрямится. | |
| |
|
|
| |
|
|
| |
для: куч1963
(12.07.2006 в 05:44)
| | | А если перед include убрать @ ? | |
| |
|
|
| |
|
|
| | Разрулите ситуацию.
В голове страницы
<script type="text/javascript" src="css/drop_down.js"></script>
такого содержания
// JavaScript Document
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
В тело инклюдируется
<? @include "lvt.htm";?>
содержание
<!--BEGIN ALL TYPES (IE)-->
<noscript>
<iframe src="http://a.lvt.ru/f62661x1" frameborder="0" vspace="0" hspace="0" width="468" height="60" marginwidth="0" marginheight="0" scrolling="no"><a href="http://a.lvt.ru/r62661x1x-907227945" target="_top"><img src="http://a.lvt.ru/b62661x1x-907227945" border="0" width="468" height="60"></a>
</iframe>
</noscript>
<script language="JavaScript">var rand = Math.floor(Math.random() * 1000000000);
document.write('<iframe src="http://a.lvt.ru/f62661x1_' + rand + '" frameborder="0" vspace="0" hspace="0" width="468" height="60" marginwidth="0" marginheight="0" scrolling="no">');
document.write('<a href="http://a.lvt.ru/r62661x1x' + rand + '" target="_top"><img src="http://a.lvt.ru/b62661x1x' + rand + '" border="0" width="468" height="60"></a>');
document.write('</iframe>');
</script>
<!--END -->
В Firefoxe работает как надо, в осле верхний скрипт не работает,
Комментируеш <? //@include "lvt.htm";?> - все работает.
В чкем проблема и как ее обойти? | |
| |
|
|
|