Changes between Version 24 and Version 25 of TracInterfaceCustomization
- Timestamp:
- Feb 19, 2006, 9:44:27 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracInterfaceCustomization
v24 v25 155 155 YOU WOULD PASTE IT HERE 156 156 157 157 158 <!--- End of Google Ad Code --> 158 159 </div> … … 167 168 <!--- End of Google Ad Code --> 168 169 </div> 169 <script type="text/javascript" language="JavaScript"> 170 <!-- 171 ********************************************************* 170 171 <!-- ********************************************************************* 172 172 * You may use this code for free on any web page provided that 173 173 * these comment lines and the following credit remain in the code. 174 * BottomLeft Floating Div from http://www.javascript-fx.com 175 ******************************************************** 176 Modified to be on top right by Pedro Algarvio, not that much 177 of trouble doin't it so all credits go to: 178 http://www.javascript-fx.com 179 --> 174 * From http://www.javascript-fx.com 175 **************************************************************** --> 176 <script type="text/javascript"> 177 <!-- 180 178 function JSFX_FloatTopRight() 181 179 { … … 195 193 { 196 194 var pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop; 197 ftlObj.y += (pY + startY - ftlObj.y)/8; 195 var dY = (pY > startY) ? pY : startY; 196 ftlObj.y += (dY - ftlObj.y)/8; 198 197 ftlObj.sP(ftlObj.x, ftlObj.y); 199 198 setTimeout("stayTopRight()", 40); 200 199 } 201 ftlObj = ml(" ads");200 ftlObj = ml("right"); 202 201 stayTopRight(); 203 202 } 204 203 JSFX_FloatTopRight(); 204 //--> 205 205 </script> 206 206 }}}