简体   繁体   English

我是 Js 新手,我正在尝试学习一些 jQuery

[英]I'm new to Js and i'm trying to learn some jQuery

What i'm trying to do is set the images to opacity.5 when opening.我要做的是在打开时将图像设置为 opacity.5。 Then when i hover over one of the images, that image should be set to opacity 1 using jQuery.然后,当我在其中一张图像上使用 hover 时,应使用 jQuery 将该图像设置为不透明度 1。

HTML HTML

1

JS JS

2

On line 2 selector should be only .bilder because it is class.第 2 行选择器应该只有.bilder ,因为它是 class。 # is used when it is id. #为id时使用。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试一个新命令,但由于某种原因,我遇到了错误。 `TypeError: db.startsWith 不是函数` - I'm trying a new command, but for some reason I'm getting an error. `TypeError: db.startsWith is not a function` 我正在尝试为 discord 机器人(js)制作离开/断开 VC 命令,我遇到了下面讨论的一些问题 - I'm trying to make leave/disconnect VC command for discord bot (js), I'm facing some issues discussed bellow 我正在尝试进行验证,但无法在JQuery中工作 - I'm trying to put validation but not working in JQuery 我正在尝试将jquery添加到异地窗口小部件 - I'm trying to add jquery to an offsite widget 嗨,我是 JavaScript 新手,刚开始做一些基本的 JS 项目,遇到了一些错误 - Hi I'm new to JavaScript, and just started making some basic JS Projects and encountered some errors 我是ajax和jquery的新手,我需要一些有关如何将变量从PHP传递到AJAX的建议 - I'm new to ajax and jquery, I need some advice on how to pass a variable from a PHP to AJAX 在React.js中,我试图在图像上方的叠加层上方添加文本和其他一些项目 - In React.js, I'm trying to add text and some other items, on top of an overlay which is on top of an image 我正在尝试从angular js的http请求返回一些数据,但它给出了未定义的信息 - I'm trying to return some data from http request in angular js but it gives an undefined 我正在尝试利用点击渠道,并将一些JS注入“标题自定义跟踪”中,但是在页面之后加载? - I'm trying to utilize Click Funnels, and inject into the “Header Custom Tracking” some JS, but its loading after the Page? 我正在尝试向HTML表添加一些行,但它失败了 - I'm trying to add some rows to an HTML table, but it's failing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM