donate to a friend's fundraiser

idonate was established in 2011 to assist charities & non profits in fundraising. Our aim is to provide tools for both charities and fundraisers to help raise much needed funds.

Temporarily Unavailable.

We'll be back in a few moments.

We apologise for the inconvenience.

', paged: '0' }, dataType: 'json', cache: false, success: function(response) { var html = ''; var limit = jQuery('#dalata-our-fundraiser').attr('val'); var flag = 0; jQuery.each(response, function(key, value) { if(limit == 1 && flag == 4) { return false; } if(value.profilePicture == '') { var site_url = 'https://dalatadigsdeep.ie'; img = site_url+"/wp-content/uploads/2022/06/dalata-logo-img.png"; } else { img = value.profilePicture; } html += '
'; html += '
'; html += ''; html += '
'; html += '

'+value.pageTitle.replace(new RegExp("\\\\", "g"), "")+'

'; html += '
'; html += 'View Page'; html += '
'; html += '

€'+value.raisedAmount.toFixed(2)+'

'; html += '
'; html += '
'; html += '
'; flag = Number(flag) + 1; }); jQuery('.dalata-fundraiser-grids').html(html); if(response.length <= 4 && limit == 1) { // jQuery('#dalata-page-more').css('display','none'); } if(limit == 0 && response.length < 8) { jQuery('#dalata-page-more').css('display','none'); } var flag1 = 0; jQuery.each(response, function(key, value) { if(limit == 1 && flag1 == 4) { return false; } setTimeout(function() { var circle_id = "#circle-f"+value.id+""; var percent = parseFloat(value.average/100); var completed = parseInt(value.average); if(completed >100) { completed = 100; } var inc = 0; var canvas = jQuery(circle_id); c = canvas[0].getContext("2d"); cDim = { w: 220, h: 220 }, gui = new dat.GUI(); dat.GUI.toggleHide(); c.canvas.width = cDim.w; c.canvas.height = cDim.h; var params = new function() { this.line_width = 20; this.start_ang = Math.PI * 0.65; this.end_ang = Math.PI * 0.35; this.range_max = 1.1; this.range_min = -4.23; this.current_percent = completed; this.step_1 = function() { return (this.range_max - this.range_min)/100; } } draw_progress(params.current_percent); function draw_progress(percent) { draw_path(); var current_ang = params.range_min + (percent * params.step_1()); $(".count").html(Math.round(percent) + "%"); c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, current_ang); c.lineWidth = params.line_width; c.strokeStyle = "#921437"; c.lineCap = ""; c.stroke(); } function draw_path() { c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, params.end_ang); c.lineWidth = params.line_width; c.strokeStyle = "#fff"; c.lineCap = ""; c.stroke(); } }, 1000); flag1 = Number(flag1) + 1; }); }, error: function(error) { console.log(error); } }); //hotel grid pagination jQuery('#dalata-hotel-more').click(function() { jQuery('#dalata-hotel-more-btn').html(''); var paged = jQuery(this).attr('data-count'); paged = Number(paged) + 1; jQuery(this).attr('data-count',paged); jQuery.ajax({ type: "POST", url: 'https://www.actions.idonate.ie/corporate/getRaised', data: { enc: 'V21ScVltWlhMMHR1UTJWc1dsUlpjVEZ2WW1sV1Z5dFNlV1UwZVdkSE1sbFhORkpFZWxwS09UVmhjejA9', eid:' iDonate.ie - Scheduled Maintenance

Temporarily Unavailable.

We'll be back in a few moments.

We apologise for the inconvenience.

', paged: paged }, dataType: 'json', cache: false, success: function(response) { var html = ''; jQuery.each(response.data.CorporateData, function(key, value) { if(value.corporate_logo == '') { var site_url = 'https://dalatadigsdeep.ie'; img = site_url+"/wp-content/uploads/2022/06/dalata-logo-img.png"; } else { img = "https://www.idonate.ie/cause2020/public/uploads/"+value.corporate_logo; } corporateUrl = "https://www.idonate.ie/corporate/"+value.corporate_url; if(value.total_donation == null) { totalDonation = 0; } else { totalDonation = value.total_donation.toFixed(2); } html += '
'; html += '
'; html += ''; html += '
'; html += '

'+value.corporate_name.replace(new RegExp("\\\\", "g"), "")+'

'; html += '
'; html += 'View Page'; html += '
'; html += '

€'+totalDonation+'

'; html += '
'; html += '
'; html += '
'; }); setTimeout(function() { jQuery('.dalata-hotel-grids').append(html); }, 200); jQuery.each(response.data.CorporateData, function(key, value) { setTimeout(function() { var circle_id = "#circle-f"+value.corporate_id+""; if(value.total_donation == null) { totalDonation = 0; } else { totalDonation = value.total_donation; } var average = parseInt((totalDonation/(value.target_amount))*100); if(isNaN(average)) { average = 0; } var percentage = parseFloat(average/100); var percent = percentage; var completed = average; if(completed >100) { completed = 100; } var inc = 0; var canvas = jQuery(circle_id); c = canvas[0].getContext("2d"); cDim = { w: 220, h: 220 }, gui = new dat.GUI(); dat.GUI.toggleHide(); c.canvas.width = cDim.w; c.canvas.height = cDim.h; var params = new function() { this.line_width = 20; this.start_ang = Math.PI * 0.65; this.end_ang = Math.PI * 0.35; this.range_max = 1.1; this.range_min = -4.23; this.current_percent = completed; this.step_1 = function() { return (this.range_max - this.range_min)/100; } } draw_progress(params.current_percent); function draw_progress(percent) { draw_path(); var current_ang = params.range_min + (percent * params.step_1()); $(".count").html(Math.round(percent) + "%"); c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, current_ang); c.lineWidth = params.line_width; c.strokeStyle = "#921437"; c.lineCap = ""; c.stroke(); } function draw_path() { c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, params.end_ang); c.lineWidth = params.line_width; c.strokeStyle = "#fff"; c.lineCap = ""; c.stroke(); } jQuery('#dalata-hotel-more-btn').html('View more'); }, 1000); }); if(response.data.CorporateData == 0) { jQuery('#dalata-hotel-more').css('display','none'); } }, error: function(error) { console.log(error); } }); }); //our fundraisers pagination jQuery('.dalata-fund-page-more').click(function() { jQuery('#dalata-page-more-btn').html(''); var paged = jQuery('#dalata-page-more-btn').attr('data-count'); paged = Number(paged) + 1; jQuery('#dalata-page-more-btn').attr('data-count',paged); jQuery.ajax({ type: "POST", url: 'https://www.idonate.ie/getDaltaCorporate.php', data: { enc: 'YUhSWmRrUlpkR3RyTkRSQ2FUbDFlbFZGYm5kd2N6VTJTVzB5TVhCQ2RXTlhPVTR6VlVGMk9FcG1NRDA9', cid:' iDonate.ie - Scheduled Maintenance

Temporarily Unavailable.

We'll be back in a few moments.

We apologise for the inconvenience.

', paged: paged }, dataType: 'json', cache: false, success: function(response) { var html = ''; var limit = jQuery('#dalata-our-fundraiser').attr('val'); var flag = 0; jQuery.each(response, function(key, value) { if(limit == 1 && flag == 4) { return false; } if(value.profilePicture == '') { var site_url = 'https://dalatadigsdeep.ie'; img = site_url+"/wp-content/uploads/2022/06/dalata-logo-img.png"; } else { img = value.profilePicture; } html += '
'; html += '
'; html += ''; html += '
'; html += '

'+value.pageTitle.replace(new RegExp("\\\\", "g"), "")+'

'; html += '
'; html += 'View Page'; html += '
'; html += '

€'+value.raisedAmount.toFixed(2)+'

'; html += '
'; html += '
'; html += '
'; flag = Number(flag) + 1; }); jQuery('.dalata-fundraiser-grids').append(html); if(response.length == 0) { jQuery('.dalata-fund-page-more').css('display','none'); } var flag1 = 0; jQuery.each(response, function(key, value) { setTimeout(function() { var circle_id = "#circle-f"+value.id+""; var percent = parseFloat(value.average/100); var completed = parseInt(value.average); if(completed >100) { completed = 100; } var inc = 0; var canvas = jQuery(circle_id); c = canvas[0].getContext("2d"); cDim = { w: 220, h: 220 }, gui = new dat.GUI(); dat.GUI.toggleHide(); c.canvas.width = cDim.w; c.canvas.height = cDim.h; var params = new function() { this.line_width = 20; this.start_ang = Math.PI * 0.65; this.end_ang = Math.PI * 0.35; this.range_max = 1.1; this.range_min = -4.23; this.current_percent = completed; this.step_1 = function() { return (this.range_max - this.range_min)/100; } } draw_progress(params.current_percent); function draw_progress(percent) { draw_path(); var current_ang = params.range_min + (percent * params.step_1()); $(".count").html(Math.round(percent) + "%"); c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, current_ang); c.lineWidth = params.line_width; c.strokeStyle = "#921437"; c.lineCap = ""; c.stroke(); } function draw_path() { c.beginPath(); c.arc(cDim.w * 0.5, cDim.h * 0.55, cDim.w * 0.45, params.start_ang, params.end_ang); c.lineWidth = params.line_width; c.strokeStyle = "#fff"; c.lineCap = ""; c.stroke(); } }, 1000); flag1 = Number(flag1) + 1; }); jQuery('#dalata-page-more-btn').html('View more'); }, error: function(error) { console.log(error); } }); }); });