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:

bookmarks 4.20


 
EBookCompiler There is a thread some place about how to make an ebook return to last page opened when re-opened

I can't find the thread

The previous version on this forum works in 4.00 and 4.01, but does NOT work in 4.20 if security is set to high

The following will work in 4.00, 4.01 and 4.20

1. Make a text file called start.as in your source folder (say using Notepad).  Insert the following:

INIREAD('sv1','ans2000.ini','{esbn}','Bookmark{compilerversion}')
STRREPLACE('sv1','{sv1}','/',' ')
STRLASTWORD('sv1','{sv1}')
STRFIND('sv2','{sv1}','.htm')
SET('sv3',0)
IF({sv2}<>0)
FILEEXIST('sv3','{ebook}\__enc_{sv1}')
IF({sv3})
NAVIGATE('{sv1}')
ELSE
FILEEXIST('sv3','{ebook}\{sv1}')
IF({sv3})
NAVIGATE('{sv1}')
FILEEXIST('sv3','{ebook}\{sv1}')
ENDIF
ENDIF
ENDIF

There are two underscores before __enc_ and one after

2. Make a text file in your source folder called exit.as, containing

SET('sv1','{ebookurl}')
STRFIND('sv2','{sv1}','__')
IF({sv2}=0)
INIWRITE('{sv1}','ans2000.ini','{esbn}','Bookmark{compilerversion}')
ENDIF


3. Implement bookmark

EITHER

To make a book return to last page opened

In Edit Add-Ins

On Start put #!start.as

On Exit put #!exit.as

OR

To make a bookmark and return links

- To mark a page put <A HREF="#!exit.as">Bookmark this page</A> in the HTML code

- To return to a page put <A HREF="#!start.as">Return to bookmark</A> in the HTML code

OR

To set starting page of ebook

In Edit Add-Ins

On Start put #!start.as

- To mark a page put <A HREF="#!exit.as">Bookmark this page</A> in the HTML code


4. LIMITATIONS

- Doesn't work well with frames.  This is because bookmark is of entire frameset rather than the frames. Same problem as bookmarking a Framed Internet site

- Do NOT include spaces in names of your HTML files.  The above script doesn't handle this...


Posted on: 3:43 pm on March 19, 2002
justjeni Thanks for all the great tips, Sunil - this looks neat. I think I'll try it in my next e-book, when I have some time to do it.   I've started a folder with some of the tips and tricks you kindly share with us and really appreciate it.  I just love making ebooks and haven't even become a pro yet!    I'm fine with the HTML coding and all, but the advanced features still have me flumoxed.  Hopefully I'll get it all down soon but it will be largely in part because of the help in this forum.  

Well, don't mean to gush - it's just I don't have a single living soul I can ask about anything regarding computers, so forums like this are a real haven for me.


Posted on: 2:30 am on March 21, 2002
EBookCompiler I'm glad you like it, and like this forum

Another good forum for webmaster (e.g. affiliate program and HTML questions) is Steve Shubitz's geekvillage:

http://www.geekvillage.com/forums/

You will find me there under the nickname "WildComputer"


Posted on: 4:42 am on March 21, 2002

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