I've been testing HYPE for some time now and pretty much the only issue I'm running into are external function calls.
When using callbacks everything is fine, but whenever I try to call a function that's not a callback push I'm getting HYPE is not defined error and that's that.
I've looked around the forums and it all comes down to example like this:
Problem is, no matter if I put it into a
<href> inside index.html or into
<script> in head, it's still generating error that HYPE is not defined. I can't really see any JS being loaded before that though so I guess it's really not defined. Makes me think that maybe I'm doing something wrong, but I really can't tell what. I would really appreciate any help at achieving my goal of controlling Hype from outside HTML.
If not asking for too much, if anyone would be interested in answering, could you please also think if such a call would be possible to push through an iFrame?
I have a dummy ad site in which I have multiple Hype documents sitting in iFrames and I'd like to pause and restart them at will. I'm currently making changes to them using jQuery .contents() but can't really see that working for above example.
Thank you very much for any help you'll be able to provide or even looking at this topic!
Have an excellent day