File tree Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Expand file tree Collapse file tree 3 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 6969				padding :  20px   20px   0  20px  ;
7070			}
7171
72- 				# panel  # book  {
73- 					margin-top :   15 px  ;
72+ 				# panel  img  {
73+ 					border :   1 px  solid  # ccc  ;
7474				}
7575
76- 				# panel  # book  img  {
77- 					border :  1px   solid # ccc ;
76+ 				# panel  # resource  {
77+ 					text-align :  center;
78+ 				}
79+ 
80+ 				# panel  # book  {
81+ 					text-align :  center;
82+ 					margin-top :  15px  ;
7883				}
7984
8085			# content  {
@@ -138,8 +143,15 @@ <h1>three.js<span style="font-size: 50%; vertical-align: super;"> <a href="http:
138143
139144			< hr  /> 
140145
141- 			< center > 
142- 			< a  href ="http://www.udacity.com/overview/Course/cs291/ " target ="_blank "> < img  src ="files/udacity.png " width ="121 " height ="152 " style ="border:1px solid #ccc " /> </ a > 
146+ 			< div  id ="resource "> 
147+ 			< script > 
148+ 				var  resources  =  [ 
149+ 					'<a href="http://www.udacity.com/overview/Course/cs291/" target="_blank"><img src="files/udacity.png" width="121" height="152" /></a>' , 
150+ 					'<a href="http://davidscottlyons.com/threejs/presentations/frontporch14/" target="_blank"><img src="files/intro.png" width="121" height="106" /></a>' 
151+ 				] ; 
152+ 				document . write (  resources [  Math . floor (  Math . random ( )  *  resources . length  )  ]  ) ; 
153+ 			</ script > 
154+ 			</ div > 
143155
144156			< div  id ="book "> 
145157			< script > 
@@ -154,8 +166,6 @@ <h1>three.js<span style="font-size: 50%; vertical-align: super;"> <a href="http:
154166			</ script > 
155167			</ div > 
156168
157- 			</ center > 
158- 
159169		</ div > 
160170
161171		< div  id ="content "> 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments