Find Jobs
Hire Freelancers

Advice on Angular J , JQuery issue needed

$10-30 USD

Terminado
Publicado hace más de 8 años

$10-30 USD

Pagado a la entrega
Issue in Angular J , JQuery Our issue is that we can not load images inside the loop in jquery and angularJs. There is problem is that when we load first image, there is some time in between loading first image, in this time next function executed for second function gets called. Our aim is that we have to wait for all execution of first image and thenexecution goes to second image and all other images same. I case of multiple pages in PDF let us consider we have 10 pages in that PDF, while loading our PDF in canvas we have to convert it into image one by one page. Now consider we have editing first page, We have to write first page image on Canvas and then we write content of that page on that canvas but here problem is that we load first page on canvas it takes some more time in between that time another function automatically gets called which need not to get called before completing above process. if you want to check actual piece of code for (var i = 0; i < 10; i++) { var b_canvas1 = [login to view URL]("printcanvas"); var canvasContext = [login to view URL]("2d"); [login to view URL](0, 0, [login to view URL], [login to view URL]); var img = new Image(); [login to view URL] = function () { [login to view URL](img, 0, 0, [login to view URL] * 0.65, [login to view URL] * 0.65); //here also we having lot of functionality and after that having 1500-2000 lines and then we made image from that canvas like following var img1=new Image(); img1.onload=function(){ //here we made images from canvas $("#print_images").append("<img src='" + [login to view URL] + "' width='713' height='434'/>"); } img1.src=[login to view URL](); } [login to view URL] = imggg[i]; } JG
ID del proyecto: 8921918

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, Your code is working as it is written so your problem is logical NOT technical. Here is my solution try if it works in your case. var isCurrentImageLoaded = false; for (var i = 0; i < 10; i++) { var img = new Image(); isCurrentImageLoaded = false; [login to view URL] = function () { // Do all your image related processing here. isCurrentImageLoaded = true; } [login to view URL] = function () { // Log error and make flag to TRUE so that loop can go ahead. isCurrentImageLoaded = true; } [login to view URL] = imggg[i]; while(!isCurrentImageLoaded){ // just wait until your current image loaded. } } I understood your high level requirement. I am interested to work on this project. I have 7+ years experience in software development and customization using wide range of Microsoft technologies (C#, ASP.NET, MVC,WPF, Window form, Sql Databases, Azure, Sync framework etc.) and few open source like PHP,Java,JabbR. Since i have previous experience in such applications, so I think it will help in this project, if selected. About my previous work, you can visit my profile to see feedback from previous employer. You can also see my recent work on MVC, Azure at [login to view URL] and [login to view URL] Let me know, If you find me suitable for this project and share complete details. If you want more details, we can discuss over chat/ skype. Regards, Shashi Bhushan
$30 USD en 0 día
4,8 (24 comentarios)
4,9
4,9
5 freelancers están ofertando un promedio de $29 USD por este trabajo
Avatar del usuario
I have more than 8 years of experience in Asp.net, C#, VB.Net and Sql server. I have good proficiency over MVC, MVVM, Web Service, Windows Service, Web API, Jquery, Ajax, Java Script, HTML, CSS3, Boot Strap,WPF, Xamarin, Entity. Reports : RDLC, Crystal Report and SSRS. We are very much interested in working in this job. Please call us for the interview, we are ready to start working with you.
$25 USD en 1 día
5,0 (18 comentarios)
4,7
4,7
Avatar del usuario
With around 4+ years of experience in IT field B.E. in IT M.Tech. in CS But without looking at the actual requirement I can't commit the timeframe/budget required to complete this task. I am good in this kind of applications and can help you in it.
$30 USD en 1 día
5,0 (1 comentario)
1,0
1,0
Avatar del usuario
A proposal has not yet been provided
$25 USD en 1 día
0,0 (1 comentario)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
Lawrenceville, United States
5,0
18
Forma de pago verificada
Miembro desde ene 23, 2007

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.