Ignore:
Timestamp:
02/29/12 16:32:21 (13 years ago)
Author:
cartis
Message:

klaar voor testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/Cartis/Tiles preview/js/nav.js

    r283 r296  
    3636       
    3737       
    38        
    39        
    40        
    41        
    42        
    43        
    44        
    45        
    46        
    47        
    48        
    49        
    5038    mockup = {
    5139        api: {
     
    7058                    $.getScript("pages/"+name+".js", function(responseText, textStatus, XMLHttpRequest){
    7159                       
    72                     })
     60                        })
    7361                });
    7462                mockup.api.breadcrumbs.navTo(name);
    7563            },
     64            auth: function(target, destination) {
     65                debugger;
     66                var name = document.getElementById("loginForm_name");
     67                var pw = document.getElementById("loginForm_password");
     68               
     69                if (name.value.length > 0 && pw.value.length > 0) {
     70                    mockup.api.clickTile(target, destination);
     71                }
     72               
     73            },
    7674            breadcrumbs: new (function() {
    77                 var _crumbs = ["Home"];
     75                var _crumbs = [];
    7876                var _element = document.getElementById('breadcrumbs');
    7977                this.init = function() {
Note: See TracChangeset for help on using the changeset viewer.