Commit 688811d6 by Saliya Randunu

if occupation_select_info width issue

parent 10a1f739
...@@ -6540,7 +6540,7 @@ input{ ...@@ -6540,7 +6540,7 @@ input{
.occupation_select_button {height: 100px; padding:20px; text-align: right; border-top: solid 1px #e5e8eb ;} .occupation_select_button {height: 100px; padding:20px; text-align: right; border-top: solid 1px #e5e8eb ;}
.occupation_select_button .btn.btn-primary.largeBtn{margin: 0} .occupation_select_button .btn.btn-primary.largeBtn{margin: 0}
.occupation_select_info {position: absolute;width: 25%; line-height: 18px; padding: 30px; right: 0; text-align: center; top: 150px;} .occupation_select_info {position: absolute;width: 75%; line-height: 18px; padding: 30px; right: 0; text-align: center; top: 150px;}
.workflow-row {position: relative} .workflow-row {position: relative}
.workflow-row span{position: absolute; display: inline-block;top:15px;left:15px;} .workflow-row span{position: absolute; display: inline-block;top:15px;left:15px;}
......
...@@ -46,6 +46,13 @@ ...@@ -46,6 +46,13 @@
onCreated : function(){ onCreated : function(){
$(".dyn-div").empty(); $(".dyn-div").empty();
$(".occupation_content_column").css("width", popup_width/4 ); $(".occupation_content_column").css("width", popup_width/4 );
},
onOpen : function(){
if(lastclickedOccid===0){
$(".dyn-div").empty();
$('.occupation_content_column ul li').removeClass("clicked");
$(".occupation_select_info").css("width","75%");
}
} }
}); });
...@@ -59,6 +66,7 @@ ...@@ -59,6 +66,7 @@
$(this).siblings('li').removeClass("clicked"); $(this).siblings('li').removeClass("clicked");
$(this).addClass("clicked"); $(this).addClass("clicked");
if( !$(this).parent().hasClass("third-child")) { if( !$(this).parent().hasClass("third-child")) {
$(".occupation_select_info").show(); $(".occupation_select_info").show();
...@@ -75,7 +83,15 @@ ...@@ -75,7 +83,15 @@
$(".occupation_select_info").hide(); $(".occupation_select_info").hide();
} }
else { else {
$(".occupation_select_info").show();
if( $(this).hasClass("main-item")) {
$(".occupation_select_info").css("width","50%").show();
}else{
if( $(this).parent().hasClass("first-child")) {
$(".occupation_select_info").css("width","25%").show();
}
}
} }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment