Jump to content

Report

  • Similar Content

    • By Mewow
      Привет всем!
      В общем, как известно в DLE новости выводятся в 1 колонну. Так вот хочу что бы новости выводились в 3 колонки, а с телефона в 2 или 1
      Но для начала хотел вывести хотя бы просто в 3 колонны
      В интернете говорят это делается просто через 
      float: left;
      width :  33%;
      и в целом это работет, но вот так:

      всё вылезает из div почему то
       ещё говорят это можно сделать заменив строки кода сms но какие я не нашёл.
      изначально была идея сделать это с помощью flexbox, но он видать не работает с тегами dle: 
      Структура кода такая: <div class="content"> 
      {info}{content}
      </div>
      когда даю классу "content" display: flex; то в shortstory дивы никак не реагируют и не меняют своё положение что бы я не делал
      Может кто нибудь знает решение? Было бы отлично, что бы оно было сразу адаптивное. Если есть вопросы, то спрашивайте
       
    • By dirty_prince
      Когда вставляю обычный lorem все нормально показывается на странице, но если ввожу сплошной текст без пробелов (ттттттттттттттттт и т.д.) вижу следующие: http://joxi.ru/KAg8gDVhpx5Xrl
      Помогите решить данную проблему (сайт верстал сам. мб что нашкодил в коде или пропустил)
    • By adminfilm
      Привет всем,когда захожу на сайт http://likekino.net/ через яндекс браузер пишет что сайт на литовском,помогите пожулуйста исправить.

    • By adminfilm
      Здравствуйте помогите пожалуйста почему не работает меню и вкладка?http://likekino.net/1448-wtf-kakogo-cherta.html
    • By adminfilm
      помогите пожалуйста как исправить плейлист когда нажимаю на 3 сезон серии исчезают
      пример здесь http://likekino.net/1308-flesh-20-seriya.html
       
      вот js код
      var pos = 0;var poz = 0;var sea = null;var width = 600; var uvk = new Object();(uvk = { init: function () { if (/likekino.net/i.test(document.domain)) { document.write("<div id=\"uber-vk-write\" align=\"center\">\ <ul id=\"uber-vk-season\"><li id=\"seasons\"></li></ul>\ <div id=\"uber-vk-player\"></div>\ <ul id=\"uber-vk-serial\"></ul>\ <a href=\"javascript://\" class=\"prev\" onclick=\"uvk.move(1);\">prev</a>\ <a href=\"javascript://\" class=\"next\" onclick=\"uvk.move(0);\">next</a>\ <a href=\"javascript://\" class=\"prev1\" onclick=\"uvk.movie(1);\">prev</a>\ <a href=\"javascript://\" class=\"next1\" onclick=\"uvk.movie(0);\">next</a>\ <\/div>"); } }, player: function (a, { document.getElementById("uber-vk-player").innerHTML = ""; var uvk = document.createElement("iframe"); uvk.src = String(a); uvk.width = "680"; uvk.height = "300"; uvk.setAttribute("border", "0"); uvk.setAttribute("frameborder", "0"); uvk.setAttribute("scrolling", "no"); uvk.setAttribute("allowFullScreen", ""); document.getElementById("uber-vk-player").appendChild(uvk); if (document.getElementById("uber-vk-serial")) { c = document.getElementById("uber-vk-serial").getElementsByTagName("span"); for (var i = 0; i < c.length; i++) { c[i].removeAttribute("class"); } } b.setAttribute("class", "active"); }, season: function (a, { if (document.getElementById("uber-vk-season")) { c = document.getElementById("uber-vk-season").getElementsByTagName("span"); for (var i = 0; i < c.length; i++) { document.getElementById("season-" + i).style.display = "none"; c[i].removeAttribute("class"); } d = document.getElementById("season-" + a).getElementsByTagName("span"); for (var e = 1; e == d.length; e++) { document.getElementById("season-" + a).getElementsByTagName("span")[0].setAttribute("style", "display:none"); document.getElementById("uber-vk-write").getElementsByClassName("prev1")[0].setAttribute("style", "display:none"); document.getElementById("uber-vk-write").getElementsByClassName("next1")[0].setAttribute("style", "display:none"); } document.getElementById("season-" + a).style.display = ""; document.getElementById("season-" + a).getElementsByTagName("span")[0].click(); document.getElementById("season-" + a).getElementsByTagName("span")[0].setAttribute("class", "active"); if(e < d.length) { document.getElementById("uber-vk-write").getElementsByClassName("prev1")[0].setAttribute("style", "display:block"); document.getElementById("uber-vk-write").getElementsByClassName("next1")[0].setAttribute("style", "display:block"); } sea = a; } b.setAttribute("class", "active"); uvk.movie(1); }, show: function (a, b, c, d) { if(c > 1) { for (var i = 0; i < a; i++) { document.getElementById("uber-vk-serial").innerHTML += "<li id=\"season-" + i + "\"></li>"; document.getElementById("uber-vk-season").getElementsByTagName("li")[0].innerHTML += "<span onclick=\"uvk.season('" + i + "', this)\">" + c + " Сезон</span>"; } for (var i = 0; i < a; i++) { for (var j = 0; j < b[i].length; j++) { d = (d > 1) ? d : ''; var h = (d || d > 1) ? j + d - 1 : j; document.getElementById("season-" + i).innerHTML += "<span onclick=\"uvk.player('" + b[i][j] + "', this);\">Серия " + (h + 1) + "</span>"; } } document.getElementById("uber-vk-season").getElementsByTagName("span")[0].setAttribute("class", "active"); document.getElementById("uber-vk-season").getElementsByTagName("span")[0].click(); document.getElementById("season-0").getElementsByTagName("span")[0].click(); } else if(a.length > 1) { var s = a[0]-1; for (var i = 0; i < a.length; i++) { document.getElementById("uber-vk-serial").innerHTML += "<li id=\"season-" + i + "\" style=\"display:none;\"></li>"; document.getElementById("uber-vk-season").getElementsByTagName("li")[0].innerHTML += "<span onclick=\"uvk.season('" + i + "', this)\">" + (s + i + 1) + " Сезон</span>"; } for (var i = 0; i < a.length; i++) { for (var j = 0; j < b[i].length; j++) { d = (d > 1) ? d : ''; var h = (d || d > 1) ? j + d - 1 : j; document.getElementById("season-" + i).innerHTML += "<span onclick=\"uvk.player('" + b[i][j] + "', this);\">Серия " + (h + 1) + "</span>"; } } document.getElementById("uber-vk-season").getElementsByTagName("span")[0].setAttribute("class", "active"); document.getElementById("uber-vk-season").getElementsByTagName("span")[0].click(); document.getElementById("season-0").getElementsByTagName("span")[0].click(); document.getElementById("season-0").style.display = ""; } else { for (var i = 0; i < a; i++) { if(c == 0 || !c) { var out = (i + 1) + " Сезон"; } else if(c == 1) { var out = "Плеер " + (i + 1); } document.getElementById("uber-vk-serial").innerHTML += "<li id=\"season-" + i + "\" style=\"display:none;\"></li>"; document.getElementById("uber-vk-season").getElementsByTagName("li")[0].innerHTML += "<span onclick=\"uvk.season('" + i + "', this)\">" + out + "</span>"; } for (var i = 0; i < a; i++) { for (var j = 0; j < b[i].length; j++) { if(c == 0 || !c) { var out = "Серия"; } else if(c == 1) { var out = "Часть"; } d = (d > 1) ? d : ''; var h = (d || d > 1) ? j + d - 1 : j; document.getElementById("season-" + i).innerHTML += "<span onclick=\"uvk.player('" + b[i][j] + "', this);\">" + out + " " + (h + 1) + "</span>"; } } document.getElementById("uber-vk-season").getElementsByTagName("span")[0].setAttribute("class", "active"); document.getElementById("uber-vk-season").getElementsByTagName("span")[0].click(); document.getElementById("season-0").getElementsByTagName("span")[0].click(); document.getElementById("season-0").style.display = ""; } }, move: function (d) { var a, b; var butt = document.getElementById("seasons"); var widt = butt.offsetWidth; var left = butt.offsetLeft; if (d == 0) { clearTimeout(a); b = setInterval(function () { pos = pos - 10; if (pos >= (left - width) && pos >= -(widt - width)) { butt.style.left = pos + "px"; } else clearTimeout(; }, 15); } if (d == 1) { clearTimeout(; b = setInterval(function () { pos = pos + 10; if (pos <= (left + width) && pos <= 0) { butt.style.left = pos + "px"; } else clearTimeout(; }, 15); } }, movie: function (d) { var a, b; var butt = document.getElementById("season-" + sea); var widt = butt.offsetWidth; var left = butt.offsetLeft; if (d == 0) { clearTimeout(a); b = setInterval(function () { poz = poz - 10; if (poz >= (left - width) && poz >= -(widt - width)) { butt.style.left = poz + "px"; } else clearTimeout(; }, 15); } if (d == 1) { clearTimeout(; b = setInterval(function () { poz = poz + 10; if (poz <= (left + width) && poz <= 0) { butt.style.left = poz + "px"; } else clearTimeout(; }, 15); } }});function showOkno() { var a = ""; $("#oknouroka").dialog({ autoOpen: true, open: function (b, e) { a = $(this).find("iframe").attr("src") }, width: 700, modal: true, dialogClass: "trai", beforeClose: function (b, e) { $(this).find("iframe").attr("src", ""); $(this).find("iframe").attr("src", a) } })};
  • Обсуждения

    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com Портфолио https://www.behance.net/d4d4186e Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ    
    • Актуальные контакты: Telegram: @Nikker_web E-Mail:   tarasevich.email@gmail.com   Разрабатываю дизайн групп в соц сетях, сайтов, приложений, другой дизайн под заказ   Портфолио https://www.behance.net/d4d4186e
    • Доброго всем времени суток. Прошу помощи. Научите принципу изменения футера. Движок Xenforo. Версия 2.2.10. Стиль дефолтный. Что именно нужно в итоге на фото примере. Мой шаблон app.footer less имеет следующее значение.  .p-footer { .xf-publicFooter(); a { .xf-publicFooterLink(); } } .p-footer-inner { .m-pageWidth(); .m-pageInset(); padding-top: @xf-paddingMedium; padding-bottom: @xf-paddingLarge; } .p-footer-row { .m-clearFix(); margin-bottom: -@xf-paddingLarge; } .p-footer-row-main { float: left; margin-bottom: @xf-paddingLarge; } .p-footer-row-opposite { float: right; margin-bottom: @xf-paddingLarge; } .p-footer-linkList { .m-listPlain(); .m-clearFix(); > li { float: left; margin-right: .5em; &:last-child { margin-right: 0; } a { padding: 2px 4px; border-radius: @xf-borderRadiusSmall; &:hover { text-decoration: none; background-color: fade(@xf-publicFooterLink--color, 10%); } } } } .p-footer-rssLink { > span { position: relative; top: -1px; display: inline-block; width: 1.44em; height: 1.44em; line-height: 1.44em; text-align: center; font-size: .8em; background-color: #4682B4; border-radius: 2px; } .fa-rss { color: white; } } .p-footer-copyright { margin-top: @xf-elementSpacer; text-align: center; font-size: @xf-fontSizeSmallest; } .p-footer-debug { margin-top: @xf-paddingLarge; text-align: right; font-size: @xf-fontSizeSmallest; .pairs > dt { color: inherit; } } @media (max-width: @xf-responsiveMedium) { .p-footer-row-main, .p-footer-row-opposite { float: none; } .p-footer-copyright { text-align: left; padding: 0 4px; // aligns with other links } }  
    • Нужны сайты с примерами верстки, типа https://css-tricks.com/. Типовые приемы и нестандартные на все случаи жизни. Накидайте ссылок.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy