а как сделать чтоб сайт отображался одинаково во всех браузерах?
у меня например в хроме одно а эксплорер по другому показывает.
Вот
у меня например в хроме одно а эксплорер по другому показывает.
Вот
|
Покажите мне пожалуйста куда поставить этот счетчик чтоб он на всех страницах виден был. Тут уже есть в одном посте про счетчик, но я пробовал по тому описанию ничего не получается, он просто не показывается. Счетчик должен стоять справа под блоком "в наличии"
Вот счетчик: <!--LiveInternet counter--><script type="text/javascript"><!-- document.write(" — РИА «»</div> </div> </div> |
|
|
|
|
|
Все сделал по вышеописанному
Ничего не выходи Привожу footer.php ниже: <div id="right"> <div id="news_cont"> <h1 class="white">Новости</h1> <?$APPLICATION->IncludeComponent("bitrix:news.list", "news_list_main", Array( "IBLOCK_TYPE" => "news", "IBLOCK_ID" => "1", "NEWS_COUNT" => "3", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "", "FIELD_CODE" => array( 0 => "", 1 => "", ), "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "DETAIL_URL" => "/news/detail.php?ID=#ELEMENT_ID#", "CACHE_TYPE" => "A", "CACHE_TIME" => "3600", "CACHE_FILTER" => "N", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "DISPLAY_PANEL" => "N", "SET_TITLE" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "N", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y" ) );?> </div> <div id="vnalichii"> <h1>Сейчас в наличии</h1> <?$APPLICATION->IncludeFile("/include_areas/goods_in_index.php", Array(), Array("MODE"=>"php"));?> </div> </div> <div> <?$APPLICATION->IncludeComponent("bitrix:main.include", "", array( "AREA_FILE_SHOW" => "sect", "AREA_FILE_SUFFIX" => "counter", "AREA_FILE_RECURSIVE" => "Y", "EDIT_TEMPLATE" => "" ), false );?> </div> <div> <div id="clear"></div> <div id="footer"> <div id="kam_auto_trade_copytight"> <?$APPLICATION->IncludeFile("/include_areas/kam_auto_trade_copytight.php", Array(), Array("MODE"=>"php"));?> </div> <div id="contact_information"> <br /> </div> <div id="contact_information"><?$APPLICATION->IncludeFile("/include_areas/contact_information.php", Array(), Array ("MODE"=>"php"));?> <br /> </div> <div id="elonika_copytight"> — РИА «»</div> </div> </div> Где тут собака зарыта???? |
|
|
|
|
|
Извините если не по теме. Хотелось бы убрать на всех страницах раздел "Новость"и все упоминания о нем. Вот таблица стилей:
html, body { padding:0; margin:0;} body { background:white; font-size:9pt; color:#949494; font-family:arial;} img {border:0;} a {color:#4d7b8e; /* text-decoration:none; display:inline-block; border-bottom:1px solid #ccc;*/} a:hover { /*border-bottom:1px solid #4d7b8e;*/} h1 {margin:0; padding:0.2em 0em; color:#6694a8; font-size:190%; font-weight:100;} h1.white { color:#fff; padding:0.2em 0.8em;} .hernya { background:url(/images/h1_title_bg.jpg) no-repeat left top;} .right { text-align:right;} div#main { width:1000px; margin:0 auto;} div#header { position:relative;} img#logo { position:absolute; top:0px; left:43px;} div#menuTopCont { position:absolute; top:40px; width:780px; right:6px; height:24px; background:#4270a2 url(/images/topMenubg.jpg) no-repeat right top; z-index:100;} ul#menuTop { margin:0 0.4em 0 0; padding:0.35em 0 0 0;} ul#menuTop li { list-style:none; float:right; border-left:1px solid white;} ul#menuTop li a { display:block; color:white; padding:0 1em; border-bottom:0;} div#phone { position:absolute; top:0.1em; left:-2.5em; color:#f89c2d;} div#phone span { font-size:150%;} div#clear { clear:both;} div#search { position:absolute; bottom:1em; right:2em;} div#left{ float:left; width:20%; position:relative;} div#right { float:right; width:23%;} div#center { float:left; width:47%; margin-left:5%; padding-bottom:2em;} div.column_title { background:#739caf url(/images/title_div_bg.jpg) repeat-x;} div#action_item{ margin:0.9em 0 2em 2em;} span.red_price { font-size:180%; color:red; display:block; margin:0.6em 0em;} span.orange_text { color:#f18834;} ul.catalog_list { margin:0.6em 0.2em 0.9em 2em; padding:0;} ul.catalog_list li { list-style:none; padding:0.4em 0.5em 0.4em 1em; border-top:1px dotted #ccc;} ul.catalog_list li a { border-bottom:0; font-weight:bold;} ul.catalog_list li a:hover { color:#f18834; cursor:pointer;} ul.catalog_list ul#catalog_child_list{ margin:0; padding:0 0 0 1em; } div#footer { background:#739caf url(/images/title_div_bg.jpg) repeat-x; height:67px; position:relative;} div#footer img#footer_left_baida { position:absolute; left:0; top:0;} div#footer div#kam_auto_trade_copytight, div#footer div#elonika_copytight, div#footer div#contact_information { position:absolute; top:1.5em; color:white;} div#footer div#kam_auto_trade_copytight { left:3em;} div#footer div#contact_information { left:32%;} div#footer div#elonika_copytight { right:3em;} div#footer div#elonika_copytight a { color:white; border-bottom:0; text-decoration:underline;} div#news_cont { background:#739caf url(/images/news_bg.jpg) no-repeat left top; padding:0 0.2em 0.2em 0.2em;display:none;} div.news_item { margin:0.1em 1em 1em 1em; color:#fff;} div.news_item a { color:white; text-decoration:underline; border-bottom:0; display:block; margin-bottom:0.2em;} div#vnalichii { margin:0.5em 1em; color:#4d7b8e;} div.vnalichii_item { padding:0.5em 0 1em 0; border-top:1px dotted #ccc;} div#vnalichii a { display:block; border-bottom:0; text-decoration:underline; color:#333;} span.price { display:block; color:red;} table#tblauto { width:100%; border:0;} table#tblauto tr td { text-align:center; width:33%; padding:2em;} ul.catalog_list li a#zap { display:inline-block; border-bottom:1px dashed #4d7b8e; cursor:pointer; cursor:hand;} div#cat_cont { padding:1em; background:#f5f5f5; position:absolute; border:1px solid #ccc; top:3.7em; left:2em; z-index:20; width:520px;} ul.zap_ul { float:left; width:48%; margin:0 0.5%; padding:0;} ul.zap_ul li { padding:0; list-style:none; margin:0; /*font-size:90%;*/} a#close { display:inline-block; font-size:80%; position:absolute; text-decoration:none; top:1em; right:1em; border-bottom:1px dashed #4d7b8e; cursor:pointer; cursor:hand;} .clear {clear:both;} |
|
|
|
|
|
Вот страница шаблон! Куда именно вставлять код счетчика и ответьте пожалуйста на второй вопрос как убрать эти чертовы :
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=LANG_CHARSET;?>" /> <title><?$APPLICATION->ShowTitle()?></title> <?$APPLICATION->ShowMeta("keywords")?> <?$APPLICATION->ShowMeta("description")?> <?$APPLICATION->ShowCSS();?> <script type="text/javascript" src="/bitrix/js/jquery.js"></script> <script type="text/javascript" src="/bitrix/js/catalog.js"></script> <script src="/AC_RunActiveContent.js" language="javascript"></script> </head> <body> <div id="panel"><?$APPLICATION->ShowPanel();?></div> <div id="main"> <div id="header"> <!-- --><script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); } else { AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width', '1000', 'height', '420', 'src', '/work', 'quality', 'medium', 'pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'align', 'middle', 'play', 'true', 'loop', 'true', 'scale', 'noscale', 'wmode', 'opaque', 'devicefont', 'false', 'id', 'work', 'bgcolor', '#ffffff', 'name', '/work', 'menu', 'true', 'allowFullScreen', 'false', 'allowScriptAccess','sameDomain', 'movie', '/work', 'salign', '' ); //end AC code } </script> <noscript> <object wmode="opaque" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1000" height="420" id="work" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="false" /> <param name="movie" value="/work.swf" /> <param name="quality" value="medium" /> <param name="scale" value="noscale" /> <param name="wmode" value="opaque" /> <param name="bgcolor" value="#ffffff" /> <embed src="/work.swf" wmode="opaque" quality="medium" scale="noscale" bgcolor="#ffffff" width="1000" height="420" name="work" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </noscript> ![]() <div id="menuTopCont"> <div id="phone"> <?$APPLICATION->IncludeFile("/include_areas/phone.php", Array(), Array("MODE"=>"php"));?></div> <?$APPLICATION->IncludeComponent("bitrix:menu", "horizontal_multilevel1", Array( "ROOT_MENU_TYPE" => "top", "MAX_LEVEL" => "2", "CHILD_MENU_TYPE" => "left", "USE_EXT" => "N" ) );?> </div> <div id="search"> <?$APPLICATION->IncludeComponent("bitrix:search.form", "template1", Array( "PAGE" => "#SITE_DIR#search/index.php" ) );?> </div> </div> <div id="left"> <div class="column_title"><h1 class="right white hernya">Каталог</h1></div> <?$APPLICATION->IncludeFile("/include_areas/catalog_in_index.php", Array(), Array("MODE"=>"php"));?> <div class="column_title"><h1 class="right white hernya">Акции</h1></div> <div id="action_item"> <?$APPLICATION->IncludeFile("/include_areas/action_in_index.php", Array(), Array("MODE"=>"php"));?> </div> </div> <div id="center"> <h1><?$APPLICATION->ShowTitle()?></h1>#WORK_AREA# </div> <div id="right"> <div id="news_cont"> <h1 class="white">Новости</h1> <?$APPLICATION->IncludeComponent("bitrix:news.list", "news_list_main", Array( "IBLOCK_TYPE" => "news", "IBLOCK_ID" => "1", "NEWS_COUNT" => "3", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "", "FIELD_CODE" => array( 0 => "", 1 => "", ), "PROPERTY_CODE" => array( 0 => "", 1 => "", ), "DETAIL_URL" => "/news/detail.php?ID=#ELEMENT_ID#", "CACHE_TYPE" => "A", "CACHE_TIME" => "3600", "CACHE_FILTER" => "N", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "DISPLAY_PANEL" => "N", "SET_TITLE" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "N", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "N", "PAGER_TEMPLATE" => "", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y" ) );?> </div> <div id="vnalichii"> <h1>Сейчас в наличии</h1> <?$APPLICATION->IncludeFile("/include_areas/goods_in_index.php", Array(), Array("MODE"=>"php"));?> </div> </div> <div> <div id="clear"></div> <div id="footer"> <div id="kam_auto_trade_copytight"> <?$APPLICATION->IncludeFile("/include_areas/kam_auto_trade_copytight.php", Array(), Array("MODE"=>"php"));?> </div> <div id="contact_information"> <br /> </div> <div id="contact_information"><?$APPLICATION->IncludeFile("/include_areas/contact_information.php", Array(), Array ("MODE"=>"php"));?> <br /> </div> <div id="elonika_copytight"> — РИА «»</div> </div> </div> |
|
|
|
|