Im building a Magento platform webshop.
I call a content block in the template with:
<a href="#tab">TAB BUTTON</a>
<div id="tab"><?php echo $this->getChildHtml('CONTENT'); ?></div>
Only the content of getchildhtml is too large to load at once. Is it possible to load the php echo once clicked on the button?
Display-none will still preload the content, but i’m looking too load the php content of getchildhtml.
You can but you will need to use AJAX and have a server side script to serve the content