File tree Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Expand file tree Collapse file tree 2 files changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,30 @@ $(document).ready( function() {
66
66
} ) ;
67
67
68
68
if ( typeof getParams [ 'firstuse' ] !== 'undefined' ) {
69
- buildIntroduction ( ) ;
69
+ setTimeout ( function ( ) {
70
+ buildIntroduction ( ) ;
71
+ } , 400 ) ;
72
+ } else {
73
+ $ ( '#introduction' ) . css ( 'display' , 'none' ) ;
70
74
}
71
75
} ) ;
72
76
73
77
74
78
var buildIntroduction = function ( ) {
75
- $ ( '#introduction' ) . fadeIn ( ) ;
79
+ $ ( '#introduction' ) . css ( {
80
+ 'display' : 'none' ,
81
+ 'visibility' : 'visible'
82
+ } ) . fadeIn ( 'slow' , function ( ) {
83
+ setTimeout ( function ( ) {
84
+ $ ( '#myapps_tip' ) . css ( { 'visibility' :'visible' } ) . hide ( ) . fadeIn ( ) ;
85
+ } , 1000 ) ;
86
+ setTimeout ( function ( ) {
87
+ $ ( '#newapp_tip' ) . css ( { 'visibility' :'visible' } ) . hide ( ) . fadeIn ( ) ;
88
+ } , 2000 ) ;
89
+ setTimeout ( function ( ) {
90
+ $ ( '#settings_tip' ) . css ( { 'visibility' :'visible' } ) . hide ( ) . fadeIn ( ) ;
91
+ } , 3000 ) ;
92
+ } ) ;
76
93
$ ( '.gotit' ) . click ( function ( ) {
77
94
$ ( '#introduction' ) . fadeOut ( function ( ) {
78
95
$ ( this ) . hide ( ) ;
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ <h1>Settings</h1>
120
120
< div class ="cancel "> Cancel</ div >
121
121
</ div >
122
122
123
- < div id ="introduction " style ="display:none ">
123
+ < div id ="introduction " style ="visibility:hidden ">
124
124
125
125
< div class ="intromessage ">
126
126
< h1 > Getting Started</ h1 >
@@ -129,9 +129,9 @@ <h1>Getting Started</h1>
129
129
< div class ="gotit "> Got It</ div >
130
130
</ div >
131
131
</ div >
132
- < img src ="/static/apps/coder/media/myapps_tip.png " id ="myapps_tip " />
133
- < img src ="/static/apps/coder/media/settings_tip.png " id ="settings_tip "/>
134
- < img src ="/static/apps/coder/media/newapp_tip.png " id ="newapp_tip "/>
132
+ < img src ="/static/apps/coder/media/myapps_tip.png " id ="myapps_tip " style =" visibility:hidden " />
133
+ < img src ="/static/apps/coder/media/settings_tip.png " id ="settings_tip " style =" visibility:hidden " />
134
+ < img src ="/static/apps/coder/media/newapp_tip.png " id ="newapp_tip " style =" visibility:hidden " />
135
135
136
136
</ div >
137
137
You can’t perform that action at this time.
0 commit comments