My 5 eBooks look great and all features are working as they should and I am now ready to upload to my website, but before doing so I would like to add two features, which I am unable to complete. It concerns Activ Variables.
§ The first feature I would like to add is an attention sound clip such as clonk or other sound to indicate a problem when the user tries to enter a protected page during a trial version.
I know I have many sound effects within windows and have tried a few but can't get them to work at all.
§ The second feature is to show the esbn code number (which I know is {esbn} ) on my own "About" Page.
The problem is almost certainly, that I am entering the information on the HTML page fragment incorrectly, this is also probably so within the error (access not permitted) page link.
Although not expert, but I am sufficiently experienced in HTML to have designed and built my own website, and I know a little JavaScript. I have tried to implement both these features without success despite the fact I have referred numerous times to the manual.
Anyone got any idea what I should be doing? Such as:
§ Attention Sound What is entered on the HTML Page fragment? - I placed this in the Include folder - do I need to? I presume that the sound feature will be within the hypertext link that calls up the error notice (my own version). What is the method used to call up the sound?
§ Display ESBN Code Number. How do I use the Predefined Activ Variable {esbn} to display the number on my own HTML "about" page and/or any other suitable html page?
Enable PreProcessor on the files concerned in Files tab in compiler
For sound thing
In body tag, you will need to call a JavaScript in onload event of body tag
The javascript then plays the sound either using standard javascript methods, or usingwww.ebookpower.cometc
Something like, replace [ ] with less-than greater-than
[HTML] [HEAD] [TITLE]Title[/TITLE] [SCRIPT] function makesound() { /* see ebookpower manual for what to put in quotes for next line - or write your own javascript using standard JS methods */ window.external.ActivRun('##AMM....etc...') ; } [/SCRIPT] [BODY onload="makesound()"] Blah Blah [/BODY] [/HTML]
If you need help on JavaScripts, look atwww.irt.orgor post here. I am not a JS expert, but some regulars on the forum might be!
Quote: from Art on 3:41 pm on Sep. 8, 2003[br]My 5 eBooks look great and all features are working as they should and I am now ready to upload to my website, but before doing so I would like to add two features, which I am unable to complete. It concerns Activ Variables.
§ The first feature I would like to add is an attention sound clip such as clonk or other sound to indicate a problem when the user tries to enter a protected page during a trial version.
I know I have many sound effects within windows and have tried a few but can't get them to work at all.
§ The second feature is to show the esbn code number (which I know is {esbn} ) on my own "About" Page.
The problem is almost certainly, that I am entering the information on the HTML page fragment incorrectly, this is also probably so within the error (access not permitted) page link.
Although not expert, but I am sufficiently experienced in HTML to have designed and built my own website, and I know a little JavaScript. I have tried to implement both these features without success despite the fact I have referred numerous times to the manual.
Anyone got any idea what I should be doing? Such as:
§ Attention Sound What is entered on the HTML Page fragment? - I placed this in the Include folder - do I need to? I presume that the sound feature will be within the hypertext link that calls up the error notice (my own version). What is the method used to call up the sound?
§ Display ESBN Code Number. How do I use the Predefined Activ Variable {esbn} to display the number on my own HTML "about" page and/or any other suitable html page?
Any help would be greatly appreciated.
Art. UK.
Thank you,
So far as the ESBN is concerned I had originally done it correctly, what I was doing is looking at a HTML page with my browser. When I ran the eBook it was working fine. I visted the forum this morning to report that.
The sound thing is another matter it has me perplexed. I will go and try it out right way.
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.