eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
Learn How To Create, Publish & Market E-Books
E-Book Creation Software
Add sophisticated multimedia to your E-Books
Create E-Book covers in minutes
E-Book Marketing & Promotion made easy
Search engine for E-Books
Interviews with eBook authors
Tools for building better eBooks
Archived Message:

Modal Dialog Box and {user}

Carlos Hi,

1. Is it possible to open a modal dialog box to display an html page from an eBook?

2. Is it possible to pop-up a window with an html page from an eBook that has HTML high security?

3. Need more info about the  {user} variable (The 5 digit user ID of the current user).
a) Is this a unique number for each ebook?
b) In what situations can this be used?
c) How is generated?


Posted on: 2:33 pm on February 6, 2003
EBookCompiler 1. I don't think so, at least not without programming the API.  But may be it is possible using JavaScript

2. Maybe with some trickery

When you pop a window, it actually is your browser not part of the ebook that pops.  The browser doesn't know about high security, hence the problem

The solution is to make the file you pop available to the browser
- use low security
- or pop a web URL
- or *maybe* you can trick the browser to view a file with a non-HTML extension, or copy that particular file with a non-HTML extension (in the ebook) to a file with an HTML extension say in a temp folder and pop that

a. No the ESBN is unique for each book
c. it is a 5 digit ID to identify the computer.  However it is not 100% unique, as 2 computers can have the same ID. We generate it based on the computer (actually it is bigger than 5 digits to start, then we do some maths to transform into the range 10000-99999)
b. We use it in our license system. We also used it when we wanted some persistence with an ebook linking to a web application. Our trick was to pass in the URL of various links to web pages/scripts.  We combined it with IP of the user (collected by the server), and this gives a very unique ID, which can point to the data for that user.  I guess if you want a semi-unique number, that's what it's for.

Posted on: 12:02 am on February 7, 2003

Quote: from EBookCompiler on 12:02 am on Feb. 7, 2003[br]
- or *maybe* you can trick the browser to view a file with a non-HTML extension, or copy that particular file with a non-HTML extension (in the ebook) to a file with an HTML extension say in a temp folder and pop that

Sunnil, thanks for the tip. It should work.

BTW, modals work by using javascript. My question was not complete. I was thinking in pop-up a modal with a high security level. But with the trick it should also work.


Posted on: 5:25 pm on February 8, 2003

List All Archived Forums

Copyright © 2000-2018, Answers 2000 Limited.

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.

Disclosure: 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

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures