Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12342 | Rev 12344 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12342 Rev 12343
Línea 791... Línea 791...
791
	$(document).on("mouseover", ".editorNoticia", function(){
791
	$(document).on("mouseover", ".editorNoticia", function(){
792
		const getScrollBarWidth = () => window.innerWidth - document.documentElement.getBoundingClientRect().width
792
		const getScrollBarWidth = () => window.innerWidth - document.documentElement.getBoundingClientRect().width
793
		console.log(getScrollBarWidth());
793
		console.log(getScrollBarWidth());
794
		let anchoScroll= getScrollBarWidth()+"px";
794
		let anchoScroll= getScrollBarWidth()+"px";
795
		$("body").css({"overflow": "hidden"});
795
		$("body").css({"overflow": "hidden"});
796
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right",anchoScroll )
796
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre,.subpanel").css("margin-right",anchoScroll )
797
		$(".barra,.footer,.subpanel").css("padding-right",anchoScroll)
797
		$(".barra,.footer").css("padding-right",anchoScroll)
Línea 798... Línea 798...
798
		
798
		
799
 
799
 
800
	})
800
	})
Línea 809... Línea 809...
809
			actualizar2()
809
			actualizar2()
810
		}
810
		}
811
	})
811
	})
812
	$(document).on("mouseout", ".editorNoticia",function(){
812
	$(document).on("mouseout", ".editorNoticia",function(){
813
		$("body").css({"overflow": "auto"})
813
		$("body").css({"overflow": "auto"})
814
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre").css("margin-right", "0px")
814
		$(".cuadro_noticias, .fixed_noticia,.tituloEditor,.grid-padre,.subpanel").css("margin-right", "0px")
815
		$(".barra,.footer,.subpanel").css("padding-right","0px")
815
		$(".barra,.footer").css("padding-right","0px")
Línea 816... Línea 816...
816
		
816
		
817
	})
817
	})
818
	$(document).on('mousewheel', ".editorNoticia",function(e){
818
	$(document).on('mousewheel', ".editorNoticia",function(e){
819
		var ruedita = e.originalEvent.wheelDelta 
819
		var ruedita = e.originalEvent.wheelDelta