2017-03-10 3 views
-1

무료 DNN 플랫폼 9.0.1을 실행 중이며 왼쪽 Persona가 왼쪽에서 오른쪽으로 슬라이드하지 못하도록하고 싶습니다. 페이지를 새로 고치는 순간부터 정적으로 표시되도록하고 싶습니다. CSS를 추가하여 '왼쪽'속성을 무시하려고했지만 도움이되지 않았습니다. 슬라이드를 수행하는 JavaScript 코드는 어디에 있습니까? 나는 그것을 제거하고 싶다.dotnetnuke stop personabar sliding

+0

저는 이것이 현대의 DNN 프레임 워크의 핵심에 내장되어 있다고 믿습니다. 그리고 이것을 막을 수있는 환경은 없습니다. – blackhawk

답변

1

나는 그것을하는 방법을 발견했다. 다른 사람이 그것에 괴롭히는 경우 애니메이션을 중지하는 방법은 다음과 같습니다. '/DesktopModules/admin/Dnn.PersonaBar/scripts/main.js'에서

, 나는 다음과 같은 변경 :

$personaBar.css({ left: -100 }); 
$parentBody.animate({ marginLeft: personaBarMenuWidth }, 200, 'linear', onShownPersonaBar); 
$personaBar.animate({ left: 0 }, 200, 'linear', callback); 

에 ...

//$personaBar.css({ left: -100 }); 
//$parentBody.animate({ marginLeft: personaBarMenuWidth }, 0, 'linear', onShownPersonaBar); 
//$personaBar.animate({ left: 0 }, 0, 'linear', callback); 

onShownPersonaBar(); 
callback(); 

를 ... 그리고 CSS의 '.personabar'규칙을 'left : 0;'으로 변경했습니다.