You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
416 B

/*!
* Iguana page router
* info: simple page router
*/
function openPage(url) {
var localPageUrl;
switch (url) {
case "login":
localPageUrl = "login.html";
break;
case "create-account":
localPageUrl = "create-account.html";
break;
case "dashboard":
localPageUrl = "dashboard.html";
break;
}
document.location = localPageUrl;
}