Introduction: You can use Real Audio and MIDI Music with ViaJCart 2. This will greatly enhance
the shopping experience. To do this you have to use HTML Frames. One
frame will contain the shopping cart applet itself and the second frame will be used to
play audio files. Review our Demo to see how this works. To take advantage of Audio with ViaJCart you must use HTML frames. One frame will contain the Shopping cart applet itself and the second frame will be used by ViaJCart to play audio files. See Example Below: This is a main ViaJCart page. It contains two frames. The first frame points to page jscfrm.htm, which is a page that contains ViaJCart applet. The second frame points to JSCAudio.htm and has a name of JSCAudio. This frame will be used by ViaJCart to play audio files. <head> <title>ViaJCart Audio Example</title> </head> <frameset BORDER="0" FRAMEBORDER="0" FRAMESPACING="0" cols="100%,*"> <noframes> <body> </body> </noframes> <frame SRC="jscfrm.htm"> <noframes> </noframes> <frame SRC="JSCAudio.htm" name="JSCAudio" MARGINWIDTH="0" NORESIZE scrolling="no"> </frameset> </html> Note: If you plan to use Real Audio sounds specify: How to Set Up Real Audio: You need to have two files to make it work correctly. First, you need to create a Real Audio file. You can use software provided by Real Audio or third party like CoolEdit to record or convert from .wav to a Real Audio file with .ra extension. The plug-in meta file that points to .ra must have a .rpm extension. The HTML page points to .rpm file. Place these files into "Aud" directory. Here is an example:
Place name of this page into Catalog file in the Audio Field. Read Chapter 4 for more details. Make sure you enable RealAudio=Yes in the JSC.ini file. How to Set Up MIDI Music:
Place name of this page into Catalog file in the Audio Field. Read Chapter 4 for more details. Put both .mid file and .htm file into Aud directory. Next, list time and HTML pages in the JSC.ini file on the Music parameter.
The format is Music=time:page_name;time:page_name; up to 100 pages can be listed. The ViaJCart will randomly select on of the pages and play it in the background HTML Frame.
If you do not want to use Music or Real Audio set value to "No" (Not "*") for both parameters in the JSC.ini file:
|