<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум АлаичЪ'а о SEO - 2 разных плеера для видео]]></title>
	<link rel="self" href="https://talk.alaev.info/feed/atom/topic/1490/" />
	<updated>2015-12-22T13:45:10Z</updated>
	<generator>PunBB</generator>
	<id>https://talk.alaev.info/topic/1490/</id>
		<entry>
			<title type="html"><![CDATA[Re: 2 разных плеера для видео]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/9931/#p9931" />
			<content type="html"><![CDATA[<p>есть подробней инструкция??</p>]]></content>
			<author>
				<name><![CDATA[Mark86]]></name>
				<uri>https://talk.alaev.info/user/1180/</uri>
			</author>
			<updated>2015-12-22T13:45:10Z</updated>
			<id>https://talk.alaev.info/post/9931/#p9931</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2 разных плеера для видео]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/9741/#p9741" />
			<content type="html"><![CDATA[<p>Сделал следующее <br />создал файл&nbsp; tabs.js в папку js шаблона<br />код tabs.js<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>jQuery.fn.ttabs = function(options){<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; var options = jQuery.extend({</p><p>&nbsp; &nbsp; &nbsp; &nbsp; activeClass: &#039;active-ttab&#039; // Класс активной вкладки<br />&nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; },options);<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; return this.each(function() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; $(this).find(&#039;.tt-panel:first&#039;).show(0);<br />&nbsp; &nbsp; &nbsp; &nbsp; $(this).find(&#039;.index-tabs span:first&#039;).addClass(options.activeClass);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; $(this).find(&#039;.index-tabs span&#039;).click(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; function() {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).parent().parent().find(&#039;.index-panel .tt-panel&#039;).hide(0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var numEl= $(this).index();<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).parent().parent().find(&#039;.index-panel .tt-panel&#039;).eq(numEl).show();&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).parent().find(&#039;span&#039;).removeClass(options.activeClass);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(this).addClass(options.activeClass);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; );<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; });<br />&nbsp; &nbsp; <br />};</p><br /><br /><p>/*<br /> * активируем плагин и применяем его<br />*/<br />$(document).ready(function(){<br />$(&#039;.tt-tabs&#039;).ttabs();<br />});</p></div></div><p>В fullstory.tpl вставил <br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>&lt;div class=&quot;tt-tabs&quot;&gt;<br />&nbsp; &nbsp; &lt;div class=&quot;index-tabs&quot;&gt;<br />&nbsp; &nbsp; &lt;span class=&quot;active-ttab&quot;&gt;Кино&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;&quot;&gt;Трейлер&lt;/span&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &lt;div class=&quot;index-panel&quot;&gt;</p><p>&nbsp; &nbsp; &lt;div class=&quot;tt-panel&quot; style=&quot;display: block;&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;noindex&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;kodik-player&quot;&gt;&lt;/div&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/noindex&gt;<br />&nbsp; &nbsp; &lt;/div&gt;</p><p>&nbsp; &nbsp; &lt;div class=&quot;tt-panel&quot; style=&quot;display: none;&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;noindex&gt;<br />&lt;center&gt;[xfgiven_treiler]&lt;br/&gt;&lt;iframe src=&quot;[xfvalue_treiler]&quot; width=&quot;480&quot; height=&quot;300&quot; frameborder=&quot;0&quot;&nbsp; rel=&quot;nofollow&quot; &gt;&lt;/iframe&gt;[/xfgiven_treiler]&lt;/center&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/noindex&gt;<br />&nbsp; &nbsp; &lt;/div&gt;<br />&nbsp; &nbsp; &lt;/div&gt;<br />&lt;/div&gt;</p></div></div><p>В css/style.css добавил<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>.index-tabs {<br />background: #000000;<br />border: 2px solid #CCCCCC;<br />border-bottom: none;<br />border-radius: 10px 10px 0 0;<br />overflow: hidden;<br />}<br />.index-tabs span {<br />cursor: pointer;<br />margin: 0 5px 7px 0;<br />float: left;<br />padding: 5px;<br />background: -moz-linear-gradient(center top , #FFFFFF 0%, #ddd 100%);<br />color: #929191;<br />}<br />.active-ttab {<br />font: bold 14px Arial,Helvetica,sans-serif;<br />color: #fff !important;<br />background: -moz-linear-gradient(center top , #EB516B 0%, #410110 100%) !important;<br />}</p></div></div><p>Но плееры не переключаются...</p>]]></content>
			<author>
				<name><![CDATA[xxEmagExx]]></name>
				<uri>https://talk.alaev.info/user/1054/</uri>
			</author>
			<updated>2015-09-09T09:21:43Z</updated>
			<id>https://talk.alaev.info/post/9741/#p9741</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 2 разных плеера для видео]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/9740/#p9740" />
			<content type="html"><![CDATA[<p>Табы на jQuery.</p>]]></content>
			<author>
				<name><![CDATA[kloboff]]></name>
				<uri>https://talk.alaev.info/user/439/</uri>
			</author>
			<updated>2015-09-09T08:26:18Z</updated>
			<id>https://talk.alaev.info/post/9740/#p9740</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[2 разных плеера для видео]]></title>
			<link rel="alternate" href="https://talk.alaev.info/post/9739/#p9739" />
			<content type="html"><![CDATA[<p>Добрый день. Подскажите как сделать что-то подобное?</p>]]></content>
			<author>
				<name><![CDATA[xxEmagExx]]></name>
				<uri>https://talk.alaev.info/user/1054/</uri>
			</author>
			<updated>2015-09-09T08:06:26Z</updated>
			<id>https://talk.alaev.info/post/9739/#p9739</id>
		</entry>
</feed>
