Showing a graphic next to links requiring a password
mcofano
Sunil,
Earlier today, I read a post where you indicated how to show a graphic (such as padlock.gif) next to links that require a password to be entered to view them.
I recall that part of the solution was to use (iscorrectpassword), but for the life of me I cannot find the post again. What searchword should I use.
Thanks.
Posted on: 6:49 am on July 28, 2002
EBookCompiler
Make 2 graphics, say
locked0.gif and locked1.gif
locked0.gif is the graphic showing it needs a password to read the page
locked1.gif is a blank or transparent graphic
Enable the preprocessor on the file containing the link (e.g. the contents or intro page). By double click and checking the option on the Files tab.
In the HTML code put
<IMG SRC="locked[={iscorrectpassword}].gif">
This will then be locked0.gif or locked1.gif depending on whether the password has been entered yet or not.
Sorry - at least some versions of the manual have these options back to front.
Posted on: 4:31 pm on July 29, 2002
mcofano
Sunil,
Thanks a lot. BTW, is there comprehensive documentation on Activ Script? Is it unique to Activ EBook?
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.