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:

Help with Activ Variables needed


 
Art 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.


Posted on: 3:41 pm on September 8, 2003
EBookCompiler For ESBN,

insert [={esbn}] in page at the place

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!


Posted on: 5:28 pm on September 10, 2003
Art


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.

Thanks again,
Art.


Posted on: 8:08 am on September 11, 2003
Alaska Art -

 Multimedia shouldn't be too different from a web page:

I know, for instance, that this works in Activ:

 <EMBED SRC="clock.avi" WIDTH=160 HEIGHT=160>


 for sounds, you could try a few scripts I've collected here:

<SCRIPT LANGUAGE="javascript">

function Playsound()  
{
document.write('<EMBED NAME="sound" SRC="clicksound.wav" HIDDEN=TRUE AUTOSTART=FALSE MASTERSOUND>')
}

</SCRIPT>

call it like this:


<A HREF="javascript:void(0)"
          onMouseover='Playsound()'>
          hover over this</A>


or, try this one-liner, within an href:

onMouseOver='document.location="music.filename.wav"


or, you could do a search for 'JavaScript Sound' which brought me to a lot of sites, including this helpful one:

 http://www.webreference.com/js/column20/index.html

best -

roger


Posted on: 8:02 pm on September 11, 2003

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