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 :-)
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)
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.
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??
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.
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.