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

Script Help


 
jmiguy Hello everyone, this is my first post.

I'm trying to find a script to add to my html ebook page that inserts a picture, but only if the correct password has not been entered.

Once the correct password has been entered, I want the picture to be removed.

The idea is to post a notice on each page stating that the book is a trial version only. Once a password is purchased I want to remove the notice.(remove picture)

Any ideas?


Thanks,

Jeff


Posted on: 7:21 pm on August 27, 2005
EBookCompiler You could use the preprocessor

Make your, please enter password image called something like picture0.gif and also make a picture1.gif which is a blank image.

Then in your ebook pages, include code something like this

<IMG SRC="picture[={iscorrectpassword}].gif">

And make sure preprocessor is enabled for all files containing this code


Posted on: 8:00 pm on August 27, 2005
jmiguy Thanks for the quick response.

I'm not quite sure I understand your suggestion. I tried using the line of code but it didn't seem to work.

Jeff


Posted on: 1:47 am on August 28, 2005
jmiguy Hi, it's me again.

I created the two pictures as you said, with one being blank. I also checked the preprocessor box for my test page.

Do I need to include this line - "<IMG SRC="picture[={iscorrectpassword}].gif">" twice? (One for each picture)

And do I have to add a 1 or 0 somewhere within each line?

Sorry for my ignorance but I'm not a programmer.  

Thanks for your help.

Jeff



Posted on: 3:50 am on August 28, 2005
jmiguy Never mind! My wonderful girlfriend who "is" a programmer explained your solution to me.

It works wonderfully.

The 0 and 1 need to be included in the name of each picture and the picture name has to be the same. But, only the name and not the number is included in the line of code.

I used two diferent picture names with no numbers in either name.

Your instructions were dead on, I just thought when you numbered the pictures in your instructions, that it was merely to differentiate between the two pictures. (my fault)

Thanks again for all of your help. You have a fantastic program and a fantastic business.

Jeff


Posted on: 4:14 am on August 28, 2005

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, 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.

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