Группы меток

  • chumak1974
  • chumak1974's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago #706 by chumak1974
Группы меток was created by chumak1974
Как вывести чтобы группы меток отображались не колонкой а одной строкой?

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #707 by Dima
Replied by Dima on topic Re: Группы меток
Добрый вечер.
Укажите external-стиль для списка и в своем шаблоне пропишите стили, чтобы вытянуть в строчку

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • chumak1974
  • chumak1974's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago - 11 years 10 months ago #708 by chumak1974
Replied by chumak1974 on topic Re: Группы меток
Или это на делать в файле default.php в месте строки 741-769
$divmarkergroup = '<div id="YMapsMenu'.$markergroupcssstyle.'" style="margin:0;padding:0;width:100%;">';

        if ($map->markergrouptitle != "")
        {
            $divmarkergroup .= '<div id="groupList"><h2 id="groupListHeadTitle" class="groupListHead">'.htmlspecialchars($map->markergrouptitle , ENT_QUOTES, 'UTF-8').'</h2></div>';
        }
        
        if ($map->markergroupdesc1 != "")
        {
            $divmarkergroup .= '<div id="groupListBodyTopContent" class="groupListBodyTop">'.htmlspecialchars($map->markergroupdesc1 , ENT_QUOTES, 'UTF-8').'</div>';
        }

        if (isset($map->markergroupsep1) && (int)$map->markergroupsep1 == 1) 
        {
            $divmarkergroup .= '<hr id="groupListLineTop">';
        }

		$divmarkergroup .= '<ul id="zhym-menu'.$markergroupcssstyle.'">';
		$divmarkergroup .= '</ul>';

        if (isset($map->markergroupsep2) && (int)$map->markergroupsep2 == 1) 
        {
            $divmarkergroup .= '<hr id="groupListLineBottom">';
        }
        
        if ($map->markergroupdesc2 != "")
        {
            $divmarkergroup .= '<div id="groupListBodyBottomContent" class="groupListBodyBottom">'.htmlspecialchars($map->markergroupdesc2 , ENT_QUOTES, 'UTF-8').'</div>';
        }
???
Last edit: 11 years 10 months ago by chumak1974.

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #709 by Dima
Replied by Dima on topic Re: Группы меток
Я же написал, стилями.
Это позволяет без изменения кода изменить внешний вид.
Вы же не хотите менять код как только будут выходть новые релизы, или не обновлять расширения

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • chumak1974
  • chumak1974's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago - 11 years 10 months ago #721 by chumak1974
Replied by chumak1974 on topic Re: Группы меток
Что то я вообще туплю, не получается вытянуть в одну колонку.
ФАйл ЦСС
#YMapsMenu-advanced ul
{
padding: 0;
font-family: Arial, Helvetica, sans-serif;
line-height: 37px
 }

#YMapsMenu-advanced a
{
padding: 3px;
background-color: #cb260a;
border-bottom: 1px solid #fff;
        }

#YMapsMenu-advanced a:link, #zhym-menu-advanced a:visited
{
color: #fff;
text-decoration: none;
}

#YMapsMenu-advanced #zhym-menu-advanced a.active {
background-color: #8e1f0b;
color: #fff;
                    }
#YMapsMenu-advanced a:hover
{
background-color: #8e1f0b;
color: #eee;
}



#YMapsMenu-simple #zhym-menu-simple {
              margin-left: auto;
              padding: 0;
           }

#YMapsMenu-simple #zhym-menu-simple a {
                text-decoration: none;
             }
            
#YMapsMenu-simple #zhym-menu-simple a.active {
                       color: #000;
                    }

Помогите пожалуйста, чтобы метки были одной строкой, а не одной колонкой.
Attachments:
Last edit: 11 years 10 months ago by chumak1974.

Please Log in or Create an account to join the conversation.

  • chumak1974
  • chumak1974's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago #732 by chumak1974
Replied by chumak1974 on topic Re: Группы меток
Здравствуйте! По моему вопросу можно что нибудь решить?

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds

Donate


Go to top