I have some 'next' and 'previous' graphics to allow my readers to navigate the eBook. I am using the eBook navigation variables ie ##NEXT(), ##PREVIOUS() and also ##TOC() with corresponding graphics. When I place the cursor on the graphic, the status bar shows the name of the current page I am on for each graphic. Is this what is supposed to happen? I thought it would show the name of the next or previous page (from the system generated contents page).
It doesn't represent a big problem as I have the status bar disabled now but I was just wondering what is supposed to be displayed in the status bar when you use system variables.
Thanks
BTW - Thanks Sunnil, I got my subscription form to work from within the eBook - easy when you know how :-)
Terry
Posted on: 9:37 am on May 5, 2002
EBookCompiler
I'm afraid this a limitation with HTML + Activ Script commands
if you link <A HREF="##NEXT()"> this really means in HTML
<A HREF="currentpage.html##NEXT()">
which is why it thinks the link goes to the current page - it doesn't parse the Activ Script command guess where it will go.
If you think about the general case, where the script might include IFs, FORs all kinds of stuff, there is no way it could know except by executing the script
You could get round this by using JavaScript onmouseover's (looking at the thread in the content forum about hiding link destinations)
Posted on: 3:33 pm on May 5, 2002
EbookHeaven
I like the mouseover idea myself, but if you didn't want to do that and would simply like a text reminder of where the button will send your reader, you could use the "title" tag in your link.
<A HREF="##NEXT()" title="Go to page 3"><img src="blah blah">
I don't think the title tag will interfer with the Activ script, best test it though.
Posted on: 12:46 am on May 6, 2002
EBookCompiler
EBookHeaven - your code should be okay I think
Here is the code for mouse overs <A HREF="somelink.html" onmouseover="window.status='Your Message';return true;" onmouseout="window.status=' ';return true;">Click me</A>
I tried both the 'title' option and the 'mouseover' option and only the 'mouseover' option seemed to work.
The 'title' option didn't cause any errors ... it just didn't change anything at all. The status bar continued to show the current page title.
This was the line I added - <a href="##NEXT()" onmouseover="window.status='Go to the next page';return true;" onmouseout="window.status='';return true;"><img src="blah blah">
However I tried it in both IE 6 and Netscape by just loading the web page and it did work. So 'title' didn't work in the ebook. Maybe the syntax??
Terry
Posted on: 3:21 pm on May 6, 2002
EbookHeaven
Hmmm... I am surprised that the title tag didn't work at all. The tag is supposed to work the same as the alt tag, so it should be supported by all web browsers.
The title tag won't change the status bar in any way--I'm sorry if I led you to think it would. What it will do is give your reader a text "pop up" over the link. This is good because you can have the status bar turned off and still have a page number or other message appear when you hover over the link.
I'm glad you found an answer, sorry mine didn't work out for you.
Posted on: 3:58 pm on May 6, 2002
EBookCompiler
Yep TITLE= is similar ALT= for image, it gives a popup tooltip (the floating yellow box with words in when you hold the mouse still)
For example, if you've ever usedwww.sitemeter.com(a web page counter service) it is how they do that cool thing where they condense the URL in the stats page, but when you mouse over it gives the full link in a popup
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.