Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tab选项卡 第一阶段 #62

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

chaihongjun
Copy link

tab选项卡 第一阶段

tab选项卡第一阶段

tabs[i].onclick = function() {
//单击任意tab的时候,先初始化全部不active
for (var i = 0; i < tabs.length; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

个人建议这里的 var i 跟外面的别一样, 可以:

  1. 用闭包处理
  2. 换个名...

弹出层 第一阶段
@chaihongjun
Copy link
Author

aaa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants