Dreamweaver OrderBar howto


 
There are an unlimited number of ways to install Java code using DreamWeaver. The neatest thing about DreamWeaver is that you can open just about any web page and point 'n click to where you want to install the applet. The best way I've found is as follows.

Step one is to open your page in DreamWeaver and position you pointer to where you want the OrderBar applet to appear:






Then click the Code/Design tool icon:




This will open the text window, with the cursor placed precisely at the point in the code where the OrderBar applet code is to be added.
Paste the following OrderBar applet code at this point in the text window (indicated by the cursor):


<applet code = "OrderBar.class" codebase = "http://www.programsplus.us/merchant/classes/" width = "45" height = "22">
<param name = "description" value = "Product Description Goes Here">
<param name = "ProductCodeNumber" value = "ABC123">
<param name = "unitPrice" value = "1.39">
<param name = "showButton" value = "on">
</applet>




Repeat the process for the checkout page link code:

<a href = "http://www.programsplus.us/merchant/checkoutPage.html"> <img src = "http://www.programsplus.us/merchant/images/checkout.jpg" border = "0"> </a>


You won't see the finished applet in the Dreamweaver template, but you'll see a marker showing where the Applet will go in the web page (when you click 'Show Design View'). To view the actual applet you must open the page in your web browser.








Note: The applet codebase for this demonstration is set to a file on the OrderFormCity web site. When you purchase the OrderBar ordering system you will receive a copy of the OrderBar for your own files and/or be able to link to a permanent location depending on the package you purchase.


 
<<< Go Back