Перейти к публикации

Переключатель серий (Дефекты кода)


Рекомендованные сообщения

Установил переключатель плеера - при нажатии на выбор серии - страница перелистывается вверх. Пример: http://dirfilms.net/serial/430-univer-novaya-obschaga-2-sezon.html

Думаю что в конце код неправильно закрыт..

Код:


[xfgiven_1kset]


<div id="serial_tab" class="serial_tab">

<div class="serial_tab_top"></div>

<div class="serial_tab_input">


<a href="#" rel="seria1" class="selected"><span>1</span></a>

[xfgiven_2kset]<a href="#" rel="seria2"><span>2</span></a>[/xfgiven_2kset]

[xfgiven_3kset]<a href="#" rel="seria3"><span>3</span></a>[/xfgiven_3kset]

[xfgiven_4kset]<a href="#" rel="seria4"><span>4</span></a>[/xfgiven_4kset]

[xfgiven_5kset]<a href="#" rel="seria5"><span>5</span></a>[/xfgiven_5kset]

[xfgiven_6kset]<a href="#" rel="seria6"><span>6</span></a>[/xfgiven_6kset]

[xfgiven_7kset]<a href="#" rel="seria7"><span>7</span></a>[/xfgiven_7kset]

[xfgiven_8kset]<a href="#" rel="seria8"><span>8</span></a>[/xfgiven_8kset]

[xfgiven_9kset]<a href="#" rel="seria9"><span>9</span></a>[/xfgiven_9kset]

[xfgiven_10kset]<a href="#" rel="seria10"><span>10</span></a>[/xfgiven_10kset]

[xfgiven_11kset]<a href="#" rel="seria11"><span>11</span></a>[/xfgiven_11kset]

[xfgiven_12kset]<a href="#" rel="seria12"><span>12</span></a>[/xfgiven_12kset]

[xfgiven_13kset]<a href="#" rel="seria13"><span>13</span></a>[/xfgiven_13kset]

[xfgiven_14kset]<a href="#" rel="seria14"><span>14</span></a>[/xfgiven_14kset]

[xfgiven_15kset]<a href="#" rel="seria15"><span>15</span></a>[/xfgiven_15kset]

[xfgiven_16kset]<a href="#" rel="seria16"><span>16</span></a>[/xfgiven_16kset]

[xfgiven_17kset]<a href="#" rel="seria17"><span>17</span></a>[/xfgiven_17kset]

[xfgiven_18kset]<a href="#" rel="seria18"><span>18</span></a>[/xfgiven_18kset]

[xfgiven_19kset]<a href="#" rel="seria19"><span>19</span></a>[/xfgiven_19kset]

[xfgiven_20kset]<a href="#" rel="seria20"><span>20</span></a>[/xfgiven_20kset]

[xfgiven_21kset]<a href="#" rel="seria21"><span>21</span></a>[/xfgiven_21kset]

[xfgiven_22kset]<a href="#" rel="seria22"><span>22</span></a>[/xfgiven_22kset]

[xfgiven_23kset]<a href="#" rel="seria23"><span>23</span></a>[/xfgiven_23kset]

[xfgiven_24kset]<a href="#" rel="seria24"><span>24</span></a>[/xfgiven_24kset]

[xfgiven_25kset]<a href="#" rel="seria25"><span>25</span></a>[/xfgiven_25kset]

[xfgiven_26kset]<a href="#" rel="seria26"><span>26</span></a>[/xfgiven_26kset]

[xfgiven_27kset]<a href="#" rel="seria27"><span>27</span></a>[/xfgiven_27kset]

[xfgiven_28kset]<a href="#" rel="seria28"><span>28</span></a>[/xfgiven_28kset]

[xfgiven_29kset]<a href="#" rel="seria29"><span>29</span></a>[/xfgiven_29kset]

[xfgiven_30kset]<a href="#" rel="seria30"><span>30</span></a>[/xfgiven_30kset]


</div>

</div>


<div id="seria1" class="tabcontent" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_1kset]" /></object>

</div>


[xfgiven_2kset]<div id="seria2" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_2kset]" /></object>

</div>[/xfgiven_2kset]


[xfgiven_3kset]<div id="seria3" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_3kset]" /></object>

</div>[/xfgiven_3kset]


[xfgiven_4kset]<div id="seria4" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_4kset]" /></object>

</div>[/xfgiven_4kset]


[xfgiven_5kset]<div id="seria5" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_5kset]" /></object>

</div>[/xfgiven_5kset]


[xfgiven_6kset]<div id="seria6" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_6kset]" /></object>

</div>[/xfgiven_6kset]


[xfgiven_7kset]<div id="seria7" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_7kset]" /></object>

</div>[/xfgiven_7kset]


[xfgiven_8kset]<div id="seria8" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_8kset]" /></object>

</div>[/xfgiven_8kset]


[xfgiven_9kset]<div id="seria9" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_9kset]" /></object>

</div>[/xfgiven_9kset]


[xfgiven_10kset]<div id="seria10" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_10kset]" /></object>

</div>[/xfgiven_10kset]


[xfgiven_11kset]<div id="seria11" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_11kset]" /></object>

</div>[/xfgiven_11kset]


[xfgiven_12kset]<div id="seria12" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_12kset]" /></object>

</div>[/xfgiven_12kset]


[xfgiven_13kset]<div id="seria13" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_13kset]" /></object>

</div>[/xfgiven_13kset]


[xfgiven_14kset]<div id="seria14" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_14kset]" /></object>

</div>[/xfgiven_14kset]


[xfgiven_15kset]<div id="seria15" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_15kset]" /></object>

</div>[/xfgiven_15kset]


[xfgiven_16kset]<div id="seria16" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_16kset]" /></object>

</div>[/xfgiven_16kset]


[xfgiven_17kset]<div id="seria17" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_17kset]" /></object>

</div>[/xfgiven_17kset]


[xfgiven_18kset]<div id="seria18" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_18kset]" /></object>

</div>[/xfgiven_18kset]


[xfgiven_29kset]<div id="seria20" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_19kset]" /></object>

</div>[/xfgiven_29kset]


[xfgiven_20kset]<div id="seria20" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_20kset]" /></object>

</div>[/xfgiven_20kset]


[xfgiven_21kset]<div id="seria21" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_21kset]" /></object>

</div>[/xfgiven_21kset]


[xfgiven_22kset]<div id="seria22" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_22kset]" /></object>

</div>[/xfgiven_22kset]


[xfgiven_23kset]<div id="seria23" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_23kset]" /></object>

</div>[/xfgiven_23kset]


[xfgiven_24kset]<div id="seria24" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_24kset]" /></object>

</div>[/xfgiven_24kset]


[xfgiven_25kset]<div id="seria25" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_25kset]" /></object>

</div>[/xfgiven_25kset]


[xfgiven_26kset]<div id="seria26" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_26kset]" /></object>

</div>[/xfgiven_26kset]


[xfgiven_27kset]<div id="seria27" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_27kset]" /></object>

</div>[/xfgiven_27kset]


[xfgiven_28kset]<div id="seria28" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_28kset]" /></object>

</div>[/xfgiven_28kset]


[xfgiven_29kset]<div id="seria29" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_29kset]" /></object>

</div>[/xfgiven_29kset]


[xfgiven_30kset]<div id="seria30" style="display: none;">

<object data="http://st.kset.kz/pl/pl.swf?v=5" type="application/x-shockwave-flash" width="570" height="350" name="flash_object" id="flash_object"><param name="bgcolor" value="#ffffff" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="movie" value="http://st.kset.kz/pl/pl.swf" /><param name="flashvars" value="st=http://kset.kz/v.php?id=[xfvalue_30kset]" /></object>

</div>[/xfgiven_30kset]


</div>


<script type="text/javascript">


var countries=new ddtabcontent("serial_tab")

countries.setpersist(true)

countries.setselectedClassTarget("link") //"link" or "linkparent"

countries.init()


</script>



[/xfgiven_1kset]

Ссылка на сообщение
Поделиться на других сайтах

Присоединяйтесь к обсуждению

Вы можете опубликовать сообщение сейчас, а зарегистрироваться позже. Если у вас есть аккаунт, войдите в него для написания от своего имени.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

×
×
  • Создать...