I then moved the eBook to my laptop which has Win 98 (IE5) and it all works except although my external popups do pop up, there is not sign of the contents, just "cannot find server" and "page could not be displayed".
Based on comments on another thread I have tried dropping the security settings to low on my Internet Explorer options, but no improvement, even after a reboot.
I have copied the .html files into the same directory as the ebook.exe file, as well as to the root directory ( C: ), and my C:/Downloads directory. Still No improvement.
Thanks for you suggestions. Unfortunately I still have the issue.
I have ceated an ebook directory structure on my Win98 machine, which is identical to the one on my WinXP machine and have put the popup html files in the same directory on both machines. However I still get a blank popup with a 'Cannot find server' message.
So although the file farang.html is in the same directory as the one where I compile my ebook, I have not specified a directory within the script itself and assume that the active ebook compiler adds the required directory to the address.
The reason I also tested putting farang.html in my root directory was in case it didn't.
I have just right clicked the popup on my Windows XP and then selected properties. It seems my ebook is retrieving these html files from a directory called C:\Documents and Settings\user\Local Settings\Temp\e\42564-021022-200435-09.a2k\farang.html This is not a directory that I have specified anywhere and probably not one that is common in most systems. Can anyone tell me what is going on?
I have done some more investigating. Here is what I have found so far:-
In Windows XP, when you click on the eBook.exe, a temporary directory gets created:-
C:\Documents and Settings\user\Local Settings\Temp\e\42564-021022-200435-09.a2k\
where the numbers represent the ESBN of the eBook.
This folder contains html files and images. All html files will have a prefix added to their name, eg. a file called '***
xx.html' will be renamed to '__enc_***
When I invoke the external popup the required html file named '***
xx.html' will mysteriously appear in this directory and the popup will display successfully.
The same ebook.exe opened under Windows 98 will create a temporary directory called:-
Which is different to the loation of the temp directory under Windows XP. The html files will have the same prefix attached.
Under Windows 98 when I click on the link for the popup, the '***
xx.html' file does not appear in the temporary directory and the popup appears with the message 'cannot find server'. However if I copy the '***
xx.html' file into this directory, it operates correctly.
How do I create an eBook which includes popups, which will work trouble free across different windows operating systems?
Yes, the popup .htmls including farang.html are included in the ebook at compile time. In addition when copying the eBook to my Win 98 machine, I have also transferred the popup htmls along with the ebook.exe, and have created an identical directory structure for them on the Win 98 machine.
Still the same result.
I feel there must be some setting in Internet Explorer 5 which is not set correctly and is not checking the local directories for the files.
As an experiment I have just tried excluding farang.html from the compile. On Windows XP the popup was also now empty, even though the farang.html file is present in the same directory as the ebook was compiled in and executed from.
Well you got the right result by excluding the file. The popup code is looking for a file "inside" the e-book and if you have excluded it it can't find it. I'm really not sure where your problem lies. I've run that popup code in an e-book with IE5.5 as my browser and there were no problems.
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.