Here are sore details about ebooks and the cross-domain access denied problem. This is not specific to Activ Ebook, but it has to do with cross-domain access prevention: Let's say you have a form in your ebook that you want to interact with an external web page in an iframe of your ebook. Clicking a button in the external web page will change the value of a form field in your ebook. One would think that if the domain or external site is yours, you can create a web page to recognize and interact with your ebook. But you can't with scripting, because the ebook is considered a cross-domain location, and you will probably get 'access denied' errors if you try to transfer data with a script from your external web page to your ebook:
iFrame 1 is an internal ebook page. iFrame 2 is an external (cross-domain) web page. Because iFrame 2 contains a database it is way too large to compile into the ebook itself. It must remain external. The user selects an item from the database and then clicks on a button which sends his selection as 'variable A' to a form field in iFrame 1. The rest of the ebook uses 'variable A' for various processes.
The only cross-domain work-around I can immediately think of is:
script in iFrame 1 = 'mouseover' event handle: when the cursor moves into the iFrame 2 cross-domain, the clipboard value is ""
script in iFrame 2 = copy 'variable A' value to the clipboard when the button is clicked on.
script in iFrame 1 = 'mouseout' event handle: when the cursor moves out of the iFrame 2 cross-domain, if the clipboard value is not "" it is pasted into the form field of iFrame 1.
Anyway, it works. Newbies can get cross-domain data into ebooks with just one click (provided the ebook author is the webmaster or owner of the external site and can modify it). But I wonder, could my external webpage send activ variables to window.external.ActivSet easier and without having 'access denied'?
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures
constitutes consent for this. For details, please see Privacy.