Skip to content

Commit

Permalink
AXTopDownMenu v1.21
Browse files Browse the repository at this point in the history
  childMenu 오픈 위치 버그 픽스
  • Loading branch information
thomasJang committed May 19, 2014
1 parent 5da183c commit addb52b
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 25 deletions.
26 changes: 14 additions & 12 deletions dist/AXJ.all.js
Original file line number Diff line number Diff line change
Expand Up @@ -24066,17 +24066,7 @@ jQuery.fn.setValueTab = function (value) {
});
};
/* ---------------------------- */
/* http://www.axisj.com, license : http://www.axisj.com/license */

var AXTopDownMenu = Class.create(AXJ, {
version : "AXTopDownMenu v1.2",
author : "tom@axisj.com",
logs: [
"2013-03-12 오후 8:21:23",
"2013-11-22 오후 6:03:35 - tom : parent item Addclass 추가",
"2013-12-31 오후 2:06:06 - root : setTree 시 child node count check 추가",
"2014-04-14 - tom : setTree 메소드 엘리먼트 준비전에 박스모델 가져오는 문제 딜레이로 해결"
],
initialize: function(AXJ_super){
AXJ_super();

Expand Down Expand Up @@ -24123,6 +24113,14 @@ var AXTopDownMenu = Class.create(AXJ, {
}else if(cfg.targetID){

}

axdom(window).bind("resize", this.windowResize.bind(this));
},
windowResizeApply: function(){
var cfg = this.config;
axf.each(this.tree, function(){
this.height = axdom("#" + this.id).outerHeight();
});
},
setTree: function(tree){
var cfg = this.config;
Expand Down Expand Up @@ -24236,6 +24234,12 @@ var AXTopDownMenu = Class.create(AXJ, {
if(!this.tree[poi].divDim){
tgDiv.show();
this.tree[poi].divDim = {width:tgDiv.outerWidth(), height:tgDiv.outerHeight()};
if(this.tree[poi].height == null){
for(var index = 0;index < this.tree.length;index++){
this.tree[index].height = axdom("#" + this.tree[index].id).outerHeight();
}
//trace(poi, this.tree[poi]);
}
var topDim = {width:this.tree[poi].width, height:this.tree[poi].height};

/* subMenu positioning */
Expand Down Expand Up @@ -24563,8 +24567,6 @@ var AXTopDownMenu = Class.create(AXJ, {
}
});



var AXMobileMenu = Class.create(AXJ, {
version: "AXMobileMenu V0.4",
author: "tom@axisj.com",
Expand Down
Loading

0 comments on commit addb52b

Please sign in to comment.