пкеп цкп 4
СКАДЫЩ
Страница: 1
Сообщений 1 страница 2 из 2
Поделиться22014-11-30 16:11:12
Ориджин хтмл вверх
Код:
<style type="text/css"> HTML, BODY {background-color: #CCCCCC; background-image: url("http://funkyimg.com/i/GJwQ.jpg"); background-repeat: repeatxy; background-attachment: fixed; background-position: top right;} </style> <!--Кнопки в верх в низ--> <div style="position:fixed; right :0.5%; bottom: 45%;"> <a href=#top onClick="scrollTo(0,0); return false;" title="Вверх страницы"> <img src="http://sf.uploads.ru/FsCOm.png" alt="Вверх страницы" ></a> <br/> <a href=#top onClick="scrollTo(0, document.body.scrollHeight); return false;" title="Вниз страницы"> <img src="http://sf.uploads.ru/TCeNR.png" alt="Вниз страницы" ></a> </div> <style> .lastedit { display: none; } </style> <style type="text/css"> .post-content td { border-color: #99958c !important; } </style> <style> #pun-title TABLE, #pun { background: url("http://funkyimg.com/i/GDkM.jpg"); background-repeat: no-repeat; background-position: top center; background-color: #CCCCCC; } #pun-title TABLE, #pun-title h1{ height: 200px !important; } #pun-navlinks{ background: none; } </style> <style> #pun-title h1 { display:none; } </style> <style> #pun-main #profile1[action$="id=13"]{ display:none; } </style>
низ
Код:
<style type="text/css"> #pun { width : 75%; } </style> <style type="text/css"> #pun { margin: 0 auto 0 !important; } </style> <style type="text/css"> #pun-main h2 { color : white; text-align: center; background-color : #CCCCCC; background-image : url(http://funkyimg.com/i/GFQL.jpg); } </style> <style type="text/css"> #pun-title .title-logo span {display: none;} </style> <style type="text/css"> .punbb div.icon { float: left; display: block; border-style: none none none none; height: 50px; width: 50px; position: relative !important; } .punbb td div.tclcon { margin-left: 20px; } Div.icon { background-image : url(http://funkyimg.com/i/GDSB.png); background-repeat: no-repeat; } TR.inew Div.icon { background-image : url(http://funkyimg.com/i/GDSz.png); background-repeat: no-repeat; } TR.isticky Div.icon { background-image : url(http://funkyimg.com/i/GDSC.png); background-repeat: no-repeat; } TR.iclosed Div.icon { background-image : url(http://funkyimg.com/i/GDSA.png); background-repeat: no-repeat; } TR.iredirect Div.icon { background-image : url(http://funkyimg.com/i/GDSD.png); background-repeat: no-repeat; } </style> <style type="text/css"> #pun-main .pa-author {text-align: center;} .pa-title {text-align: center;} </style> <script type="text/javascript"> PiarNik="PR"; PiarPas="HFohpJNv"; var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\ <form id=\"form_login\" name=\"login\" method=\"post\" action=\"/login.php?action=in\" onsubmit=\"return check_form()\">\ <fieldset>\ <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\ <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\ <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\ <input type=\"submit\" class=\"button\" name=\"login\"/>\ </fieldset>\ </form>\ </div>\ <li id=\"navpiar\"><a href=\"#\" onclick=\"PiarIn();return false\"><span>PR вход</span></a></li>"; if($("#navlogin").html()!=null){ $("#navlogin").after(L) //navlogin $("#PR_loginDiv #fld1").val(PiarNik) $("#PR_loginDiv #fld2").val(PiarPas) function PiarIn () {$("#PR_loginDiv input[type='submit']").click();} } </script> <!-- Всплывающее окно цитирования --> <style> #Bubble { display: none; width: auto; height: auto; padding: 5px; text-align: center; z-index: 10; border: 1px black solid; background: white; background-image: none; background-repeat: no-repeat; background-position: 10px 4px; padding-left: none; } </style> <div id="Bubble"><span><a href="javascript:quote('', 0)">Цитировать</a></span></div> <script> var fresh = false; $('.post').mouseup(function(pos) { var idString = $(this).find('.post-content').attr("id"); var id = idString.substring(1, idString.indexOf('-')); var aut = $(this).find('li.pa-author a').text(); var theSelection = ''; if (window.getSelection && !$.browser.opera) { theSelection = window.getSelection().toString(); } else if (document.getSelection) { theSelection = document.getSelection(); } else if (document.selection) { theSelection = document.selection.createRange().text; } if (!(theSelection == '' || typeof theSelection == 'undefined' || theSelection == null) && !(fresh)) { $("#Bubble").css({ 'position': 'absolute', 'left': pos.pageX+'px', 'top': pos.pageY+'px', 'display': 'none' }); $("#Bubble span").html($(this).find("li.pl-quote").html()); $("#Bubble").fadeIn(200); fresh = true; } else if (fresh) { fresh = false; } }); $('.post').click(function() { if (!(fresh)) { $("#Bubble:visible").hide(200); } }); $('#Bubble span').click(function() { $('#Bubble').hide(200); fresh = false; }); </script> <script type="text/javascript"> function select_text(elem) { if(window.getSelection) { var s=window.getSelection(); if(s.setBaseAndExtent){ s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1); } else { var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } } else if(document.getSelection){ var s=document.getSelection(); var r=document.createRange(); r.selectNodeContents(elem); s.removeAllRanges(); s.addRange(r); } else if(document.selection){ var r=document.body.createTextRange(); r.moveToElementText(elem); r.select(); } } </script>
Страница: 1