Last change
on this file since 550 was
358,
checked in by gav, 15 years ago
|
Added an application log view.
Reduced log file size and added CSS and JavaScript? to suite.
|
File size:
858 bytes
|
Line | |
---|
1 | |
---|
2 | function toggleUtil(id) { |
---|
3 | $(id).toggle(); |
---|
4 | } |
---|
5 | |
---|
6 | function toggleWithImgUtil(id, imageId, openImgUrl, closedImgUrl) { |
---|
7 | |
---|
8 | $(id).toggle(); |
---|
9 | |
---|
10 | if( $(id).visible() ) { |
---|
11 | $(imageId).src= openImgUrl; |
---|
12 | } |
---|
13 | else { |
---|
14 | $(imageId).src= closedImgUrl; |
---|
15 | } |
---|
16 | } |
---|
17 | |
---|
18 | function showUtil(id) { |
---|
19 | Effect.Appear(id,{duration:0.4,queue:'end'}); |
---|
20 | } |
---|
21 | |
---|
22 | function hideUtil(id) { |
---|
23 | Effect.Fade(id,{duration:0.4,queue:'end'}); |
---|
24 | } |
---|
25 | |
---|
26 | function toggleWithImgAndEffectUtil(id, imageId, openImgUrl, closedImgUrl) { |
---|
27 | |
---|
28 | if( $(id).visible() ) { |
---|
29 | Effect.Fade(id,{duration:0.4,queue:'end'}); |
---|
30 | $(imageId).src= closedImgUrl; |
---|
31 | } |
---|
32 | else { |
---|
33 | Effect.Appear(id,{duration:0.4,queue:'end'}); |
---|
34 | $(imageId).src= openImgUrl; |
---|
35 | } |
---|
36 | } |
---|
37 | |
---|
38 | function textAreaScrollBottom(id) { |
---|
39 | $(id).scrollTop = $(id).scrollHeight; |
---|
40 | } |
---|
41 | |
---|
42 | function focusUtil(id) { |
---|
43 | $(id).focus(); |
---|
44 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.