Find Jobs
Hire Freelancers

Advice on Angular J , JQuery issue needed

$10-30 USD

Завершено
Опублікований over 8 years ago

$10-30 USD

Оплачується при отриманні
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 проекту: 8921918

Про проект

5 пропозицій(-ї)
Дистанційний проект
Активність 9 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
Доручений:
Аватарка користувача
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 за 0 день
4,8 (24 відгуки(-ів))
4,9
4,9
5 фрілансерів(-и) готові виконати цю роботу у середньому за $29 USD
Аватарка користувача
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 за 1 день
5,0 (18 відгуки(-ів))
4,7
4,7
Аватарка користувача
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 за 1 день
5,0 (1 відгук)
1,0
1,0
Аватарка користувача
A proposal has not yet been provided
$25 USD за 1 день
0,0 (1 відгук)
0,0
0,0

Про клієнта

Прапор UNITED STATES
Lawrenceville, United States
5,0
18
Спосіб оплати верифіковано
На сайті з січ. 23, 2007

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.