第206天:UCH真的还太年轻了,label标签的用处,“对的有点意思”(& Ryan)

星期五 多云 7~18℃

UCH 真的还太年轻了

三天前提到 UCH 不注重二次开发的方便性,从昨天到今天改登录页的提交按钮可以窥见一斑:

原始的提交按扭:

<input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class="submit" tabindex="5" />

昨天改成图片,不能提交,type 一定要是 submit 才能提交

<input type="image" src="/test.gif" width="36" height="36" id="loginsubmit" name="loginsubmit" value="登录" class="submit" tabindex="5" />

今天突然想,把图片做成背景,然后在该背景上把按钮设置成透明,结果发现按钮是支持透明的,但是仍然不能提交:

<input type="submit" id="loginsubmit" name="loginsubmit" value="" style="border:0; background-color:transparent; width:36px; height:36px; cursor:pointer" tabindex="5" />

再仔细尝试,把上面代码中的 value="" 改成 value=" ",赋值加了一个空格,他奶奶的居然可以提交了,不得不说是件值得欢庆的事情。

UCH,真的还太年轻了。现在才刚开始扩展,这么个小东西就让我出了一碗汗,不知道后面我们还会遇到什么狼什么虎。听说过一句:“在中国,再***的东西,只要有人捧,他他娘的就一定红。”


label 标签的用处

有label:

<input type="checkbox" id="cookietime2" name="cookietime"><label for="cookietime2">记住密码</label>

无label:

<input type="checkbox" id="cookietime2" name="cookietime">记住密码

第一个,点击文字也可以勾选,而第二个不行。

注:label 的 for 对应的是 input 中的 id,不是 name。


“对的有点意思” ( & Ryan )

朱高 09:23:29
九天改版了

Ryan 09:23:51
恩 首页我做的哦

朱高 09:24:21
这次界面上更合音乐网站的口味,不像上次

Ryan 09:24:44
单纯首页看的话风格还可以 不过我不怎么欣赏

朱高 09:27:06
不可能每个人都喜欢的

朱高 09:27:24
即使所有人都不喜欢,用着用着也就用上了

朱高 09:27:40
这就是一种规则

Ryan 09:28:35
这个对的

朱高 09:29:48
这就是用户需求的问题,大家需要的是歌曲,其余的是辅助的,做得好当然体验好一点,做得不好,也不会损失多少

朱高 09:30:51
反倒我们F8虽然在界面上在界内夸的人多,流量上不去,需求才是大问题

朱高 09:31:36
九天先流量后细节(大多数网站和商家都这样),我们是先细节后流量

朱高 09:32:01
很多人开始赚钱不择手段,后来赚到钱了就想到想做点好事了,NND

朱高 09:32:13
这就是规则

朱高 09:32:27
我们和他们的区别就在这里,哈哈。。。

朱高 09:32:36
或者说,我们不入流

Ryan 09:33:01
对的有点意思


煤气降了

昨晚买煤气,已经从两三月前的 ¥105 降到 ¥75 了,肉也不知不觉降回原位了。不过小罐煤气没降多少,¥30,还是买大罐合算,一瓶大罐用起来可以顶三瓶小罐。


The Lioness
from http://classics.mit.edu/Aesop/fab.1.1.html#403

A controversy prevailed among the beasts of the field as to which of the animals deserved the most credit for producing the greatest number of whelps at a birth. They rushed clamorously into the presence of the Lioness and demanded of her the settlement of the dispute. "And you," they said, "how many sons have you at a birth?" The Lioness laughed at them, and said: "Why! I have only one; but that one is altogether a thoroughbred Lion."

The value is in the worth, not in the number.

阿猫阿狗再多又如何?我狮子只要一只就可以把你们给灭了。

RSS

上一篇:

下一篇:

发表评论

电子邮件地址不会被公开。 必填项已用*标注