Новости Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

👩‍💻 SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla.Компонент - менеджер цифровых проектов для Joomla! CMS. Компонент обеспечивает создание каталога цифровых проектов и предоставляет возможность скачивания, в том числе с использованием лицензионных ключей.👩‍💻 v.2.5.0. Что нового?Схемы структур данных для серверов обновлений. Теперь с SW JProjects вы может создавать сервер обновлений не только для расширений Joomla, но и свои собственные. Например, вам нужно, чтобы структура данных сервера обновлений была другая и формат должен быть, например, не XML, а JSON. Формирование структуры данных для сервера обновлений расширений Joomla вынесено в отдельный плагин. Вы можете создать свой собственный плагин и реализовать в нём нужную вам структуру данных, добавив или наоборот исключив отображаемые данные. Сервер обновлений в компоненте по-прежнему отображает информацию о списке проектов и их версиях, о конкретном проекте и его changelog.Можно выбрать схему данных сервера обновлений глобально для всего компонента, выбрать другую схему данных для категории проектов, а так же выбрать схему в каждом проекте.

Разработчикам в качестве образца можно посмотреть плагин схемы данных для Joomla в составе компонента или же плагин-образец JSON-схемы на GitHub.
Группа плагинов swjprojects. Для нужд компонента создана группа плагинов swjprojects. В частности, в этой группе находится плагин структуры данных Joomla расширений для сервера обновлений.Изменение языковых констант. Изменены некоторые языковые константы в панели администратора. Если вы делали переопределение констант - переопределите их снова.👩‍💻 Joomla 6. Внесены изменения для корректной установки и работы компонента на Joomla 6. Компонент успешно протестирован на Joomla 6-beta2.Минимальная версия Joomla - 5. Подняты минимальные системные требования: Joomla 5.0.0 и PHP 8.1.
- Страница расширения👉 Плагин-образец кастомной JSON-схемы данных для сервера обновлений на GitHub.- GitHub расширения- Документация на GitHub- Joomla Extensions Directory#joomla #расширения

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

👩‍💻 Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод triggerEvent(), с помощью которого раньше вызывались события для плагинов. Теперь чтобы в своём коде вызвать событие для плагина и получить от него результаты нужно:- создать объект класса события- передать в него параметры

use Joomla\CMS\Event\AbstractEvent;use Joomla\CMS\Factory;use Joomla\CMS\Plugin\PluginHelper;// Грузим плагины нужных группPluginHelper::importPlugin('system');// Создаём объект события$event = AbstractEvent::create('onAfterInitUniverse', [    'subject' => $this,    'data'    => $data, // какие-то данные    'article' => $article, // ещё материал вдовесок    'product' => $product, // и товаров подвезли]);// Триггерим событиеFactory::getApplication()->getDispatcher()->dispatch(    $event->getName(), // Тут можно строку передать 'onAfterInitUniverse'    $event);// Получаем результаты// В случае с AbstractEvent это может быть не 'result',// а что-то ещё - куда сами отдадите данные.// 2-й аргумент - значение по умолчанию, // если не получены результаты$results = $event->getArgument('result', []);
Плюсы такого подхода - вам не нужно запоминать порядок аргументов и проверять их наличие. Если вы написали свой класс события, то в плагине можно получать аргументы с помощью методов $event->getArticle(), $event->getData(), $event->getProduct() и подобными - реализуете сами под свои нужды. Если такой класс события написали, то создаёте экземпляр своего класса события и укажите его явно в аргументе eventClass
use Joomla\Component\MyComponent\Administrator\Event\MyCoolEvent;$event = MyCoolEvent::create('onAfterInitUniverse', [    'subject'    => $this,    'eventClass' => MyCoolEvent::class, // ваш класс события    'data'       => $data, // какие-то данные    'article'    => $article, // ещё материал вдовесок    'product'    => $product, // и товаров подвезли]);
Ожидаемо, что класс вашего события будет расширять AbsractEvent или другие классы событий Joomla.🙁 Есть неприятный нюанс - нельзя просто так вызывать событие и ничего не передать в аргументы. Аргумент subject обязательный. Но если вы всё-таки не хотите туда ничего передавать - передайте туда пустой stdClass или объект Joomla\registry\Registry.
@joomlafeed#joomla #php #webdev

0 Пользователей и 1 Гость просматривают эту тему.
  • 8 Ответов
  • 2181 Просмотров
*

Свят

  • Осваиваюсь на форуме
  • 44
  • 1 / 0
  • Не прыгаю за бабочками, они сами липнут ко мне...
Здравствуйте!
Пытаюсь сделать гибкий шаблон который месяц - да всё никак :( ... решил вот к вам обратиться.
Суть дела: http://webfile.ru/4681901 - сам шаблон. Пытаюсь сделать его гибким, чтобы 1024px был минимум по ширине. Хедер получилось подогнать и некоторые другие элементы.
Не получается именно блок контента сделать гибким, вот он вроде ::) - [spoiler title=template.css]
Код
.art-contentLayout .art-content
{
position: relative;
margin: 0;
padding: 0;
border: 0;
float: left;
overflow: hidden;
width: 899px;
[/spoiler]

... и сильно выпирает Page-BgTexture.jpg как не пытался его здесь отредактировать - [spoiler title=template.css]
Код
{
margin: 0 auto;
padding: 0;
background-color: #C6E8F0;
background-image: url('../images/Page-BgTexture.jpg');
background-repeat: repeat;
background-attachment: fixed;
background-position: top left;
}
[/spoiler] - ничего не получилось или быть может его совсем как-нибудь убрать.

Помогите пожалуйста решить проблему. Заранее спасибо за ответ.
*

Свят

  • Осваиваюсь на форуме
  • 44
  • 1 / 0
  • Не прыгаю за бабочками, они сами липнут ко мне...
Может поможет кто если так полностью выложу - [spoiler title=template.css]/* begin Page */

/* Written Svyatoslav */

body
{
   margin: 0 auto;
   padding: 0;
   background-color: #C6E8F0;
   background-image: url('../images/Page-BgTexture.jpg');
   background-repeat: repeat;
   background-attachment: fixed;
   background-position: top left;
}

#art-main
{
   position: relative;
   width: 100%;
   left: 0;
   top: 0;
}

#art-page-background-glare
{
   position: absolute;
   width: 100%;
   height: 423px;
   left: 0;
   top: 0;
}

#art-page-background-glare-image
{
   background-image: url('../images/Page-BgGlare.png');
   background-repeat: no-repeat;
   height: 423px;
   width: 500px;
   margin: 0;
}

html:first-child #art-page-background-glare
{
   border: 1px solid transparent; /* Opera fix */
}



#art-page-background-gradient
{
   background-position: top left;
}


.cleared
{
   float: none;
   clear: both;
   margin: 0;
   padding: 0;
   border: none;
   font-size:1px;
}


form
{
   padding:0 !important;
   margin:0 !important;
}

table.position
{
   position: relative;
   width: 100%;
   table-layout: fixed;
}
/* end Page */

/* begin Box, Sheet */
.art-Sheet
{
   position:relative;
   z-index:0;
   margin:0 auto;
   width: 100%;
   min-width:1024px;
   min-height:1px;
}

.art-Sheet-body
{
   position: relative;
   z-index: 1;
   padding: 0px;
}

.art-Sheet-cc
{
   position:absolute;
   z-index:-1;
   top: 0px;
   left: 0px;
   right: 0px;
   bottom: 0px;
   background-image: url('../images/Sheet-c.png');
}


.art-Sheet
{
   margin-top: 0px !important;
}

#art-page-background-simple-gradient, #art-page-background-gradient, #art-page-background-glare
{
   min-width:1024px;
}

/* end Box, Sheet */

/* begin Header */
div.art-Header
{
   margin: 0 auto;
   position: relative;
   z-index:0;
   width: 100%;
   height: 300px;
}


div.art-Header-jpeg
{
   position: absolute;
   z-index:-1;
   top: 0;
   left: 0;
   width: 100%;
   height: 300px;
   background-image: url('../images/Header.jpg');
   background-repeat: no-repeat;
   background-position: left top;
}
/* end Header */

/* begin Logo */
.art-Logo
{
   display : block;
   position: absolute;
   left: 13px;
   top: 12px;
   width: 1487px;
}

h1.art-Logo-name
{
   display: block;
   text-align: center;
}

h1.art-Logo-name, h1.art-Logo-name a, h1.art-Logo-name a:link, h1.art-Logo-name a:visited, h1.art-Logo-name a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 17px;
font-style: normal;
font-weight: bold;
text-decoration: none;
letter-spacing: 2px;
text-transform: uppercase;
   padding:0;
   margin:0;
   color: #97C8D3 !important;
}

.art-Logo-text
{
   display: block;
   text-align: center;
}

.art-Logo-text, .art-Logo-text a
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 14px;
font-style: normal;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
   padding:0;
   margin:0;
   color: #ACD8E2 !important;
}
/* end Logo */

/* begin Menu */
/* menu structure */

.art-menu a, .art-menu a:link, .art-menu a:visited, .art-menu a:hover
{
   text-align:left;
   text-decoration:none;
   outline:none;
   letter-spacing:normal;
   word-spacing:normal;
}

.art-menu, .art-menu ul
{
   margin: 0;
   padding: 0;
   border: 0;
   list-style-type: none;
   display: block;
}

.art-menu li
{
   margin: 0;
   padding: 0;
   border: 0;
   display: block;
   float: left;
   position: relative;
   z-index: 5;
   background:none;
}

.art-menu li:hover
{
   z-index: 10000;
   white-space: normal;
}

.art-menu li li
{
   float: none;
}

.art-menu ul
{
   visibility: hidden;
   position: absolute;
   z-index: 10;
   left: 0;
   top: 0;
   background:none;
}

.art-menu li:hover>ul
{
   visibility: visible;
   top: 100%;
}

.art-menu li li:hover>ul
{
   top: 0;
   left: 100%;
}

.art-menu:after, .art-menu ul:after
{
   content: ".";
   height: 0;
   display: block;
   visibility: hidden;
   overflow: hidden;
   clear: both;
}
.art-menu, .art-menu ul
{
   min-height: 0;
}

.art-menu ul
{
   background-image: url(../images/spacer.gif);
   padding: 10px 30px 30px 30px;
   margin: -10px 0 0 -30px;
}

.art-menu ul ul
{
   padding: 30px 30px 30px 10px;
   margin: -30px 0 0 -10px;
}





/* menu structure */

.art-menu
{
   padding: 6px 6px 6px 6px;
}

.art-nav
{
   position: relative;
   height: 38px;
   z-index: 100;
}

.art-nav .l, .art-nav .r
{
   position: absolute;
   z-index: -1;
   top: 0;
   height: 38px;
   background-image: url('../images/nav.png');
}

.art-nav .l
{
   left: 0;
   right:0px;
}

.art-nav .r
{
   right: 0;
   width: 100%;
   clip: rect(auto, auto, auto, 1024px);
}


/* end Menu */

/* begin MenuItem */
.art-menu ul li
{
   clear: both;
}

.art-menu a
{
   position:relative;
   display: block;
   overflow:hidden;
   height: 26px;
   cursor: pointer;
   text-decoration: none;
   margin-right: 3px;
   margin-left: 3px;
}


.art-menu a .r, .art-menu a .l
{
   position:absolute;
   display: block;
   top:0;
   z-index:-1;
   height: 78px;
   background-image: url('../images/MenuItem.png');
}

.art-menu a .l
{
   left:0;
   right:9px;
}

.art-menu a .r
{
   width:418px;
   right:0;
   clip: rect(auto, auto, auto, 409px);
}

.art-menu a .t
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
   color: #112327;
   padding: 0 9px;
   margin: 0 9px;
   line-height: 26px;
   text-align: center;
}

.art-menu a:hover .l, .art-menu a:hover .r
{
   top:-26px;
}

.art-menu li:hover>a .l, .art-menu li:hover>a .r
{
   top:-26px;
}

.art-menu li:hover a .l, .art-menu li:hover a .r
{
   top:-26px;
}
.art-menu a:hover .t
{
   color: #004F61;
}

.art-menu li:hover a .t
{
   color: #004F61;
}

.art-menu li:hover>a .t
{
   color: #004F61;
}



/* end MenuItem */

/* begin MenuSeparator */
.art-nav .art-menu-separator
{
   display: block;
   width: 1px;
   height: 26px;
   background-image: url('../images/MenuSeparator.png');
}

/* end MenuSeparator */

/* begin MenuSubItem */
.art-menu ul a
{
   display:block;
   text-align: center;
   white-space: nowrap;
   height: 26px;
   width: 180px;
   overflow:hidden;
   line-height: 26px;
   margin-right: auto;


   background-image: url('../images/subitem-bg.png');
   background-position: left top;
   background-repeat: repeat-x;
   border-width: 1px;
   border-style: solid;
   border-color: #0097B9;
}

.art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
   display: inline;
   float: none;
   margin: inherit;
   padding: inherit;
   background-image: none;
   text-align: inherit;
   text-decoration: inherit;
}

.art-menu ul a, .art-menu ul a:link, .art-menu ul a:visited, .art-menu ul a:hover, .art-menu ul a:active, .art-nav ul.art-menu ul span, .art-nav ul.art-menu ul span span
{
   text-align: left;
   text-indent: 12px;
   text-decoration: none;
   line-height: 26px;
   color: #FEEDE7;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
letter-spacing: 1px;
}

.art-menu ul ul a
{
   margin-left: auto;
}

.art-menu ul li a:hover
{
   color: #000000;
   border-color: #E8F7FB;
   background-position: 0 -26px;
}

.art-menu ul li:hover>a
{
   color: #000000;
   border-color: #E8F7FB;
   background-position: 0 -26px;
}

.art-nav .art-menu ul li a:hover span, .art-nav .art-menu ul li a:hover span span
{
   color: #000000;
}

.art-nav .art-menu ul li:hover>a span, .art-nav .art-menu ul li:hover>a span span
{
   color: #000000;
}


/* end MenuSubItem */

/* begin ContentLayout */
.art-contentLayout
{
   position: relative;
   margin-bottom: 0px;
   width: 100%;
   min-width: 1024px;
}
/* end ContentLayout */

/* begin Box, Block */
.art-Block
{
   position:relative;
   z-index:0;
   margin:0 auto;
   min-width:23px;
   min-height:23px;
}

.art-Block-body
{
   position: relative;
   z-index: 1;
   padding: 7px;
}

.art-Block-tr, .art-Block-tl, .art-Block-br, .art-Block-bl, .art-Block-tc, .art-Block-bc,.art-Block-cr, .art-Block-cl
{
   position:absolute;
   z-index:-1;
}

.art-Block-tr, .art-Block-tl, .art-Block-br, .art-Block-bl
{
   width: 22px;
   height: 22px;
   background-image: url('../images/Block-s.png');
}

.art-Block-tl
{
   top:0;
   left:0;
   clip: rect(auto, 11px, 11px, auto);
}

.art-Block-tr
{
   top: 0;
   right: 0;
   clip: rect(auto, auto, 11px, 11px);
}

.art-Block-bl
{
   bottom: 0;
   left: 0;
   clip: rect(11px, 11px, auto, auto);
}

.art-Block-br
{
   bottom: 0;
   right: 0;
   clip: rect(11px, auto, auto, 11px);
}

.art-Block-tc, .art-Block-bc
{
   left: 11px;
   right: 11px;
   height: 22px;
   background-image: url('../images/Block-h.png');
}

.art-Block-tc
{
   top: 0;
   clip: rect(auto, auto, 11px, auto);
}

.art-Block-bc
{
   bottom: 0;
   clip: rect(11px, auto, auto, auto);
}

.art-Block-cr, .art-Block-cl
{
   top: 11px;
   bottom: 11px;
   width: 22px;
   background-image: url('../images/Block-v.png');
}

.art-Block-cr
{
   right:0;
   clip: rect(auto, auto, auto, 11px);
}

.art-Block-cl
{
   left:0;
   clip: rect(auto, 11px, auto, auto);
}

.art-Block-cc
{
   position:absolute;
   z-index:-1;
   top: 11px;
   left: 11px;
   right: 11px;
   bottom: 11px;
   background-color: #D0E3E7;
}


.art-Block
{
   margin: 7px;
}

/* end Box, Block */

/* begin BlockHeader */
.art-BlockHeader
{
   position:relative;
   z-index:0;
   height: 30px;
   padding: 0 8px;
   margin-bottom: 4px;
}

.art-BlockHeader .t
{
   height: 30px;
   color: #A6CFD9;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
letter-spacing: 0px;
text-transform: uppercase;
   white-space : nowrap;
   padding: 0 6px;
   line-height: 30px;   
}

.art-BlockHeader .l, .art-BlockHeader .r
{
   display:block;
   position:absolute;
   z-index:-1;
   height: 30px;
   background-image: url('../images/BlockHeader.png');
}

.art-BlockHeader .l
{
   left:0;
   right:11px;
}

.art-BlockHeader .r
{
   width:1500px;
   right:0;
   clip: rect(auto, auto, auto, 1489px);
}





.art-header-tag-icon
{
    height: 30px;
   background-position:left top;
   background-image: url('../images/BlockHeaderIcon.png');
   padding:0 0 0 12px;
   background-repeat: no-repeat;
   min-height: 12px;
   margin: 0 0 0 5px;
}


/* end BlockHeader */

/* begin Box, BlockContent */
.art-BlockContent
{
   position:relative;
   z-index:0;
   margin:0 auto;
   min-width:23px;
   min-height:23px;
}

.art-BlockContent-body
{
   position: relative;
   z-index: 1;
   padding: 8px;
}

.art-BlockContent-tr, .art-BlockContent-tl, .art-BlockContent-br, .art-BlockContent-bl, .art-BlockContent-tc, .art-BlockContent-bc,.art-BlockContent-cr, .art-BlockContent-cl
{
   position:absolute;
   z-index:-1;
}

