Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6955 Rev 6956
Línea 811... Línea 811...
811
     	fontfamily="Arial";
811
     	fontfamily="Arial";
812
     	r=0,g=0,b=0,a=1;
812
     	r=0,g=0,b=0,a=1;
813
		window.clearInterval(editorNoticia);	
813
		window.clearInterval(editorNoticia);	
814
		setTimeout(function(){
814
		setTimeout(function(){
815
			if(fileToggle){
815
			if(fileToggle){
816
				$('#imagen_noticias').css({
-
 
817
					'height': '320px',
-
 
818
    				'width': '420px',
-
 
819
				})
816
				
Línea 820... Línea 817...
820
				
817
				
821
			}
818
			}
822
			scroll_altura=$(".articulo_noticia").offset().top-110;
819
			scroll_altura=$(".articulo_noticia").offset().top-110;
823
			anchoFondoOscuro = $(".articulo_noticia").width();
820
			anchoFondoOscuro = $(".articulo_noticia").width();
Línea 1543... Línea 1540...
1543
		
1540
		
1544
	}
1541
	}
1545
	}
1542
	}
1546
	function actualizar(){
1543
	function actualizar(){
-
 
1544
			$(imagen).ready(function(e){
-
 
1545
				elemento2.height=ph;
1547
			$(imagen).ready(function(e){
1546
				elemento2.width=pw;
1548
				if(uno){
1547
				if(uno){
1549
					ancho=imagen.width, alto = imagen.height;
1548
					ancho=imagen.width, alto = imagen.height;
1550
					elemento.width = ancho;
1549
					elemento.width = ancho;
-
 
1550
					elemento.height = alto;
1551
					elemento.height = alto;
1551
					
1552
					$(".scale").css("display","flex");
1552
					$(".scale").css("display","flex");
1553
					mitadX=ancho/2;
1553
					mitadX=ancho/2;
1554
					mitadY=alto/2;
1554
					mitadY=alto/2;
1555
					x=mitadX-xf/2;
1555
					x=mitadX-xf/2;
Línea 1637... Línea 1637...
1637
					
1637
					
1638
				}
1638
				}
1639
			})
1639
			})
1640
		}
1640
		}
1641
	var imagenOriginal,pw=420,ph=320;
1641
	var imagenOriginal,pw=420,ph=320;
1642
	var x,y,xf=pw,yf =ph, elemento,editor,centro, total,scale,dimencionesTexto,ancho_imaNoti,
1642
	var x,y,xf=pw,yf =ph, elemento,elemento2,editor,centro, total,scale,dimencionesTexto,ancho_imaNoti,
1643
	recorte_listo=false,alto,ancho,tx,ty,txf,tyf,cuatro=true,texto_actualizar=false,cinco=true,seis=true,cuatro;
1643
	recorte_listo=false,alto,ancho,tx,ty,txf,tyf,cuatro=true,texto_actualizar=false,cinco=true,seis=true,cuatro;
1644
	var  mitadY,mitadX, uno=true,dos=false, recorte=ph/pw, imagen_noticias, scale_noticia, tres=true,rotar=false, cortar=false;;
1644
	var  mitadY,mitadX, uno=true,dos=false, recorte=ph/pw, imagen_noticias, scale_noticia, tres=true,rotar=false, cortar=false;;
Línea 1645... Línea 1645...
1645
	var translateX;
1645
	var translateX;