RError.com

RError.com Logo RError.com Logo

RError.com Navigation

  • 主页

Mobile menu

Close
  • 主页
  • 系统&网络
    • 热门问题
    • 最新问题
    • 标签
  • Ubuntu
    • 热门问题
    • 最新问题
    • 标签
  • 帮助
主页 / user-256368

etterwin's questions

Martin Hope
etterwin
Asked: 2022-03-26 17:08:58 +0000 UTC

转换时引用错误,带有特定子域的 url(仅在 chrome 中)

  • 0

在线商店的区域具有独特的子域。在子域区域中从一个页面移动到另一个页面时,引用者总是存储协议+子域+域的值,即丢弃资源路径和参数。

例如,如果我们从产品卡片页面 ( https://spb.magazin.ru/tovar/kosilka/huter/huter_motokultivator_gmc-6.5/) 转到授权页面 ( https://www.magazin.ru/login/),那么只有https://spb.magazin.ru/.

如果我们不在子域区域中,那么引用者将是正确的https://www.magazin.ru/tovar/kosilka/huter/huter_motokultivator_gmc-6.5/

复制此案例的区域无关紧要,它适用于任何特定的子域。告诉我,由于什么原因可以错误地形成推荐人?

url
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-12-14 16:57:08 +0000 UTC

Vue + Django:创建博客。关于功能的问题

  • 1

下午好!实现博客文章搜索和排序的最佳方式是什么:使用 Vue 还是使用 Django?

django
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-11-08 20:44:31 +0000 UTC

不应用 WP 的样式

  • 0

样式已通过编辑器更改。保存后,编辑后的 ​​css 文件以修改后的形式保存,即 在主机上的编辑器和文件管理器中显示最新版本的代码。但是,不应用样式。通过开发工具应用旧样式。怎样成为?

css
  • 2 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-11-03 20:58:39 +0000 UTC

Django没有应用本地字体

  • 0

Django 不会将本地字体应用于选择器,但其他一切都有效。通过与 google-fonts 的链接连接的字体按预期应用。什么可以解决这个问题?

CSS:

@font-face {
  font-face-name: This;
  src: url("../assets/font/This-Regular.woff");
}
.header-logo {
  font-family: This, serif;
  text-transform: uppercase;
  color: white;
  font-size: 40px;
}
html
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-10-24 17:21:18 +0000 UTC

关于 HTML 和 JS 中的 ID 的问题

  • 0

我们有几个id:icon_1、icon_2、icon_3。我想在脚本中写一个“通用” id,为此会发生一些动作,以便获得像 icon_[i] 这样的东西。JS中有这种可能性吗?

为了不为每个 id 每次都在脚本中编写一个动作:

document.getElementById("icon_1").classList.remove("nav-icon--active");

document.getElementById("icon_2").classList.remove("nav-icon--active");
javascript
  • 2 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-10-24 16:29:58 +0000 UTC

皮奇替代品。技术的选择[关闭]

  • 0
关闭 这个问题是题外话。目前不接受回复。

寻求调试帮助的问题(“为什么这段代码不起作用? ”)应该包括期望的行为、具体的问题或错误,以及在问题中重现它的最少代码。没有明确描述问题的问题对其他访问者毫无用处。请参阅如何创建一个最小的、独立的和可重现的示例。

4年前关闭。

改进问题

下午好。有必要将事件上的图片替换为相同但颜色不同的图片。问题是,什么更好用:更改事件中 svg-figure 的颜色或通过脚本加载另一个图标?

javascript
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-08-22 17:54:42 +0000 UTC

为什么下拉菜单只出现 1 次?

  • -2

在第一次悬停时,下拉菜单起作用,然后您需要重新加载页面,以便它在悬停时再次退出在此处输入图像描述

.navigation-item {
   display: inline-block;
   margin-right: 2%;
   padding: 10px 0;}
.dropdown > .dropdown-link::after {
    content: "";
    float: right;
    margin: 10px 5px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #CCC;}

  .dropdown .dropdown-list {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 120px;
    overflow: hidden;}

  .dropdown .dropdown-link {
    display: block;
    width: 100%;
    color: #F5F5F7;
    font-size: 18px;}

  .dropdown-item-link {
    color: #F5F5F7;
    font-size: 18px;
    opacity: 0.8;}

  .dropdown-item-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease-in-out;}

  .dropdown-item-link:not(:hover) {
    transition: all 0.3s ease-in-out;}

  .dropdown .dropdown-item {
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: all 500ms;
    transition-delay: 300ms;}

  .dropdown.hover:hover .dropdown-item{
    height: 40px;}

  .dropdown.hover:hover .dropdown-item:first-child {
    padding-top: 15px;}
css
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-08-14 20:47:21 +0000 UTC

如何将块对齐到顶部边框?

  • 0

使用 inline-block 固定高度块。如何在没有绝对定位的情况下将它们推到容器的顶部边框?在此处输入图像描述

html
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-07-06 16:21:48 +0000 UTC

如何制作像“穿梭跑”这样的循环动画?

  • 4

在此处输入图像描述

鱼游了一段距离,到达一定距离后,它必须转身游回来。动画规则是什么?

CSS

@keyframes go-right-left {
  from {
    right: 0px;
  }
  to {
    right: calc(40% - 50px);
  }
}

@-webkit-keyframes go-right-left {
  from {
    right: 0px;
  }
  to {
    right: calc(40% - 50px);
  }
}

.fish-blue {
  animation: go-right-left 60s ease infinite alternate;
  -webkit-animation: go-right-left 60s ease infinite alternate;
  position: relative;
}
css
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-07-03 15:17:01 +0000 UTC

如何制作装饰元素(见图)

  • 3

带数字的白色虚线

告诉我如何实现白色虚线布局并在折叠处制作带有数字的圆圈?它不一定是图像。文本将插入到弯曲之间。

html
  • 1 个回答
  • 10 Views
Martin Hope
etterwin
Asked: 2020-06-27 22:27:20 +0000 UTC

加载进度条后显示链接

  • 0

下载结束后如何显示链接?

var bar = $('.progress-bar');
var p = $('.progress-bar-text');

var width = bar.attr('style');
console.log(width);
width = width.replace("width:", "");
width = width.substr(0, width.length - 1);


var interval;
var start = 0;
var end = parseInt(width);
var current = start;

var countUp = function() {
  current++;
  p.html(current + "%");

  if (current === end) {
    clearInterval(interval);
  }
};

interval = setInterval(countUp, (1000 / (end + 1)));
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="question quest-loader quest-hiden" id="progress-bar">
  <div class="progres__bar">
    <span class="progress-bar" style="width:100%"></span>
    <p class="progress-bar-text"></p>
  </div>
  <a href="#" class="question__btn" id="btn-12">Show result</a>
</div>

javascript
  • 2 个回答
  • 10 Views

Sidebar

Stats

  • 问题 10021
  • Answers 30001
  • 最佳答案 8000
  • 用户 6900
  • 常问
  • 回答
  • Marko Smith

    我看不懂措辞

    • 1 个回答
  • Marko Smith

    请求的模块“del”不提供名为“default”的导出

    • 3 个回答
  • Marko Smith

    "!+tab" 在 HTML 的 vs 代码中不起作用

    • 5 个回答
  • Marko Smith

    我正在尝试解决“猜词”的问题。Python

    • 2 个回答
  • Marko Smith

    可以使用哪些命令将当前指针移动到指定的提交而不更改工作目录中的文件?

    • 1 个回答
  • Marko Smith

    Python解析野莓

    • 1 个回答
  • Marko Smith

    问题:“警告:检查最新版本的 pip 时出错。”

    • 2 个回答
  • Marko Smith

    帮助编写一个用值填充变量的循环。解决这个问题

    • 2 个回答
  • Marko Smith

    尽管依赖数组为空,但在渲染上调用了 2 次 useEffect

    • 2 个回答
  • Marko Smith

    数据不通过 Telegram.WebApp.sendData 发送

    • 1 个回答
  • Martin Hope
    Alexandr_TT 2020年新年大赛! 2020-12-20 18:20:21 +0000 UTC
  • Martin Hope
    Alexandr_TT 圣诞树动画 2020-12-23 00:38:08 +0000 UTC
  • Martin Hope
    Air 究竟是什么标识了网站访问者? 2020-11-03 15:49:20 +0000 UTC
  • Martin Hope
    Qwertiy 号码显示 9223372036854775807 2020-07-11 18:16:49 +0000 UTC
  • Martin Hope
    user216109 如何为黑客设下陷阱,或充分击退攻击? 2020-05-10 02:22:52 +0000 UTC
  • Martin Hope
    Qwertiy 并变成3个无穷大 2020-11-06 07:15:57 +0000 UTC
  • Martin Hope
    koks_rs 什么是样板代码? 2020-10-27 15:43:19 +0000 UTC
  • Martin Hope
    Sirop4ik 向 git 提交发布的正确方法是什么? 2020-10-05 00:02:00 +0000 UTC
  • Martin Hope
    faoxis 为什么在这么多示例中函数都称为 foo? 2020-08-15 04:42:49 +0000 UTC
  • Martin Hope
    Pavel Mayorov 如何从事件或回调函数中返回值?或者至少等他们完成。 2020-08-11 16:49:28 +0000 UTC

热门标签

javascript python java php c# c++ html android jquery mysql

Explore

  • 主页
  • 问题
    • 热门问题
    • 最新问题
  • 标签
  • 帮助

Footer

RError.com

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

帮助

© 2023 RError.com All Rights Reserve   沪ICP备12040472号-5