Assembla home | Assembla project page
 

Changeset 4

Show
Ignore:
Timestamp:
04/27/07 11:26:28 (2 years ago)
Author:
digitalspaghetti
Message:

Added text size for accessibility, currently hard coded.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/views/elements/jsfiles.ctp

    r2 r4  
    1111<?php e($javascript->link('jdMenu'));?> 
    1212<?php e($javascript->link('treeview'));?> 
     13<?php e($javascript->link('cookie'));?> 
     14<?php e($javascript->link('fontsizer'));?> 
    1315<?php e($javascript->link('webrocket'));?> 
  • trunk/views/layouts/default.ctp

    r2 r4  
    5050                                <div class="right"> 
    5151 
    52                                         <div class="subnav"><?php //e($this->element('google_feeds'));?></div> 
     52                                        <div class="subnav"> 
     53                                                <a onclick="$.FontSizer.IncreaseSize();">Increase</a> 
     54                                                <a onclick="$.FontSizer.DecreaseSize();">Decrease</a> 
     55                                        </div> 
    5356 
    5457                                </div> 
  • trunk/webroot/js/webrocket.js

    r2 r4  
     1$(document).ready(function() { 
     2        var options = { min: -3, max: 2}; 
     3        //Initialize the font sizer for the site. 
     4        $.FontSizer.Init(options); 
     5}); 
     6 
    17$(document).ready(function(){ 
    28                $("ul.treeview:first").Treeview();