I would like to be able to change a page or link after the password has been entered. I plan on making half my ebook password protected. At first, these chapters will have grey titles on the contents page to show they are unavailable. After the password has been entered, I want a new contents page with black chapter titles or some other visual cue that these chapters are now available. This could be accomplished by an option to change a page or a link, after the password is entered. Please consider this for your new version. Thank you.
Posted on: 7:29 pm on May 5, 2006
Alaska
rm -
You will want to look at the Activ variable "{iscorrectpassword}" ... I think that will do what you want.
You can use that value to determine the color of your links, and what page can display as well. Here is a bit o' jscript to test for the {iscorrectpassword} value:
var s ; s = window.external.ActivGet('{iscorrectpassword}') ; alert(s) ;
You should see 0 or 1 in the alert box. Now, you can make your decisions based on this value.
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.