“use strict”;
var positionImage = function positionImage(imageEl) {
var imageDimensions = imageEl.dataset.imageDimensions.split(‘x’);
var originalWidth = imageDimensions[0];
var originalHeight = imageDimensions[1];
var focalPoint = imageEl.dataset.imageFocalPoint.split(‘,’);
var focalPointX = focalPoint[0];
var focalPointY = focalPoint[1];
var parentNode = imageEl.parentNode;
var scale = function () {
var imageRatio = originalWidth / originalHeight;
var parentClientSize = {
height: parentNode.clientHeight,
width: parentNode.clientWidth
};
var parentRatio = parentClientSize.width / parentClientSize.height;
if (imageRatio > parentRatio) {
return parentClientSize.height / originalHeight;
}
return parentClientSize.width / originalWidth;
}();
var getRelativeOffset = function getRelativeOffset() {
var targetWidth = Math.ceil(originalWidth * scale);
var targetHeight = Math.ceil(originalHeight * scale);
var parentDimensionWidth = parentNode.offsetWidth;
var parentDimensionHeight = parentNode.offsetHeight;
var overflowWidth = targetWidth – parentDimensionWidth;
var overflowHeight = targetHeight – parentDimensionHeight;
var valueX;
if (overflowWidth === 0) {
valueX = focalPointX;
} else {
valueX = Math.max(Math.min(targetWidth * focalPointX – parentDimensionWidth * 0.5, overflowWidth), 0) / overflowWidth;
}
var valueY;
if (overflowHeight === 0) {
valueY = focalPointY;
} else {
valueY = Math.max(Math.min(targetHeight * focalPointY – parentDimensionHeight * 0.5, overflowHeight), 0) / overflowHeight;
}
return {
valueX: valueX,
valueY: valueY
};
};
var relativeOffset = getRelativeOffset();
var valueX = relativeOffset.valueX;
var valueY = relativeOffset.valueY;
imageEl.style.objectPosition = “”.concat(valueX * 100, “% “).concat(valueY * 100, “%”);
};

We all secretly want to be Rock Stars!
(Lesson information, term dates available on this page)
Lessons available in Acoustic Guitar, Electric Guitar, Electric Bass and Ukulele.
I teach students from the age of 7 years and up. You’re never too old to start (or restart) learning to play!
Lessons take place in Strandhill Sounds, Unit 6, Strand Campus, Strandhill. Eircode: F91 AY99
Online lessons also available via Zoom. Contact me for more info.
You can fill in an online enrolment form here: ENROLMENT FORM
(You can also download it, print and fill in by hand if you wish.)
2021/2022 Calendar
Term 1: Monday 13th September 2021 – Friday 17th December 2021
(Closed for mid-term break Monday 25th October – Friday 29th October, term is 12 weeks)
Term 2: Monday 10th January 2022 to Friday 8th April 2022
(Closed for mid-term break Monday 21st February 2022 – Friday 25th February 2022. Also closed for St. Patrick’s Day Thursday 17th March 2022.)
Term is 12 weeks. (11 for Thursday students owing to March 17th closure.)
Term 3: Monday 25th April 2022 – Friday 27th May 2022.
(Closed May Bank Holiday, 2nd May 2022. Term is 5 weeks. Monday students can avail of rescheduled lesson in lieu of May Bank Holiday.)
Fees:
For information about term fees please contact me via the form on the Contact page, or email me directly.