Working with iframes with the moovweb sdk -
i've created project moovweb sdk , have trouble editing content within iframe on 1 of pages. instance, moving div around inside iframe doesn't seem work tritium i'm writing. can tritium make work? domains different fyi.
unfortunately, tritium allows edit attributes of iframe itself, not content within.
this because request content in iframe made after browser constructs dom of main page. tritium can intercept first request main page, not second request content different domain.
i know of 2 workarounds:
- add second website moovweb project , able use tritium manipulate content. can point iframe of original page new content.
- use javascript/ajax modify iframe's content.
however there implications production domains... i'm afraid may have rushed answer , update after more research.
Comments
Post a Comment