.art-BlockContent-tr, .art-BlockContent-tl, .art-BlockContent-br, .art-BlockContent-bl
{
   width: 22px;
   height: 22px;
   background-image: url('../images/BlockContent-s.png');
}

.art-BlockContent-tl
{
   top:0;
   left:0;
   clip: rect(auto, 11px, 11px, auto);
}

.art-BlockContent-tr
{
   top: 0;
   right: 0;
   clip: rect(auto, auto, 11px, 11px);
}

.art-BlockContent-bl
{
   bottom: 0;
   left: 0;
   clip: rect(11px, 11px, auto, auto);
}

.art-BlockContent-br
{
   bottom: 0;
   right: 0;
   clip: rect(11px, auto, auto, 11px);
}

.art-BlockContent-tc, .art-BlockContent-bc
{
   left: 11px;
   right: 11px;
   height: 22px;
   background-image: url('../images/BlockContent-h.png');
}

.art-BlockContent-tc
{
   top: 0;
   clip: rect(auto, auto, 11px, auto);
}

.art-BlockContent-bc
{
   bottom: 0;
   clip: rect(11px, auto, auto, auto);
}

.art-BlockContent-cr, .art-BlockContent-cl
{
   top: 11px;
   bottom: 11px;
   width: 22px;
   background-image: url('../images/BlockContent-v.png');
}

.art-BlockContent-cr
{
   right:0;
   clip: rect(auto, auto, auto, 11px);
}

.art-BlockContent-cl
{
   left:0;
   clip: rect(auto, 11px, auto, auto);
}

.art-BlockContent-cc
{
   position:absolute;
   z-index:-1;
   top: 11px;
   left: 11px;
   right: 11px;
   bottom: 11px;
   background-color: #EBF3F5;
}


.art-BlockContent-body
{
   color:#173036;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
}

.art-BlockContent-body a:link
{
   color: #0085A3;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}

.art-BlockContent-body a:visited, .art-BlockContent-body a.visited
{
   color: #5BA7B9;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
}

.art-BlockContent-body a:hover, .art-BlockContent-body a.hover
{
   color: #00B3DB;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
}

.art-BlockContent-body ul
{
   list-style-type: none;
   color: #22464F;
   margin:0;
   padding:0;
}

.art-BlockContent-body li
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
margin-left: 12px;
}

.art-BlockContent-body ul li
{
   padding:0px 0 0px 13px;
   background-image: url('../images/BlockContentBullets.png');
   background-repeat:no-repeat;
   margin:0.5em 0 0.5em 0;
   line-height:1.2em;
}

/* end Box, BlockContent */

/* begin Box, Post */
.art-Post
{
   position:relative;
   z-index:0;
   margin:0 auto;
   min-width:15px;
   min-height:15px;
}

.art-Post-body
{
   position: relative;
   z-index: 1;
   padding: 11px;
}

.art-Post-tr, .art-Post-tl, .art-Post-br, .art-Post-bl, .art-Post-tc, .art-Post-bc,.art-Post-cr, .art-Post-cl
{
   position:absolute;
   z-index:-1;
}

.art-Post-tr, .art-Post-tl, .art-Post-br, .art-Post-bl
{
   width: 14px;
   height: 14px;
   background-image: url('../images/Post-s.png');
}

.art-Post-tl
{
   top:0;
   left:0;
   clip: rect(auto, 7px, 7px, auto);
}

.art-Post-tr
{
   top: 0;
   right: 0;
   clip: rect(auto, auto, 7px, 7px);
}

.art-Post-bl
{
   bottom: 0;
   left: 0;
   clip: rect(7px, 7px, auto, auto);
}

.art-Post-br
{
   bottom: 0;
   right: 0;
   clip: rect(7px, auto, auto, 7px);
}

.art-Post-tc, .art-Post-bc
{
   left: 7px;
   right: 7px;
   height: 14px;
   background-image: url('../images/Post-h.png');
}

.art-Post-tc
{
   top: 0;
   clip: rect(auto, auto, 7px, auto);
}

.art-Post-bc
{
   bottom: 0;
   clip: rect(7px, auto, auto, auto);
}

.art-Post-cr, .art-Post-cl
{
   top: 7px;
   bottom: 7px;
   width: 14px;
   background-image: url('../images/Post-v.png');
}

.art-Post-cr
{
   right:0;
   clip: rect(auto, auto, auto, 7px);
}

.art-Post-cl
{
   left:0;
   clip: rect(auto, 7px, auto, auto);
}

.art-Post-cc
{
   position:absolute;
   z-index:-1;
   top: 7px;
   left: 7px;
   right: 7px;
   bottom: 7px;
   background-color: #EBF3F5;
}


.art-Post
{
   margin: 5px;
}

/* Start images */
a img
{
   border: 0;
}

.art-article img, img.art-article
{
   margin: 1em;
}

.art-metadata-icons img
{
   border: none;
   vertical-align: middle;
   margin: 2px;
}
/* Finish images */

/* Start tables */

.art-article table, table.art-article
{
   border-collapse: collapse;
   margin: 1px;
   width:auto;
}

.art-article table, table.art-article .art-article tr, .art-article th, .art-article td
{
   background-color:Transparent;
}

.art-article th, .art-article td
{
   padding: 2px;
   border: solid 1px #7EBAC8;
   vertical-align: top;
   text-align:left;
}

.art-article th
{
   text-align: center;
   vertical-align: middle;
   padding: 7px;
}

/* Finish tables */

pre
{
   overflow: auto;
   padding: 0.1em;
}

/* end Box, Post */

/* begin PostHeaderIcon */
.art-PostHeader
{
   text-decoration:none;
   margin: 0.2em 0;
   padding: 0;
   font-weight:normal;
   font-style:normal;
   letter-spacing:normal;
   word-spacing:normal;
   font-variant:normal;
   text-decoration:none;
   font-variant:normal;
   text-transform:none;
   text-align:left;
   text-indent:0;
   line-height:inherit;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 22px;
font-style: normal;
font-weight: bold;
letter-spacing: 2px;
text-align: left;
margin-top: 12px;
margin-bottom: 8px;
   color: #005C70;
}

.art-PostHeader a, .art-PostHeader a:link, .art-PostHeader a:visited, .art-PostHeader a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 22px;
font-style: normal;
font-weight: bold;
letter-spacing: 2px;
text-align: left;
margin-top: 12px;
margin-bottom: 8px;
   margin:0;
   color: #005C70;
}

.art-PostHeader img
{
   border:none;
   vertical-align: middle;
   margin:0;
}
/* end PostHeaderIcon */

/* begin PostHeader */
.art-PostHeader a:link
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
text-align: left;
  color: #00708A;
}

.art-PostHeader a:visited, .art-PostHeader a.visited
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
text-align: left;
  color: #377381;
}

.art-PostHeader a:hover, .art-PostHeader a.hovered
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
text-align: left;
  color: #00B3DB;
}
/* end PostHeader */

/* begin PostMetadata */
.art-PostMetadataHeader
{
   padding:1px;
   background-color: #CDE4EA;
   border-color: #9FCCD6;
border-style: dashed;
border-width: 1px;
}
/* end PostMetadata */

/* begin PostIcons */
.art-PostHeaderIcons
{
   padding:1px;
}

.art-PostHeaderIcons, .art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
letter-spacing: 1px;
   color: #28535D;
}

.art-PostHeaderIcons a, .art-PostHeaderIcons a:link, .art-PostHeaderIcons a:visited, .art-PostHeaderIcons a:hover
{
   margin:0;
}

.art-PostHeaderIcons a:link
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-style: normal;
font-weight: bold;
text-decoration: none;
   color: #007D99;
}

.art-PostHeaderIcons a:visited, .art-PostHeaderIcons a.visited
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
letter-spacing: 1px;
   color: #007D99;
}

.art-PostHeaderIcons a:hover, .art-PostHeaderIcons a.hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
   color: #00A7CC;
}
/* end PostIcons */

/* begin PostContent */
/* Content Text Font & Color (Default) */
body
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: normal;
letter-spacing: 1px;
  color: #173036;
}

.art-PostContent
{
font-family: "Times New Roman", Georgia, Times, Serif;
font-size: 15px;
letter-spacing: 1px;
  color: #173036;
}

/* Start Content link style */
/*
The right order of link pseudo-classes: Link-Visited-Hover-Focus-Active.
http://www.w3schools.com/CSS/css_pseudo_classes.asp
http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states/
*/
a
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
letter-spacing: 1px;
  color: #0085A3;
}

/* Adds special style to an unvisited link. */
a:link
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
letter-spacing: 1px;
  color: #0085A3;
}

/* Adds special style to a visited link. */
a:visited, a.visited
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
  color: #42899A;
}

/* :hover - adds special style to an element when you mouse over it. */
a:hover, a.hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
  color: #00B3DB;
}

/* Finish Content link style */

/* Resert some headings default style & links default style for links in headings*/
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
}


/* Start Content headings Fonts & Colors  */
h1, h1 a, h1 a:link, h1 a:visited, h1 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 24px;
letter-spacing: 3px;
text-align: left;
  color: #0085A3;
}

h2, h2 a, h2 a:link, h2 a:visited, h2 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 22px;
letter-spacing: 2px;
text-align: left;
  color: #00B3DB;
}

h3, h3 a, h3 a:link, h3 a:visited, h3 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 20px;
letter-spacing: 2px;
text-align: left;
  color: #316672;
}

h4, h4 a, h4 a:link, h4 a:visited, h4 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 15px;
letter-spacing: 2px;
text-align: left;
  color: #491603;
}

h5, h5 a, h5 a:link, h5 a:visited, h5 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
letter-spacing: 2px;
text-align: left;
  color: #491603;
}

h6, h6 a, h6 a:link, h6 a:visited, h6 a:hover
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
letter-spacing: 2px;
text-align: left;
  color: #491603;
}
/* Finish Content headings Fonts & Colors  */


/* end PostContent */

/* begin PostBullets */
/* Start Content list */
ol, ul
{
   color: #22464F;
   margin:1em 0 1em 2em;
   padding:0;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
text-align: left;
}

li ol, li ul
{
   margin:0.5em 0 0.5em 2em;
   padding:0;
}

li
{
   margin:0.2em 0;
   padding:0;
}

ul
{
   list-style-type: none;
}

ol
{
   list-style-position:inside;
   
}



.art-Post li
{
   padding:0px 0 0px 15px;
   line-height:1.2em;
}

.art-Post ol li, .art-Post ul ol li
{
   background: none;
   padding-left:0;
}

.art-Post ul li, .art-Post ol ul li
{
   background-image: url('../images/PostBullets.png');
   background-repeat:no-repeat;
   padding-left:15px;
}


/* Finish Content list */
/* end PostBullets */

/* begin PostQuote */
/* Start blockquote */
blockquote,
blockquote p,
.art-PostContent blockquote p
{
   color:#091315;
font-family: Georgia, "Times New Roman", Times, Serif;
font-style: italic;
font-weight: normal;
text-align: left;
}

blockquote,
.art-PostContent blockquote
{
      border:solid 1px #9FCCD6;
      margin:10px 10px 10px 50px;
   padding:5px 5px 5px 41px;
   background-color:#CDE4EA;
   background-image:url('../images/PostQuote.png');
   background-position:left top;
   background-repeat:no-repeat;
}


/* Finish blockuote */
/* end PostQuote */

/* begin Button */
.art-button-wrapper .art-button
{
   display:inline-block;
   width: auto;
   outline:none;
   border:none;
   background:none;
   line-height:34px;
   margin:0 !important;
   padding:0 !important;
   overflow: visible;
   cursor: default;
   text-decoration: none !important;
   z-index:0;
}

.art-button-wrapper
{
   display:inline-block;
   position:relative;
   height: 34px;
   overflow:hidden;
   white-space: nowrap;
   width: auto;
   z-index:0;
}

.firefox2 .art-button-wrapper
{
   display:block;
   float:left;
}

.art-button-wrapper .art-button
{
   display:block;
   height: 34px;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
letter-spacing: 1px;
   white-space: nowrap;
   text-align: left;
   padding: 0 21px !important;
   line-height: 34px;
   text-decoration: none !important;
   color: #FEEDE7 !important;
}

