issue #1 Fix amenity&room service item list scroll issue. change user guide text color.
This commit is contained in:
@@ -1631,6 +1631,8 @@ HotelTV.ui_appfull = (function() {
|
||||
case "enter": {
|
||||
_elAmCtgyBgMenuItemWin.find('.amctgyItem').first().addClass("focus");
|
||||
__amctgyItemStatus.idx = 0;
|
||||
__amctgyItemStatus.scroll_TOfset = 0;
|
||||
_elAmCtgyBgMenuItemWin.find('.tbl_record').children('#record').animate({ scrollTop: 0 }, 200);
|
||||
__ifxn_updateAmItemDesc(__amctgyItemStatus.idx);
|
||||
} break;
|
||||
|
||||
@@ -1654,10 +1656,12 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
// 테이블 ROW인덱스와 스크롤 OFFSET계산
|
||||
__amctgyItemStatus.idx = _elTblTr_AmItemNext.prop('rowIndex');
|
||||
__amctgyItemStatus.scroll_TOfset += _elTblTr_AmItemNext.prop('scrollHeight');
|
||||
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_AmItem.children('#record').animate({ scrollTop: __amctgyItemStatus.scroll_TOfset }, 200);
|
||||
if ( _elTbl_AmItem.children('#record').find('tr').first().position().top<0 ){
|
||||
__amctgyItemStatus.scroll_TOfset -= _elTblTr_AmItemNext.prop('scrollHeight');
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_AmItem.children('#record').animate({ scrollTop: __amctgyItemStatus.scroll_TOfset }, 200);
|
||||
}
|
||||
|
||||
__ifxn_updateAmItemDesc(__amctgyItemStatus.idx, function() {
|
||||
if ( _isNeedSoldOutMask==true ){
|
||||
@@ -1684,10 +1688,11 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
// 테이블 ROW인덱스와 스크롤 OFFSET계산
|
||||
__amctgyItemStatus.idx = _elTblTr_AmItemNext.prop('rowIndex');
|
||||
__amctgyItemStatus.scroll_TOfset += _elTblTr_AmItemNext.prop('scrollHeight');
|
||||
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_AmItem.children('#record').animate({ scrollTop: __amctgyItemStatus.scroll_TOfset }, 200);
|
||||
if ( __amctgyItemStatus.idx>=12 ){
|
||||
__amctgyItemStatus.scroll_TOfset += _elTblTr_AmItemNext.prop('scrollHeight');
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_AmItem.children('#record').animate({ scrollTop: __amctgyItemStatus.scroll_TOfset }, 200);
|
||||
}
|
||||
|
||||
__ifxn_updateAmItemDesc(__amctgyItemStatus.idx, function() {
|
||||
if ( _isNeedSoldOutMask==true ){
|
||||
@@ -3165,7 +3170,10 @@ HotelTV.ui_appfull = (function() {
|
||||
{
|
||||
case "enter": {
|
||||
_elRsCtgyBgMenuItemWin.find('.rsctgyItem').first().addClass("focus");
|
||||
//인덱스 및 스크롤 초기화
|
||||
__rsctgyItemStatus.idx = 0;
|
||||
__rsctgyItemStatus.scroll_TOfset = 0;
|
||||
_elRsCtgyBgMenuItemWin.find('.tbl_record').children('#record').animate({ scrollTop: 0 }, 200);
|
||||
__ifxn_updateRsItemDesc(__rsctgyItemStatus.idx);
|
||||
} break;
|
||||
|
||||
@@ -3189,10 +3197,12 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
// 테이블 ROW인덱스와 스크롤 OFFSET계산
|
||||
__rsctgyItemStatus.idx = _elTblTr_RsItemNext.prop('rowIndex');
|
||||
__rsctgyItemStatus.scroll_TOfset += _elTblTr_RsItemNext.prop('scrollHeight');
|
||||
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_RsItem.children('#record').animate({ scrollTop: __rsctgyItemStatus.scroll_TOfset }, 200);
|
||||
if ( _elTbl_RsItem.children('#record').find('tr').first().position().top<0 ){
|
||||
__rsctgyItemStatus.scroll_TOfset -= _elTblTr_RsItemNext.prop('scrollHeight');
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_RsItem.children('#record').animate({ scrollTop: __rsctgyItemStatus.scroll_TOfset }, 200);
|
||||
}
|
||||
|
||||
__ifxn_updateRsItemDesc(__rsctgyItemStatus.idx, function() {
|
||||
if ( _isNeedSoldOutMask==true ){
|
||||
@@ -3219,10 +3229,11 @@ HotelTV.ui_appfull = (function() {
|
||||
|
||||
// 테이블 ROW인덱스와 스크롤 OFFSET계산
|
||||
__rsctgyItemStatus.idx = _elTblTr_RsItemNext.prop('rowIndex');
|
||||
__rsctgyItemStatus.scroll_TOfset += _elTblTr_RsItemNext.prop('scrollHeight');
|
||||
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_RsItem.children('#record').animate({ scrollTop: __rsctgyItemStatus.scroll_TOfset }, 200);
|
||||
if ( __rsctgyItemStatus.idx>=12 ){
|
||||
__rsctgyItemStatus.scroll_TOfset += _elTblTr_RsItemNext.prop('scrollHeight');
|
||||
//스크롤 에니메이션 수행
|
||||
_elTbl_RsItem.children('#record').animate({ scrollTop: __rsctgyItemStatus.scroll_TOfset }, 200);
|
||||
}
|
||||
|
||||
__ifxn_updateRsItemDesc(__rsctgyItemStatus.idx, function() {
|
||||
if ( _isNeedSoldOutMask==true ){
|
||||
|
||||
Reference in New Issue
Block a user