<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Движок сайтов S2 — HTML-код метки <!-- s2_back_forward -->]]></title>
	<link rel="self" href="https://s2cms.ru/forum/feed/atom/topic/72/"/>
	<updated>2011-12-08T20:15:42Z</updated>
	<generator>PunBB</generator>
	<id>https://s2cms.ru/forum/topic/72/</id>
		<entry>
			<title type="html"><![CDATA[Re: HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/339/#p339"/>
			<content type="html"><![CDATA[<p>Как обычно, свежие архивы здесь: <a href="http://s2cms.ru/downloads/development/">http://s2cms.ru/downloads/development/</a>.</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-08T20:15:42Z</updated>
			<id>https://s2cms.ru/forum/post/339/#p339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/338/#p338"/>
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Я имел в виду скрыть те, которые есть в HTML, и вставить ваши через псевдоэлементы :before и :after.</p></blockquote></div><p>Сделал по-своему — получилось. Только вот стрелки в ссылку добавляются, что портит все.</p><div class="quotebox"><blockquote><p>Но я сделал по-своему: <a href="http://s2cms.ru/trac/changeset/1061">http://s2cms.ru/trac/changeset/1061</a> <br />Теперь в стандартном стиле стрелка без ссылки серая.</p></blockquote></div><p>Отлично. Я могу просто скрыть ее с помощью visibility: hidden. Такой вариант меня устраивает. Как скачать обновление?</p>]]></content>
			<author>
				<name><![CDATA[tataRen]]></name>
				<uri>https://s2cms.ru/forum/user/16/</uri>
			</author>
			<updated>2011-12-08T19:01:00Z</updated>
			<id>https://s2cms.ru/forum/post/338/#p338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/333/#p333"/>
			<content type="html"><![CDATA[<p>Я имел в виду скрыть те, которые есть в HTML, и вставить ваши через псевдоэлементы :before и :after.</p><p>Но я сделал по-своему: <a href="http://s2cms.ru/trac/changeset/1061">http://s2cms.ru/trac/changeset/1061</a><br />Теперь в стандартном стиле стрелка без ссылки серая.</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-07T20:59:39Z</updated>
			<id>https://s2cms.ru/forum/post/333/#p333</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/331/#p331"/>
			<content type="html"><![CDATA[<p>Я не хочу скрывать стрелки полностью. Только если она никуда не ведет.</p>]]></content>
			<author>
				<name><![CDATA[tataRen]]></name>
				<uri>https://s2cms.ru/forum/user/16/</uri>
			</author>
			<updated>2011-12-07T20:23:58Z</updated>
			<id>https://s2cms.ru/forum/post/331/#p331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/329/#p329"/>
			<content type="html"><![CDATA[<p>А мне кажется, что стрелки должны отображаться. Иначе их бы там не было.</p><p>В принципе, вы просто можете скрыть стрелки через<br /></p><div class="codebox"><pre><code>.back_forward .arrow {
    display: none;
}</code></pre></div><p>Я думаю, что проще добавить к пустому элементу li еще один класс, например, empty.</p>]]></content>
			<author>
				<name><![CDATA[Роман]]></name>
				<uri>https://s2cms.ru/forum/user/2/</uri>
			</author>
			<updated>2011-12-07T19:21:46Z</updated>
			<id>https://s2cms.ru/forum/post/329/#p329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[HTML-код метки <!-- s2_back_forward -->]]></title>
			<link rel="alternate" href="https://s2cms.ru/forum/post/327/#p327"/>
			<content type="html"><![CDATA[<p>&lt;!-- s2_back_forward --&gt; - данная метка создает ссылки на соседние страницы в разделе. Если в разделе всего одна страница, то получаются 2 пустых стрелки, которые не должны показываться, если нет ссылок. </p><p>Может вместо класса arrow сделать добавление таких стрелок ч/з :before и :after? </p><p>Что-то вроде такого:</p><div class="codebox"><pre><code>ul li.back a:before {
content: &#039;←&#039;;
}
ul li.forward a:after {
content: &#039;→&#039;;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[tataRen]]></name>
				<uri>https://s2cms.ru/forum/user/16/</uri>
			</author>
			<updated>2011-12-07T18:55:10Z</updated>
			<id>https://s2cms.ru/forum/post/327/#p327</id>
		</entry>
</feed>
