Share quote

Share chart

Historical quote

' + '

' + 'Stock Quote: ' + '' + exchange + ': ' + symbol + '' + '

' + '
' + this.loadingMessage + '
'; }, stockTpl: ( /* beautify preserve:start */ '{{#items}}' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
Historical quote information.
' + 'Day\'s open ' + '' + '€{{open}}' + '' + 'Closing price ' + '' + '€{{last}}' + '
' + 'Intraday low ' + '' + '€{{low}}' + '' + 'Intraday high ' + '' + '€{{high}}' + '
' + 'Volume ' + '' + '{{volume}}' + '
' + '{{/items}}' /* beautify preserve:end */ ), complete: function(e) { $(function(){ // $(e.target).find('select option:selected').attr('selected',true); var year = $(e.target).find('.module_options-select--year option:selected').text(); var month = $(e.target).find('.module_options-select--month option:selected').text(); var day = $(e.target).find('.module_options-select--day option:selected').text(); $('.historical-caption').append(` ${year} ${month} ${day}`); }); } });

Investment calculator

Investment:
' + '
' + '
' + '{{#reinvestDividends}}{{/reinvestDividends}}{{^reinvestDividends}}{{/reinvestDividends}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '' + '{{#compare}}{{/compare}}' + '' + '' + '
growth of € {{startAmount}} investment with dividends reinvestedgrowth of € {{startAmount}} investment without dividends reinvested
Breakdown{{name}}{{name}}
Start date{{startDate}}{{startDate}}
End date{{endDate}}{{endDate}}
Start price/share€{{startPrice}}€{{startPrice}}
End price/share€{{endPrice}}€{{endPrice}}
Total return{{totalReturn}}%{{totalReturn}}%
Compound annual growth rate{{cagr}}%{{cagr}}%
Starting investment€{{startAmount}}€{{startAmount}}
Ending investment€{{endAmount}}€{{endAmount}}
Years{{years}}{{years}}
' + '
' ), complete: function(){ console.log('on complete') // Assuming the iframe has an ID of 'myIframe' and the button has an ID of 'myButton' } }); var pymCalculator = new pym.Parent('iframe-container-calculator', 'https://takeaway2024eutfm.q4web.com/london-calculator/default.aspx', { "title": "Calculator" }); setTimeout(function(){ var iframe = $('#iframe-container-calculator > iframe '); var idElement = document.getElementById('iframe-container-calculator'); console.log('id element', idElement); // Select the element const myElement = iframe[0]; console.log('selected iframe', myElement); // Function to check height and update class const checkHeight = () => { const height = myElement.offsetHeight; // Get the current height console.log('height', height) if (height >= 1000) { console.log('height has a value higher than a 1000') idElement.classList.remove('set-height'); // Add class if height is 1000px or more } }; // Create a ResizeObserver instance const resizeObserver = new ResizeObserver(checkHeight); // Start observing the element resizeObserver.observe(myElement); // Example button to dynamically change the height of the element // document.getElementById('growButton').addEventListener('click', () => { // myElement.style.height = (parseInt(myElement.style.height) || 0) + 300 + 'px'; // Increase height by 300px // checkHeight(); // Check height after changing it // }); // Initial height check on page load checkHeight(); },1000);