Step 6: Publish Menu into Web Page

Step 6: Publish menu to web page

1. Open an existing page in your web page editor or create a new page and save it. (Take Dreamweaver MX 2004 as example).

2. Switch back to Sothink DHTML Menu. Click the publish button to start "Publish Wizard".

3. First, you will see the Welcome dialog. Click "Next" and choose "View and copy code". And next you will see the header part of the menu code. Click "Copy All" to copy it.

4. Come back to your page editor and switch to HTML code view. Find such tags: <Head> and </Head> . Paste the menu code between <head> and </head>. The result is like this:
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>

5. Go back to Sothink DHTMLMenu and click next. You will see the body part of the menu code. Click "Copy All " to copy it.

6. Go to the page editor and paste this code to your page between tag <body> and </body>. The result is like this:
<script type="text/javascript" language="JavaScript1.2">


stm_aix("p0i3","p1i0",[0,"Glanda 2004"]);
stm_aix("p0i4","p1i0",[0,"SWF Decompiler 2005"]);
stm_aix("p0i9","p0i7",[0,"SWF Decompiler"]);

7. Save this page.

8. Go to DHTML Menu program again. Click next to see the files necessary for this menu to show: stmenu.js, blank.gif and arrow_r.gif.
Pick " Yes, I want to copy these files now " and click next.

9. Click the browse button to find the directory where you saved the web page just now.

10. Click Next to copy the files. And last finish publish.

Now you have published the menu into web page successfully.

Back to top


Sothink is a trademark of SourceTec Software Co., LTD.
Flash is a trademark of Adobe.
Sothink Software: Flash to HTML5 Logo Maker