Click here to Skip to main content
15,922,007 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:
Posted
Updated 13-Jan-10 11:33am
v2

Edit the HTML in the events variable on lines 278 & 279: put a span around it.
 
Share this answer
 
wrote:

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


Line 289:
tt.style.visibility=tt.style.visibility=='hidden'?'visible':'hidden';
The first time around tt.style.visibility equals "".

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


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


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.
 
Share this answer
 
v5
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).
 
Share this answer
 
Thanks, I really appreciate your help! :thumbsup:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900