нужное
html и скрипты
Страница: 1
Сообщений 1 страница 7 из 7
Поделиться12015-07-12 10:30:30
Поделиться22015-07-12 10:31:18
Код:
<!-- убрать награды из навигации --> <style type="text/css"> li#navawards {display: none;} </style> <style> .punbb .post .post-author { width: 212px; padding-top:3px; text-align:center; } </style>
Поделиться32015-07-12 10:32:39
Код:
<!--noindex--> <div id="pun-announcement" class="section"> <h2><span>Объявление</span></h2> <div class="container"> <div class="html-box"> <div style="position: absolute; line-height: 1.0em; color: #bdac99; margin-left: -140px; margin-top: -347px;"> <center> <table border=0 width="100px"> <tr><td> <center> <div id="sm1" class="submenutext" style="display: block;"><div style="width: 380px; height: 180px; padding: 15px;"><br><br><br><a href="http://korean-academy.ru/profile.php?id=2255"><img src="http://sh.uploads.ru/9b06v.png" title="томат дня: Seo In Young"></a> <a href="http://korean-academy.ru/profile.php?id=2603"><img src="http://sh.uploads.ru/psm8f.png" title="огурец дня: Woo Ji Seok"></a> <a href="http://korean-academy.ru/profile.php?id=2651"><img src="http://sg.uploads.ru/cbhSk.png" title="томат недели: Kim Seok Jin"></a><br><br><a href="http://korean-academy.ru/profile.php?id=2405"><img src="http://sh.uploads.ru/vdayE.png" title="томат месяца: Jung Il Woo"></a> <img src="http://sh.uploads.ru/CifvZ.png" title="клубнички недели: Nam Woo Hyun & Kim Sung Gyu"> <a href="http://korean-academy.ru/viewtopic.php?id=10888"><img src="http://sh.uploads.ru/ofnbl.png" title="арбузейшон: Jung Dae Hyun"></a><br> </center> </div> </td> <td> <center> <div id="sm1" class="submenutext" style="display: block;"><div style="width: 250px; height: 180px; align="center;"> <br><br><br> <div class="centerbi"> <div style="padding: 0px; -moz-border-radius: 0px 0px 0em 0em; margin: -1px 0px 0px 1px; border-radius: 5px;text-align: center; width: 174px;"> <a href="http://korean-academy.ru/viewtopic.php?id=10776" class="some">гостевая</a> <a href="http://korean-academy.ru/viewtopic.php?id=10663" class="some">правила</a> <a href="http://korean-academy.ru/viewtopic.php?id=92#p594" class="some">сюжет</a> <a href="http://korean-academy.ru/viewtopic.php?id=8266" class="some">список внешностей</a> <a href="http://korean-academy.ru/viewtopic.php?id=2477" class="some">f.a.q.</a> <a href="http://korean-academy.ru/viewtopic.php?id=3904" class="some">помощь новичку</a> <a href="http://korean-academy.ru/viewforum.php?id=14" class="some">акции</a> <a href="http://korean-academy.ru/viewtopic.php?id=6317" class="some">шаблон анкеты</a> </div><br><a href="http://korean-academy.ru/profile.php?id=5" title="kim jonghyun"><img src="http://sh.uploads.ru/t/hPQEO.png"></a> <a href="http://korean-academy.ru/profile.php?id=257" title="lee taemin"><img src="http://sh.uploads.ru/t/KxbAE.png"></a> <a href="http://korean-academy.ru/profile.php?id=865" title="song minho"><img src="http://sh.uploads.ru/t/iZS7s.png"></a> <a href="http://korean-academy.ru/profile.php?id=1696" title="lu han"><img src="http://sh.uploads.ru/JcIAq.png"></a> <a href="http://korean-academy.ru/profile.php?id=2501" title="park sang hyun"><img src="http://sg.uploads.ru/t/i8YMR.png"></a> </div> </center> </td> <td> <div id="sm1" class="submenutext" style="display: block;"><div style="width: 380px; height: 180px; padding: 15px;"> <br><br> <div class="tabl"><b>ДАТА:</b> 19-29 сентября 2011<br><b>ВРЕМЯ:</b> вне уроков<br><b>СОБЫТИЯ:</b> <a href=http://korean-academy.ru/viewtopic.php?id=10661&p=2#p1525245 target="_blank"><b><i>QUEST no 20, Episode I. 8.06 - 24.07</i></b></a><br><b>ПОГОДА:</b> До +26°C днем, до +19°C ночью, осадков не ожидается, солнечно. </div> <div class="tabl2">• <b><i><a href="http://korean-academy.ru/viewtopic.php?id=52#p369">ПРОЧТИ МЕНЯ</a></i></b>:<br> <b>10 ИЮЛЯ</b>; <br>• с <b>28.06</b> по <b>12.07</b> упрощенный прием для <b>NINE MUSES</b>; <br>• Ежедневная статистика форума в теме <b><i><a href="http://korean-academy.ru/viewtopic.php?id=10404">приятные мелочи</a></i></b>; <br>• На этой неделе мы говорим c <b><i><a href="http://korean-academy.ru/viewtopic.php?id=10888">внезапно попал в школьное наказание; Jung Dae Hyun</a></i></b>. </div> </div> </td> </tr> </center></table></center> </div> <center> <table layout=fixed width=100%> <tr> <td><div class="summertime2"></div> <center></center> <div class="summertime"><a href="http://korean-academy.ru/viewtopic.php?id=10854&p=3#p1554277"><i>тутти-фрутти голосование!</i></a> <img src="http://sg.uploads.ru/Jm6Ea.png"> <a href="http://korean-academy.ru/viewtopic.php?id=10856&p=3#p1554369"><i>что ты за фрукт? итоги теста!</i></a> <br><br>до 12 июля внимательно ищите <a href="http://korean-academy.ru/viewtopic.php?id=10739">лица</a> <img src="http://s017.radikal.ru/i419/1507/16/2668709c7ade.png"></div><br><br><br></td> <td></td> </tr> </table> </center> </div> </div> </div> <!--/noindex-->
Поделиться42015-07-12 10:37:52
Код:
<!-- Скрипт смены имиджа - часть I --> <link id="iNFpanel" rel="stylesheet" href="http://forumstatic.ru/files/0013/22/cf/67003.css" type="text/css"/> <script src="http://forumstatic.ru/files/0015/c6/36/31373.js"></script> <!-- Конец скрипта -->
Код:
<!-- Скрипт смены имиджа - часть II --> <style>.punbb .pa-avatar img {max-width:190px;height:auto;}</style> <script type="text/javascript"> OnSmenaImage("AU.", new Array("")) var AvtrArr=new Array( "http://sg.uploads.ru/DOQY2.png" //End myarray_!!Последняя ссылка без запятой!!! ) StartNIZ(); // </script> <!-- Конец скрипта -->
Код:
<!--audio в одном v.2.4--> <script type="text/javascript"> var player; $(function(){ $('td#button-code').before('<td style=\'background-image:url("http://savepic.net/5239337m.png")\' onclick="tag_play()"><img src="/i/blank.gif" title="Загрузить музыку"></td>'); $('div.post-content p').map(function () { text = $(this).html(); if(text.indexOf("pleer.com") != -1) { player = /\[audio\](.*?)\/tracks\/(.*?)\[\/audio\]/gi $(this).html(text.replace(player, "<br /><embed src='http://embed.pleer.com/track?id=$2' type='application/x-shockwave-flash' wmode='transparent' width='550' height='42'></embed>")); } if(text.indexOf(".mp3") != -1) { player = /\[audio\](.*?)\[\/audio\]/gi $(this).html(text.replace(player, "<br /><embed src='http://www.demo-music.ru/pleer/pleer4.swf' type='application/x-shockwave-flash' allowscriptaccess='always' wmode='transparent' flashvars='comment=demo-music.ru&st=http://www.demo-music.ru/pleer/style_pleer.txt&file=$1' width='470' height='33'>")); } }); }); function tag_play() {var FoundErrors = ''; var enterURL = prompt("Введите ссылку на на музыку с pleer.com или прямую ссылку формата .mp3 ", "http://"); if (!enterURL) {FoundErrors += " " + error_no_url;} if (FoundErrors) {alert("Ошибка!" + FoundErrors); return;} insert("[audio]" + enterURL + "[/audio]");} </script>
Поделиться52015-07-12 10:38:30
Код:
<!---стрелки вверх вниз---> <script type="text/javascript"> jQuery(function(){ $("#Go_Top").hide().removeAttr("href"); if ($(window).scrollTop()>="250") $("#Go_Top").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()<="250") $("#Go_Top").fadeOut("slow") else $("#Go_Top").fadeIn("slow") }); $("#Go_Bottom").hide().removeAttr("href"); if ($(window).scrollTop()<=$(document).height()-"999") $("#Go_Bottom").fadeIn("slow") $(window).scroll(function(){ if ($(window).scrollTop()>=$(document).height()-"999") $("#Go_Bottom").fadeOut("slow") else $("#Go_Bottom").fadeIn("slow") }); $("#Go_Top").click(function(){ $("html, body").animate({scrollTop:0},"slow") }) $("#Go_Bottom").click(function(){ $("html, body").animate({scrollTop:$(document).height()},"slow") }) }); </script> <a style='position: fixed; bottom: 330px; right: 10px; cursor:pointer; display:none;' href='#' id='Go_Top'> <img src="http://sh.uploads.ru/t/uZ0cO.png" title="Вверх"> </a> <a style='position: fixed; bottom: 280px; right: 00px; cursor:pointer; display:none;' href='#' id='Go_Bottom'> <img src="http://sh.uploads.ru/t/RqcnO.png" title="Вниз"> </a>
Поделиться62015-07-12 10:39:03
Код:
<!—удобная замена категорий на картинки --> <script type="text/javascript"><!--Своя картинка в каждую категорию --> $(document).ready(function(){ myarray=new Array( "THE ADMINISTRATOR ZONE", "http://sh.uploads.ru/tTfY3.png", "ОРГАНИЗАЦИОННЫЙ РАЗДЕЛ", "http://sg.uploads.ru/gArNH.png", "РЕГИСТРАЦИЯ", "http://sh.uploads.ru/H8oYe.png", "DOGSULI BOYS HIGH SCHOOL", "http://sg.uploads.ru/LeB8i.png", "ОБЩЕЖИТИЕ DBHS", "http://sh.uploads.ru/Nck8d.png", "HWANGSAE GIRLS HIGH SCHOOL", "http://sh.uploads.ru/1nJdr.png", "ОБЩЕЖИТИЕ HGHS", "http://sg.uploads.ru/3QYua.png", "ПРИГОРОД", "http://sg.uploads.ru/Nqw2H.png", "ДОПОЛНИТЕЛЬНО", "http://sg.uploads.ru/swV04.png", "ФЛУД", "http://sg.uploads.ru/IqcE0.png", "РЕКЛАМА", "http://sg.uploads.ru/x9Uhe.png", "АРХИВ", "http://sh.uploads.ru/tPD9V.png" ) $("#pun-index div.category h2,#pun-index #pun-stats h2").each(function (i) { for(q=0;q<myarray.length;q++){ var cssObj = { "height":"242px", "width":"1018px", "background-color": "transparent", "background-image":"url("+myarray[q+1]+")", "background-position":"50% 50%", "background-repeat":"no-repeat", "margin-left":"-90px" } if($(this).children("span").text()==myarray[q])$(this).css(cssObj); q++} }); }); </script>
Поделиться72015-07-12 10:40:03
Код:
<!--Для хтмл --> <script type="text/javascript"> function Transform_Code_Box_in_HTML(aX){ var TemLnk=aX.replace(/^(.*viewtopic\.php\?id=\d*).*$/ig,"$1"); var PstId=aX.replace(/^.*viewtopic\.php\?id=.*(#p\d+)$/ig,"$1"); var L=document.URL.replace(TemLnk,''); if(L!=document.URL&&(L.slice(0,1)).search(/\d/ig)==-1 ){ L=$("div.topic "+PstId); if(L.length==1){ var Lhtm=L.find(".post-content .code-box:first .scrollbox pre").text(); L.find(".post-content .code-box:first").replaceWith(Lhtm) }}} function Demo_HTML(Ts){var Ll=Ts.parents(".htmldemo").find(".code-box .scrollbox pre").text(); Ts.parents(".htmldemo").after('<div class="demHtml">'+Ll+'</div>');Ts.replaceWith(DemoButt0); } $(document).ready(function() { $("#pun-viewtopic .post .code-box").each(function(){ if($(this).text().indexOf('<!--HTML-->')!=-1){ $(this).wrap('<div class="htmldemo"></div>') $(this).replaceWith($('.htmldemo').text().split('<!--HTML-->')[1]); } }); }); </script></div> </div> </div> </div> </div> <style type="text/css"></style> <script type="text/javascript"> $('textarea.limit3000').bind('keydown keypress keyup', function(e) { if($(this).val().length>3000) { $(this).val($(this).val().substr(0,3000)); alert('Максимальное количество символов для этого поля - 3000.'); } }); </script>
Страница: 1