Changeset 722

Show
Ignore:
Timestamp:
04/24/06 14:58:00 (2 years ago)
Author:
bob@redivi.com
Message:

js tweak

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • presentations/2006/ajax_experience/ui/mochikit/slides.js

    r721 r722  
    49904990                outline.disabled = true; 
    49914991                s5mode = true; 
    4992                 fontScale(); 
     4992                s5_fontScale(); 
    49934993                for (var n = 0; n < smax; n++) { 
    49944994                        var slide = slideColl[n]; 
     
    50785078} 
    50795079 
    5080 function clicker(e) { 
     5080function s5_clicker(e) { 
    50815081        number = undef; 
    50825082        var target; 
     
    51825182} 
    51835183 
    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 browsers 
     5184function 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 
    51855185        if (!s5mode) return false; 
    51865186        var vScale = 22;  // both yield 32 (after rounding) at 1024x768 
     
    53005300 
    53015301// Key trap fix, new function body for trap() 
    5302 function trap(e) { 
     5302function s5_trap(e) { 
    53035303        if (!e) { 
    53045304                e = event; 
     
    53205320        fixLinks(); 
    53215321        externalLinks(); 
    5322         fontScale(); 
     5322        s5_fontScale(); 
    53235323        if (!isOp) { 
    53245324                notOperaFix(); 
     
    53295329                } 
    53305330                document.onkeyup = s5_keys; 
    5331                 document.onkeypress = trap; 
    5332                 document.onclick = clicker; 
     5331                document.onkeypress = s5_trap; 
     5332                document.onclick = s5_clicker; 
    53335333        } 
    53345334} 
    53355335 
    53365336window.onload = startup; 
    5337 window.onresize = function(){setTimeout('fontScale()', 50);} 
     5337window.onresize = function(){setTimeout('s5_fontScale()', 50);}