input, select
{
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 13px;
font-style: normal;
font-weight: bold;
letter-spacing: 1px;
}

.art-button-wrapper.hover .art-button, .art-button:hover
{
   color: #F1F7F9 !important;
   text-decoration: none !important;
}

.art-button-wrapper.active .art-button
{
   color: #EBFBFF !important;
}

.art-button-wrapper .l, .art-button-wrapper .r
{
   display:block;
   position:absolute;
   z-index:-1;
   height: 102px;
   background-image: url('../images/Button.png');
}

.art-button-wrapper .l
{
   left:0;
   right:11px;
}

.art-button-wrapper .r
{
   width:411px;
   right:0;
   clip: rect(auto, auto, auto, 400px);
}

.art-button-wrapper.hover .l, .art-button-wrapper.hover .r
{
   top: -34px;
}

.art-button-wrapper.active .l, .art-button-wrapper.active .r
{
   top: -68px;
}


/* end Button */

/* begin Footer */
.art-Footer
{
   position:relative;
   z-index:0;
   overflow:hidden;
   width: 100%;
   margin: 5px auto 0px auto;
}

.art-Footer .art-Footer-inner
{
   height:1%;
   position: relative;
   z-index: 0;
   padding: 15px;
   text-align: center;
}

.art-Footer .art-Footer-background
{
   position:absolute;
   z-index:-1;
   background-repeat:no-repeat;
   background-image: url('../images/Footer.png');
   width: 100%;
   height: 150px;
   bottom:0;
   left:0;
}


.art-rss-tag-icon
{
   position: relative;
   display:block;
   float:left;
   background-image: url('../images/livemarks.png');
   background-position: center right;
   background-repeat: no-repeat;
   margin: 0 5px 0 0;
   height: 32px;
   width: 30px;
    cursor: default;
}




.art-Footer .art-Footer-text p
{
   margin: 0;
}

.art-Footer .art-Footer-text
{
   display:inline-block;
   color:#0B1619;
font-family: Georgia, "Times New Roman", Times, Serif;
font-size: 12px;
letter-spacing: 1px;
}

.art-Footer .art-Footer-text a:link
{
   text-decoration: none;
   color: #000000;
font-family: Georgia, "Times New Roman", Times, Serif;
font-style: normal;
font-weight: bold;
text-decoration: none;
}

.art-Footer .art-Footer-text a:visited
{
   text-decoration: none;
   color: #FFFFFF;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: none;
}

.art-Footer .art-Footer-text a:hover
{
   text-decoration: none;
   color: #8FEAFF;
font-family: Georgia, "Times New Roman", Times, Serif;
text-decoration: underline;
}
/* end Footer */

/* begin PageFooter */
.art-page-footer, .art-page-footer a, .art-page-footer a:link, .art-page-footer a:visited, .art-page-footer a:hover
{
   font-family:Arial;
   font-size:10px;
   letter-spacing:normal;
   word-spacing:normal;
   font-style:normal;
   font-weight:normal;
   text-decoration:underline;
   color:#00A7CC;
}

.art-page-footer
{
   margin:1em;
   text-align:center;
   text-decoration:none;
   color:#57A6B7;
}
/* end PageFooter */

/* begin LayoutCell */
.art-contentLayout .art-sidebar1
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: left;
   overflow: hidden;
   width: 240px;
}
/* end LayoutCell */

/* begin LayoutCell */
.art-contentLayout .art-content
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: left;
   overflow: hidden;
   width: 721px;
}
.art-contentLayout .art-content-sidebar1
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: left;
   overflow: hidden;
   width: 100%;
}
.art-contentLayout .art-content-sidebar2
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: left;
   overflow: hidden;
   width: 100%;
}
.art-contentLayout .art-content-wide
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: left;
   overflow: hidden;
   width: 100%;
}
/* end LayoutCell */

/* begin LayoutCell */
.art-contentLayout .art-sidebar2
{
   position: relative;
   margin: 0;
   padding: 0;
   border: 0;
   float: right;
   overflow: hidden;
   width: 240px;
}
/* end LayoutCell */



table.moduletable th
{
   font-size: 140%;
   padding: .5em 0em;
}

.firefox2 table.poll tr td div
{
   font-size:0;
}

#footer
{
   text-align: center;
}

.breadcrumbs
{
   display: block;
   padding: .7em 0em;
}

.contentpaneopen span.small, .contentpaneopen td.createdate, .contentpaneopen td.modifydate
{
   font-size: 75%;
   padding-bottom: 1em;
}

.column_separator
{
   padding-left: .4em;
}

.pagination span
{
   padding: 2px;
}

.pagination a
{
   padding: 2px;
}

div.offline
{
   background: #fffebb;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
   font-size: 1.2em;
   padding: 5px;
}

span.pathway
{
   display: block;
   margin: 0 20px;
   overflow: hidden;
}

/* headers */
table.moduletable th, legend
{
   margin: 0;
   font-weight: bold;
   font-family: Helvetica,Arial,sans-serif;
   font-size: 1.5em;
   padding-left: 0px;
   margin-bottom: 10px;
   text-align: left;
}

/* form validation */
.invalid
{
   border-color: #ff0000;
}

label.invalid
{
   color: #ff0000;
}


/** overlib **/

.ol-foreground
{
   background-color: #f6f6f6;
}

.ol-background
{
   background-color: #666;
}

.ol-textfont
{
   font-family: Arial, Helvetica, sans-serif;
   font-size: 10px;
}

.ol-captionfont
{
   font-family: Arial, Helvetica, sans-serif;
   font-size: 12px;
   color: #f6f6f6;
   font-weight: bold;
}

.ol-captionfont a
{
   color: #0B55C4;
   text-decoration: none;
   font-size: 12px;
}

/* spacers */
span.article_separator
{
   display: none;
}

.column_separator
{
   padding-left: 10px;
}

td.buttonheading img
{
   border: none;
}

.clr
{
   clear: both;
}

div#maindivider
{
   border-top: 1px solid #ddd;
   margin-bottom: 10px;
   overflow: hidden;
   height: 1px;
}

table.blog span.article_separator
{
   display: none;
}

/* edit button */
.contentpaneopen_edit
{
   float: left;
}

/* table of contents */
table.contenttoc
{
   margin: 5px;
   border: 1px solid #ccc;
   padding: 5px;
   float: right;
}

table.contenttoc td
{
   padding: 0 5px;
}


/* content tables */
td.sectiontableheader
{
   background: #efefef;
   color: #333;
   font-weight: bold;
   padding: 4px;
   border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td
{
   padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2
{
   padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane
{
   margin: 0;
   padding: 0;
   width: auto;
}

table.contentpaneopen li
{
   margin-bottom: 5px;
}

table.contentpaneopen fieldset
{
   border: 0;
   border-top: 1px solid #ddd;
}

table.contentpaneopen h3
{
   margin-top: 25px;
}

table.contentpaneopen h4
{
   font-family: Arial, Helvetica, sans-serif;
   color: #333;
}

.highlight
{
   background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable
{
   margin-bottom: 0px;
}

div.moduletable, div.module
{
   margin-bottom: 25px;
}

div.module_menu h3
{
   font-family: Helvetica, Arial, sans-serif;
   font-size: 12px;
   font-weight: bold;
   color: #eee;
   margin: -23px -4px 5px -5px;
   padding-left: 10px;
   padding-bottom: 2px;
}

div.module_menu
{
   margin: 0;
   padding: 0;
   margin-bottom: 15px;
}

div.module_menu div div div
{
   padding: 10px;
   padding-top: 30px;
   padding-bottom: 15px;
   width: auto;
}

div.module_menu div div div div
{
   background: none;
   padding: 0;
}

div.module_menu ul
{
   margin: 10px 0;
   padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited
{
   font-weight: bold;
}

#leftcolumn div.module
{
   padding: 0 10px;
}

#leftcolumn div.module table
{
   width: auto;
}

/* forms */
table.adminform textarea
{
   width: 540px;
   height: 400px;
   font-size: 1em;
   color: #000099;
}

div.search input
{
   width: 145px;
   border: 1px solid #ccc;
   margin: 15px 0 10px 0;
}

form#form-login
{
   text-align: left;
}

form#form-login fieldset
{
   border: 0 none;
   margin: 0;
   padding: 0.2em;
}

form#form-login ul
{
   list-style-type: none;
   margin: 0;
   padding: 0;
}

form#form-login ul li
{
   background-image: none;
   padding: 0;
}

#modlgn_username, #modlgn_passwd
{
   width: 90%;
}

#form-login-username, #form-login-password, #form-login-remember
{
   display: block;
   margin: 0;
}

form#com-form-login
{
   text-align: left;
}

form#com-form-login fieldset
{
   border: 0 none;
   margin: 0;
   padding: 0.2em;
}

form#com-form-login ul
{
   list-style-type: none;
   margin: 0;
   padding: 0;
}

form#com-form-login ul li
{
   background-image: none;
   padding: 0;
}

/* thumbnails */
div.mosimage
{
   margin: 5px;
}

div.mosimage_caption {
   font-size: .90em;
   color: #666;
}

div.caption
{
   padding: 0 10px 0 10px;
}

div.caption img
{
   border: 1px solid #CCC;
}

div.caption p
{
   font-size: .90em;
   color: #666;
   text-align: center;
}

/* Parameter Table */
table.paramlist
{
   margin-top: 5px;
}

table.paramlist td.paramlist_key
{
   width: 128px;
   text-align: left;
   height: 30px;
}

div.message
{
   font-weight: bold;
   font-size: 14px;
   color: #c30;
   text-align: center;
   width: auto;
   background-color: #f9f9f9;
   border: solid 1px #d5d5d5;
   margin: 3px 0px 10px;
   padding: 3px 20px;
}

/* Banners module */

/* Default skyscraper style */
.banneritem img
{
   display: block;
   margin-left: auto;
   margin-right: auto;
}

/* Text advert style */

.banneritem_text
{
   padding: 4px;
   font-size: 11px;
}

.bannerfooter_text
{
   padding: 4px;
   font-size: 11px;
   background-color: #f7f7f7;
   text-align: right;
}

/* System Messages */
/* see system general.css */

.pagination span
{
   padding: 2px;
}

.pagination a
{
   padding: 2px;
}

/* Polls */
.pollstableborder
{
   margin-top: 8px;
}


.pollstableborder td
{
   text-align: left;
   
}

/* WebLinks */
span.description
{
   display: block;
   padding-left: 30px;
}

/* Frontend Editing*/
fieldset
{
   border: 1px solid #ccc;
   margin-top: 15px;
   padding: 15px;
}

legend
{
   margin: 0;
   padding: 0 10px;
}

td.key
{
   border-bottom: 1px solid #eee;
   color: #666;
}

/* Tooltips */

.tool-tip
{
   float: left;
   background: #ffc;
   border: 1px solid #d4d5aa;
   padding: 5px;
   max-width: 200px;
}

.tool-title
{
   padding: 0;
   margin: 0;
   font-size: 100%;
   font-weight: bold;
   margin-top: -15px;
   padding-top: 15px;
   padding-bottom: 5px;
   background: url(../../system/images/selector-arrow.png) no-repeat;
}

.tool-text
{
   font-size: 100%;
   margin: 0;
}

/* System Standard Messages */
#system-message
{
   margin-bottom: 20px;
}

#system-message dd.message ul
{
   background: #c3d2e5 url(../../system/images/notice-info.png) 4px center no-repeat;
   border-top: 3px solid #de7a7b;
   border-bottom: 3px solid #de7a7b;
   margin:0px;
   padding-left: 40px;
   text-indent:0px;
}

/* System Error Messages */
#system-message dd.error ul
{
   color: #c00;
   background: #e6c0c0 url(../../system/images/notice-alert.png) 4px center no-repeat;
   border-top: 3px solid #DE7A7B;
   border-bottom: 3px solid #DE7A7B;
   margin: 0px;
   padding-left: 40px;
   text-indent: 0px;
}

/* System Notice Messages */
#system-message dd.notice ul
{
   color: #c00;
   background: #efe7b8 url(../../system/images/notice-note.png) 4px center no-repeat;
   border-top: 3px solid #f0dc7e;
   border-bottom: 3px solid #f0dc7e;
   margin: 0px;
   padding-left: 40px;
   text-indent: 0px;
 }

#syndicate
{
   float: left;
   padding-left: 25px;
}

/* Component Specific Fixes */

#component-contact table td
{
   padding: 2px 0;
}

.breadcrumbs img
{
   margin: 0px;
   padding: 0px;
   border: 0px;
}

.mceToolbarTop {
   white-space: normal;
}

.mceEditor
{
   background: none;
}

#archive-list
{
   list-style-type: none;
   margin: 0px;
   padding: 0px;
}

#archive-list li
{
   list-style-type: none;
   background-image: none;
   margin-left: 0px;
   padding-left: 0px;
}

#navigation
{
   text-align: center;
}

.article h3 img
{
   border: none;
   display: inline;
   margin: 0;
   padding: 0;
}

.art-Footer-text .moduletable
{
   border: none;
   margin: 0;
   padding: 0;
}

.pollstableborder td {
   vertical-align: middle;
}

.img_caption.left
{
   float: left;
   margin-right: 1em;
}

.img_caption.right
{
   float: right;
   margin-left: 1em;
}

.img_caption.left p
{
   clear: left;
   text-align: center;
}

.img_caption.right p
{
   clear: right;
   text-align: center;
}

.img_caption img
{
   margin: 0em;
}

.contentheading
{
font-family: Georgia, "Times New Roman", Times, Serif;
   font-size: 20px;
   letter-spacing: 2px;
   text-align: left;
   color: #316672;
}

/* Plugin compatilibity. */

/* 152316, DOCman */

.dm_taskbar ul
{
   background-image: none;
   margin: 0px;
   padding: 0px;
}

.dm_taskbar ul li
{
   background-image: none;
}
[/spoiler]
*

gdX

  • Глобальный модератор
  • 995
  • 128 / 0
  • Открыт к заказам по дизайну
*

Свят

  • Осваиваюсь на форуме
  • 44
  • 1 / 0
  • Не прыгаю за бабочками, они сами липнут ко мне...
Если дадите ссылку на проблемный сайт, то поможет больше.

Спасибо за совет. Сайт mixtland.ru, только там немного не тот шаблон, который я выше выкладывал, тот что стоит на сайте тоже не получилось плавающим сделать под 1024px по ширине.
*

Vovan-V

  • Осваиваюсь на форуме
  • 24
  • 2 / 0
  • Не остановит нас великий затуп
Тоже как то мучился с резиной, удалось сделать через принудительный рассчет ширины в JS и постановой по ID TD-шек
Вариант - мой сайт (см под аватаром)
*

Свят

  • Осваиваюсь на форуме
  • 44
  • 1 / 0
  • Не прыгаю за бабочками, они сами липнут ко мне...
Тоже как то мучился с резиной, удалось сделать через принудительный рассчет ширины в JS и постановой по ID TD-шек
Вариант - мой сайт (см под аватаром)
Спасибо за ответ, хоть какая-то пища для размышлений
*

Vovan-V

  • Осваиваюсь на форуме
  • 24
  • 2 / 0
  • Не остановит нас великий затуп
Спасибо за ответ, хоть какая-то пища для размышлений

function GetCenterSize() {

  var screenW=window.screen.width
  var TDW=new Array (0,205,20,0,20,205)
  
  for (i=1;i<6; i++)
   {
   TDW[0]=TDW[0]+TDW[ИИИ]
   }
  
  if (screenW<810) {
  TDW=(0,102,0,0,0,102)
      for (i=1;i<6; i++)
      {
      TDW[0]=TDW[0]+TDW[ИИИ]
      }
    }

  TDW[3]=screenW-TDW[0]
  
  document.getElementById("T3_1").width=TDW[1]
  document.getElementById("T3_2").width=TDW[2]
  document.getElementById("T3_3").width=TDW[3]
  document.getElementById("T3_4").width=TDW[4]
  document.getElementById("T3_5").width=TDW[5]


 // alert ("Screen: "+screenW + " TDС: "+ TDW)
  
 // alert (document.getElementById("T3_1").width)

  
  
   }

Юзай :)
ИИИ = i
*

Vovan-V

  • Осваиваюсь на форуме
  • 24
  • 2 / 0
  • Не остановит нас великий затуп
И не забудь потом в OnLoad запихать

<IMG SRC="BaseImg/spacer.gif" OnLoad="GetCenterSize()">
Картинку надо кидать в самом конце (это нулевка 1х1 точек - тупо для принудительного старта скрипта)
Грузить через боди не рекомендую - он на IE8 не работает ,,, часто

Надеюсь писать-грузить сам скрипт в шапке умеешь? :)
*

Свят

  • Осваиваюсь на форуме
  • 44
  • 1 / 0
  • Не прыгаю за бабочками, они сами липнут ко мне...
Надеюсь писать-грузить сам скрипт в шапке умеешь? :)

Если честно это мой первый сайт=)... и в программировании я неочень... но придётся разбираться видимо)
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как сделать?

Автор Twins

Ответов: 3
Просмотров: 1859
Последний ответ 01.07.2021, 13:11:51
от xpank
Как сделать кнопку формы аккаунта?

Автор Evgen Kulibin

Ответов: 0
Просмотров: 1023
Последний ответ 22.04.2021, 22:15:06
от Evgen Kulibin
Как сделать плавающий модуль?

Автор THeCMeX

Ответов: 2
Просмотров: 1181
Последний ответ 08.03.2021, 22:21:01
от Flexderection
[Решено] Как сделать чтобы фотография открылась в отдельном окне?

Автор a-two

Ответов: 11
Просмотров: 2119
Последний ответ 03.11.2020, 16:57:40
от Nikolay89
Как сделать плавающий блок/модуль. Пример есть!

Автор Good_user

Ответов: 8
Просмотров: 12421
Последний ответ 04.04.2020, 13:49:11
от jan_dax