较小的文字+ onclick问题 [英] smaller text + onclick problem

查看:75
本文介绍了较小的文字+ onclick问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://testingbar.atspace.com/index2.htm [

http://testingbar.atspace.com/index2.htm[^]

1) I want the text (when clicking on an event) after the bold title and before the empty row to be smaller than the rest of the text. How do I achieve this?

2) Why do I have to click twice when opening the first event?

3) How to make another event appear directly without having to click down the old event that is showing? :confused:

推荐答案

在第278行和第69行的event变量中编辑HTML. 279:在其周围放一个跨度.
Edit the HTML in the events variable on lines 278 & 279: put a span around it.


写道:​​


2)为什么在打开第一个事件时必须单击两次?


2) Why do I have to click twice when opening the first event?





Line 289:
tt.style.visibility=tt.style.visibility==''hidden''?''visible'':''hidden'';

tt.style.visibility周围的第一次等于"".

因此:

The first time around tt.style.visibility equals "".

Therefore:

tt.style.visibility=(tt.style.visibility==''hidden'' || tt.style.visibility == '''')?''visible'':''hidden'';

应该可以.


Should work.


写道:​​

3)如何直接使另一个事件出现而不必单击显示的旧事件?

3) How to make another event appear directly without having to click down the old event that is showing?



这是由您先前在289行所引起的.它只是打开或关闭(隐藏或可见).您需要在此之前添加另一个条件语句,以检查是否应将其隐藏.



This is caused by what you have earlier, on line 289. It just switches on or off (hidden or visible). You will need to add another conditional statement before that to check whether or not it should be hidden.


谢谢,非常有帮助!

现在,我唯一的问题是使粗体标题下的文本部分变小(但不使空白行后面的文本变小).
Thank you, very helpful!

Now my only problem is to make the text part under the bold title smaller (but not the text after the empty row).


这篇关于较小的文字+ onclick问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