Changeset 722
- Timestamp:
- 04/24/06 14:58:00 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
presentations/2006/ajax_experience/ui/mochikit/slides.js
r721 r722 4990 4990 outline.disabled = true; 4991 4991 s5mode = true; 4992 fontScale();4992 s5_fontScale(); 4993 4993 for (var n = 0; n < smax; n++) { 4994 4994 var slide = slideColl[n]; … … 5078 5078 } 5079 5079 5080 function clicker(e) {5080 function s5_clicker(e) { 5081 5081 number = undef; 5082 5082 var target; … … 5182 5182 } 5183 5183 5184 function fontScale() { // causes layout problems in FireFox that get fixed if browser's Reload is used; same may be true of other Gecko-based browsers5184 function s5_fontScale() { // causes layout problems in FireFox that get fixed if browser's Reload is used; same may be true of other Gecko-based browsers 5185 5185 if (!s5mode) return false; 5186 5186 var vScale = 22; // both yield 32 (after rounding) at 1024x768 … … 5300 5300 5301 5301 // Key trap fix, new function body for trap() 5302 function trap(e) {5302 function s5_trap(e) { 5303 5303 if (!e) { 5304 5304 e = event; … … 5320 5320 fixLinks(); 5321 5321 externalLinks(); 5322 fontScale();5322 s5_fontScale(); 5323 5323 if (!isOp) { 5324 5324 notOperaFix(); … … 5329 5329 } 5330 5330 document.onkeyup = s5_keys; 5331 document.onkeypress = trap;5332 document.onclick = clicker;5331 document.onkeypress = s5_trap; 5332 document.onclick = s5_clicker; 5333 5333 } 5334 5334 } 5335 5335 5336 5336 window.onload = startup; 5337 window.onresize = function(){setTimeout(' fontScale()', 50);}5337 window.onresize = function(){setTimeout('s5_fontScale()', 50);}
