I’m trying to build a "load-into-iframe" type menu for a side-sub navigation menu. I put my link code in the innerTpl chunk. However, its just rendering the normal link. Is it possible to do this?
InnerTpl Chunk:
<li[+wf.id+][+wf.classes+]>
<a href="javascript:loadintoIframe(’myframe’, ’[+wf.link+]’)" [+wf.classes+] title="[+wf.title+]" [+wf.attributes+]>[+wf.linktext+]</a>
[+wf.wrapper+]
</li>
-
☆ A M B ☆
- 24,524 Posts
What does a "view source" of the rendered page look like? The tpl can be anything at all that you want; if your tpl is not rendering at all then what does your Wayfinder snippet call look like? If it’s rendering but not working, then the problem will lie in the javascript involved.