Tag: 图标

在手机和电子邮件输入框中显示正确的fa fa图标

在我的表单内部, email输入框在内部电子邮件正确时显示绿色圆圈x。 我希望它显示一个绿色复选标记圆圈图标,如上面的输入框(名字和姓氏)。 此外,当号码无效时, phone输入框会显示一个红色圆圈复选标记图标,我希望它显示一个红色圆圈x图标。 如果有人知道如何实现这一点,我们将不胜感激! 电子邮件和电话号码上显示的fa fa图标不正确: 的jsfiddle HTML: First Name Last Name Email Please enter a valid email address Phone Please enter a valid phone number City State/Province Company Comments –None– Visiant Tessellate –None– Internal Trade Show Website Direct Marketing Social Media Other CSS: body { color: #fff; background-color: #f78e2a; text-align: center; } […]

将Sidr菜单与动画汉堡包按钮相结合

我的测试页面 https://osticketawesome.com/support/awesome/inc/test.html 我正在尝试将汉堡包菜单与Sidr jQuery插件相结合,以创建侧面菜单。 它在Chrome,FF,IE和Edge中完美运行,但在我测试过的移动浏览器 (Android / Chrome和iPhone / Safari)中,菜单切换但按钮仅在按下按钮的外边缘时才会动画。 toggle menu $(document).ready(function() { var toggles = document.querySelectorAll(“.c-hamburger”); for (var i = toggles.length – 1; i >= 0; i–) { var toggle = toggles[i]; toggleHandler(toggle); }; function toggleHandler(toggle) { toggle.addEventListener( “click”, function(e) { e.preventDefault(); (this.classList.contains(“is-active”) === true) ? this.classList.remove(“is-active”) : this.classList.add(“is-active”); }); } $(‘.c-hamburger’).sidr({ name: […]

如何在jquery移动可折叠列表中添加多个图标

我想在jquery移动可折叠列表的加号图标附近添加另一个图标。 但由于jquery mobile动态创建该图标,因此无法添加它。 任何建议将不胜感激!

Glyphish图标显示在jQuery Mobile中

首先让我说我是jQuery以及jQuery Mobile的新手。 我在标题中使用以下CSS。 .nav-glyphish-example .ui-btn .ui-btn-inner { padding-top: 40px !important; } .nav-glyphish-example .ui-btn .ui-icon { width: 30px!important; height: 30px!important; margin-left: -15px !important; box-shadow: none!important; -moz-box-shadow: none!important; -webkit-box-shadow: none!important; -webkit-border-radius: none !important; border-radius: none !important; } #feeling .ui-icon { background: url(content/glyphish-icons/home.png) 50% 50% no-repeat; background-size: 22px 22px; } #review .ui-icon { background: url(content/glyphish-icons/review.png) 50% 50% no-repeat; […]