Widget:PillIdentifier: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 298: | Line 298: | ||
var dirIndex = ""; | var dirIndex = ""; | ||
var position = $(".propertyContainerActive").data()["order"]; | var position = $(".propertyContainerActive").data()["order"]; | ||
var positionArr = [ | var positionArr = [ | ||
["", ""], | ["", ""], | ||
Line 318: | Line 316: | ||
console.log("Ruh-roh. Something happened in figuring out what direction to navigate"); | console.log("Ruh-roh. Something happened in figuring out what direction to navigate"); | ||
} | } | ||
var newActiveDiv = positionArr[position][dirIndex]; | var newActiveDiv = positionArr[position][dirIndex]; | ||
console.log(newActiveDiv); | console.log(newActiveDiv); | ||
console.log($(this)); | |||
$(this).removeClass("propertyContainerAcitve").addClass("propertyContainerInactive"); | $(this).removeClass("propertyContainerAcitve").addClass("propertyContainerInactive"); | ||
$(newActiveDiv).removeClass("propertyContainerInactive").addClass("propertyContainerActive"); | $(newActiveDiv).removeClass("propertyContainerInactive").addClass("propertyContainerActive"); |