But whether you are a first-time buyer or looking to move house, our simplified application process can relieve the stress, so you can focus on finding the home that’s right for you.
How we can help
- We can research the market for you to find the right mortgage deal for you at best possible rate
- We can offer clear, concise advice as we guide you through the step-by-step process
- Provide you with a clear outline of the options available so you can make the choice that’s right for you
- We can approach some of Irelands top lenders on your behalf, so you don’t need to make multiple applications
- Provide a one-stop-shop for all your Financial Planning needs, from Life Cover and Mortgage Protection to you pension, savings and investments.
By clicking Submit you consent to Irish Pensions & Finance collecting and processing your personal data for the purpose of making contact with you in relation to Financial Advice. Our Privacy Statement can be found here.
|
#element-ce8aead7-5f0d-4d9e-97e7-34bb5693ab4b .colored-box-content {
clear: both; float: left; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; background-color: #2d6a56; padding-top: 20px; padding-bottom: 20px; padding-left: 20px; padding-right: 20px; -webkit-border-top-left-radius: 10px; -moz-border-top-left-radius: 10px; border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; -moz-border-top-right-radius: 10px; border-top-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; -moz-border-bottom-left-radius: 10px; border-bottom-left-radius: 10px; -webkit-border-bottom-right-radius: 10px; -moz-border-bottom-right-radius: 10px; border-bottom-right-radius: 10px; } function setupElement921481989821037564() { // Relies on a global require, specific to platform elements if (typeof _W.loadedPlatformDependencies === ‘undefined’) { if (typeof _W.platformElements === ‘undefined’) { if (typeof _W.platformElements[platform_element_id] === ‘undefined’) { if(_.intersection(_W.loadedPlatformDependencies, dependencies).length !== dependencies.length){ if (dependencies.length === 0){ _W.platformElements[platform_element_id].deferredPromise.done(function(){ initialize: function() { }); return ColoredBox; if (typeof _ElementDefinition == ‘undefined’ || typeof _ElementDefinition == ‘null’) { var _Element = _ElementDefinition.extend({ _Element.prototype.settings = new PlatformElementSettings({“top_left_radius_each”:[{“top_left_radius_index”:0},{“top_left_radius_index”:1},{“top_left_radius_index”:2},{“top_left_radius_index”:3},{“top_left_radius_index”:4},{“top_left_radius_index”:5},{“top_left_radius_index”:6},{“top_left_radius_index”:7},{“top_left_radius_index”:8},{“top_left_radius_index”:9}],”top_right_radius_each”:[{“top_right_radius_index”:0},{“top_right_radius_index”:1},{“top_right_radius_index”:2},{“top_right_radius_index”:3},{“top_right_radius_index”:4},{“top_right_radius_index”:5},{“top_right_radius_index”:6},{“top_right_radius_index”:7},{“top_right_radius_index”:8},{“top_right_radius_index”:9}],”bottom_left_radius_each”:[{“bottom_left_radius_index”:0},{“bottom_left_radius_index”:1},{“bottom_left_radius_index”:2},{“bottom_left_radius_index”:3},{“bottom_left_radius_index”:4},{“bottom_left_radius_index”:5},{“bottom_left_radius_index”:6},{“bottom_left_radius_index”:7},{“bottom_left_radius_index”:8},{“bottom_left_radius_index”:9}],”bottom_right_radius_each”:[{“bottom_right_radius_index”:0},{“bottom_right_radius_index”:1},{“bottom_right_radius_index”:2},{“bottom_right_radius_index”:3},{“bottom_right_radius_index”:4},{“bottom_right_radius_index”:5},{“bottom_right_radius_index”:6},{“bottom_right_radius_index”:7},{“bottom_right_radius_index”:8},{“bottom_right_radius_index”:9}],”top_padding_each”:[{“top_padding_index”:0},{“top_padding_index”:1},{“top_padding_index”:2},{“top_padding_index”:3},{“top_padding_index”:4},{“top_padding_index”:5},{“top_padding_index”:6},{“top_padding_index”:7},{“top_padding_index”:8},{“top_padding_index”:9},{“top_padding_index”:10},{“top_padding_index”:11},{“top_padding_index”:12},{“top_padding_index”:13},{“top_padding_index”:14},{“top_padding_index”:15},{“top_padding_index”:16},{“top_padding_index”:17},{“top_padding_index”:18},{“top_padding_index”:19}],”bottom_padding_each”:[{“bottom_padding_index”:0},{“bottom_padding_index”:1},{“bottom_padding_index”:2},{“bottom_padding_index”:3},{“bottom_padding_index”:4},{“bottom_padding_index”:5},{“bottom_padding_index”:6},{“bottom_padding_index”:7},{“bottom_padding_index”:8},{“bottom_padding_index”:9},{“bottom_padding_index”:10},{“bottom_padding_index”:11},{“bottom_padding_index”:12},{“bottom_padding_index”:13},{“bottom_padding_index”:14},{“bottom_padding_index”:15},{“bottom_padding_index”:16},{“bottom_padding_index”:17},{“bottom_padding_index”:18},{“bottom_padding_index”:19}],”left_padding_each”:[{“left_padding_index”:0},{“left_padding_index”:1},{“left_padding_index”:2},{“left_padding_index”:3},{“left_padding_index”:4},{“left_padding_index”:5},{“left_padding_index”:6},{“left_padding_index”:7},{“left_padding_index”:8},{“left_padding_index”:9},{“left_padding_index”:10},{“left_padding_index”:11},{“left_padding_index”:12},{“left_padding_index”:13},{“left_padding_index”:14},{“left_padding_index”:15},{“left_padding_index”:16},{“left_padding_index”:17},{“left_padding_index”:18},{“left_padding_index”:19}],”right_padding_each”:[{“right_padding_index”:0},{“right_padding_index”:1},{“right_padding_index”:2},{“right_padding_index”:3},{“right_padding_index”:4},{“right_padding_index”:5},{“right_padding_index”:6},{“right_padding_index”:7},{“right_padding_index”:8},{“right_padding_index”:9},{“right_padding_index”:10},{“right_padding_index”:11},{“right_padding_index”:12},{“right_padding_index”:13},{“right_padding_index”:14},{“right_padding_index”:15},{“right_padding_index”:16},{“right_padding_index”:17},{“right_padding_index”:18},{“right_padding_index”:19}],”background_color”:”#2d6a56″,”opacity”:100,”top_left_radius”:10,”top_right_radius”:10,”bottom_left_radius”:10,”bottom_right_radius”:10,”top_padding”:20,”bottom_padding”:20,”left_padding”:20,”right_padding”:20}); _Element.prototype.element_id = “ce8aead7-5f0d-4d9e-97e7-34bb5693ab4b”; } if (typeof document.documentElement.appReady == ‘undefined’) { if (document.documentElement.appReady || (window.inEditor && window.inEditor())) { |
FAQs
padding: 0 !important;
margin: 0 !important;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion {
padding: 20px 0;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item {
margin-bottom: 1px;
box-shadow: none;
transition: 500ms ease;
z-index: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material .accordion__item.active {
box-shadow: 0 0 20px rgba(0,0,0,0.15);
z-index: 3;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item {
transition: 500ms ease;
border: 1px solid #8c8c8c;
z-index: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box .accordion__item.active {
z-index: 3;
border: 1px solid #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__title:hover {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–simple.no-touch .accordion__item .accordion__title:hover span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__title:hover {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item .accordion__title:hover span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item {
margin-bottom: 1px;
box-shadow: none;
transition: 500ms ease;
z-index: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item.active {
box-shadow: 0 0 20px rgba(0,0,0,0.15);
z-index: 3;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–material.no-touch .accordion__item:hover {
box-shadow: ;
z-index: 3;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item {
width: 100%;
display: block;
position: relative;
margin-bottom: 0;
background-color: #FFFFFF;
height: 100%;
box-sizing: border-box;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__title {
width: 100%;
background-color: #d5d5d5;
padding: 10px 20px;
font-weight: bold !important;
text-transform: uppercase;
box-sizing: border-box;
font-size: 1.25rem;
transition: 250ms ease;
opacity: 0.75;
cursor: pointer;
min-height: 45px;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__title span {
opacity: 0.5;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__title::after {
content: ‘+’;
position: absolute;
float: right;
top: 10px;
right: 20px;
font-size: 1.25em;
opacity: 0.5;
color: #8c8c8c;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__content {
display: none;
width: 100%;
box-sizing: border-box;
font-size: 1rem;
max-height: 0;
overflow: hidden;
transition: 500ms ease;
background-color: #FAFAFA;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item.active .accordion__title {
background-color: #FAFAFA;
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item.active .accordion__title span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item.active .accordion__title::after {
content: ‘\2013’;
color: #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item.active .accordion__content {
display: block;
max-height: 1000px;
transition: 500ms ease;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__title:hover {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item .accordion__title:hover span {
opacity: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item {
transition: 500ms ease;
border: 1px solid #8c8c8c;
z-index: 1;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item.active {
z-index: 3;
border: 1px solid #9e9e9e;
}
#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3 .accordion–box.no-touch .accordion__item:hover {
z-index: 3;
}
The Help to Buy Scheme is available for first time buyers to assist with the deposit, where you can receive up to €30,000 from Revenue for this purpose. Please see Revenue.ie for all terms and conditions.
- Stamp duty – this is a tax charged by the government on the purchase of a property. It is calculated at 1% of the purchase price for any properties up to €1 million, and 2% thereafter.
- Solicitors fees – these can vary depending on your solicitor but will typically be around €2,000.
- Valuation fee – this can vary depending on the lender but will usually cost around €150.
function setupElement533514135390692776() {
var requireFunc = window.platformElementRequire || window.require;
// Relies on a global require, specific to platform elements
requireFunc([
‘w-global’,
‘underscore’,
‘jquery’,
‘backbone’,
‘util/platform/elements/PlatformElement’,
‘util/platform/elements/PlatformElementSettings’
], function(
_W,
_,
$,
Backbone,
PlatformElement,
PlatformElementSettings
) {
var dependencies = null || [];
var platform_element_id = “473315567346523071-1.3.5”;
if (typeof _W.loadedPlatformDependencies === ‘undefined’) {
_W.loadedPlatformDependencies = [];
}
if (typeof _W.platformElements === ‘undefined’) {
_W.platformElements = [];
}
if (typeof _W.platformElements[platform_element_id] === ‘undefined’) {
_W.platformElements[platform_element_id] = {};
_W.platformElements[platform_element_id].deferredObject = new $.Deferred();
_W.platformElements[platform_element_id].deferredPromise = _W.platformElements[platform_element_id].deferredObject.promise();
}
if(_.intersection(_W.loadedPlatformDependencies, dependencies).length !== dependencies.length){
_.reduce(dependencies, function(promise, nextScript){
_W.loadedPlatformDependencies.push(nextScript);
return promise.then(function(){
return $.getScript(nextScript);
});
}, $().promise()).then(function(){
_W.platformElements[platform_element_id].deferredObject.resolve();
});
}
if (dependencies.length === 0){
_W.platformElements[platform_element_id].deferredObject.resolve();
}
_W.platformElements[platform_element_id].deferredPromise.done(function(){
var _ElementDefinition = /**
* This is required for element rendering to be possible
* @type {PlatformElement}
*/
(function() {
var FAQ = PlatformElement.extend({
initialize: function() {
this.activeIndex = this.settings.get(‘active_index’);
this.fixBoxStyleBorders();
this.setupAccordion();
},
/**
* Simplistic jQuery usage to animate and control which
* accordion item is currently open
*/
setupAccordion: function() {
var view = this;
$titles = this.$el.find(‘.accordion__title’);
$events = $._data($titles[0], “events”);
// if we already have set up click events, don’t set more up
if ($events && $events.click && $events.click[0]) {
return;
}
$titles.on(‘touchstart click’, function(e) {
// remove “hover” state on touch events
if (e.type == “touchstart”) {
view.$el.find(‘.accordion’).removeClass(‘no-touch’);
}
e.stopPropagation();
e.preventDefault();
var isActive = $(this).parent().hasClass(‘active’);
// handles closing
view.$el.find(‘.accordion__title’).each(function() {
var $this = $(this);
var $next = $(this).next();
var eachIsActive = $(this).parent().hasClass(‘active’);
$next.css({
‘max-height’: 0 + ‘px’
});
if (eachIsActive) {
setTimeout(function() {
$this.parent().removeClass(‘active’);
}, 250);
}
});
// handles opening
if (!isActive) {
$(this).parent().addClass(‘active’);
var $next = $(this).next();
$next.css({
‘max-height’: $next[0].scrollHeight + 20 + ‘px’ // 20 to compensate for padding
});
}
});
this.$el.find(‘.accordion__title’).on(‘touchend’, function() {
view.$el.find(‘.accordion’).addClass(‘no-touch’);
});
},
/**
* When using the ‘Box’ style, to avoid
* thick borders on the top and bottom of
* elements, we just shift all the elements up
* ‘i’ pixels. Preferable over doing it through css
* because all the items need all 4 borders on hover.
*/
fixBoxStyleBorders: function() {
var view = this;
// only do it if the style is ‘box’
if (this.settings.get(‘style’) == ‘box’) {
this.$el.find(‘.accordion–box .accordion__item’).each(function(i) {
$(this).css({
‘top’: -i
});
});
}
}
});
return FAQ;
})();;
if (typeof _ElementDefinition == ‘undefined’ || typeof _ElementDefinition == ‘null’) {
var _ElementDefinition = PlatformElement.extend({});
}
var _Element = _ElementDefinition.extend({
initialize: function() {
// we still want to call the initialize function defined by the developer
// however, we don’t want to call it until placeholders have been replaced
this.placeholderInterval = setInterval(function() {
// so use setInterval to check for placeholders.
if (this.$(‘.platform-element-child-placeholder’).length == 0) {
clearInterval(this.placeholderInterval);
this.constructor.__super__.initialize.apply(this);
}
}.bind(this), 100);
}
});
_Element.prototype.settings = new PlatformElementSettings({“items_each”:[{“items_index”:0},{“items_index”:1},{“items_index”:2},{“items_index”:3},{“items_index”:4}],”items”:5,”style”:”simple”,”title_background”:”#d5d5d5″,”content_background”:”#FAFAFA”,”active_index”:”-1″});
_Element.prototype.settings.page_element_id = “533514135390692776”;
_Element.prototype.element_id = “b21cb2bd-701c-4eed-99a5-3453e43d70c3”;
_Element.prototype.user_id = “40859893”;
_Element.prototype.site_id = “748682923609045137”;
_Element.prototype.assets_path = “//marketplace.editmysite.com/uploads/b/marketplace-elements-473315567346523071-1.3.5/assets/”;
new _Element({
el: ‘#element-b21cb2bd-701c-4eed-99a5-3453e43d70c3’
});
});
});
}
if (typeof document.documentElement.appReady == ‘undefined’) {
document.documentElement.appReady = 0;
}
if (document.documentElement.appReady || (window.inEditor && window.inEditor())) {
setupElement533514135390692776();
} else if (document.createEvent && document.addEventListener) {
document.addEventListener(‘appReady’, setupElement533514135390692776, false);
} else {
document.documentElement.attachEvent(‘onpropertychange’, function(event){
if (event.propertyName == ‘appReady’) {
setupElement533514135390692776();
}
});
}