TurboDemo Support - How can I publish a demo or tutorial to a website?
There are 3 different ways that you can achieve this depending on the following:
Displaying The Demo In A Popup Window Using JavaScript
This technique requires the following files after you have exported your project from TurboDemo:
- For an SWF export: demoName.htm, demoName.swf, tdemo.js
- For a Java export: demoName.htm, tdemo.js, demoName.bin, skinw.jar, llp3.jar
- Copy the required files to your web server and ensure that they are all in the same directory as the web page you are creating/editing
- Copy and paste the following html code into your web page between the <head></head> tags: <script language="javascript" src="tdemo.js"></script>
- When you exported your project, a file called View-demoName.htm was also created. Open this file in your default web browser
- Under the section titled "Host your Demos on your own server or on a CD-ROM", look for "Step 2"
- You will see at the end of "Step 2" code similar to: <a href="javascript:openDemo('demoName',123,321);">View demo</a>
- Copy and paste that html code into your web page between the <body></body> tags
This will create a link on your created/edited page called "View demo", that when clicked will open your demo in a pop up window.
Displaying The Demo As A Normal Internet Page
This technique requires the following files after you have exported your project from TurboDemo:
- For an SWF export: demoName.htm, demoName.swf
- For a Java export: demoName.htm, demoName.bin, skinw.jar, llp3.jar
- Copy the required files to your web server and ensure that they are both in the same directory
You can now access your demo directly by typing in your web address (e.g. www.yourdomain.com/demoName.htm).
Integrating Your Demo With Your Current Website Design
This technique requires the following files after you have exported your project from TurboDemo:
- For an SWF export: demoName.htm, demoName.swf
- For a Java export: demoName.htm, demoName.bin, skinw.jar, llp3.jar
- Copy the required files to your web server and ensure that it is in the same directory as the web page you are creating/editing
- Edit demoName.htm in your default web authoring application (or Windows Notepad) so that you can view the html code/source of the document
- Copy and paste everything between and including the <object></object> tags into your created/edited web page
This coding will embed your demo for you directly into your web page and into your current design.
As html coding can be quite complicated to someone new to web design, you can find more information about how to use the <object> and <embed> tags at www.w3schools.com.