Is it possible to use predefined variables, like {app}, in IMG tags? If yes, how? Or can I let an activ script beeing executed from an IMG (or any other than the HREF) tag?
Thanks to TSEROOGY and GuidingLight for showing me the answer in [URL=http://www.ebookfriends.com/cgi-bin/ikonboard/topic.cgi?forum=1&topic=403]this thread[/URL]
Every time I look for an answer here, I only get half the information I need.
Take this for example:
<IMG SRC="[={app}]\folder\file.gif">
I paste it into my index.htm page and then compile my book and all I get is a blank image place holder.
In the help section of the actual Activ Ebook Compiler, it talks about all these wonderful things you can do, but it gives NOTHING in the way of examples to go by.
It does give some examples of code, but it doesn't tell you what to do with them, or where to put the code.
This is extremely aggravating.
Some simple freaking step by step tutorials would be nice Sunil.
You might need to enable the PreProcessor function on any page where you embed a reference to an Activ E-Book variable like {app}. I think the PreProcessor tells Activ E-Book to replace the variable {app} with the real value when the program is run.
BTW: The Activ E-Book Help resource does contain all the information you need to use Activ Script. Understanding though, comes very slowly and requires patience and persistence.
Sunil explains that all the constructs are present but you need a basic understanding of scripting languages and how they work. He also explains that vast amount of additional informational required for a "true" Activ Script tutorial makes it impossible to supply with the program.
Most of us who use Activ Script have put in the time and experimentation to understand how things work. I've been using Activ Script for a number of years and I'm still going back to the "help" files for deeper understanding of some of the code.
When I use Activ Script it is usually in JavaScript code. I firmly believe that "Scripting" is going to be the next great computer language of choice. With HTML, CSS, JavaScript and Activ E-Book you can produce almost any Windows program you can dream up. Activ E-Book supplies the necessary input/output interface between DHTML and a consumer computer.
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.