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:
<head>
...
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
...
</head>


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:
body>
...
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu013a",430,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[1,4,0,0,0,5,0,7,100,"",-2,"",-2,50,0,0,"#fffff7","#fffff7","",3,0,0,"#000000"]);
stm_ai("p0i0",[6,2,"#000000","",-1,-1,0]);

...

stm_aix("p0i3","p1i0",[0,"Glanda 2004"]);
stm_aix("p0i4","p1i0",[0,"SWF Decompiler 2005"]);
stm_aix("p0i5","p0i0",[]);
stm_aix("p0i6","p0i1",[0,"Forums","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#578e19",0,"#578e19"]);
stm_aix("p0i7","p0i2",[0,"DHTMLMenu","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#86b758",0,"#8fc665"]);
stm_aix("p0i8","p0i7",[0,"Glanda"]);
stm_aix("p0i9","p0i7",[0,"SWF Decompiler"]);
stm_ep();
stm_em();
//-->
</script>
...
</body>


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

Home

Sothink is a trademark of SourceTec Software Co., LTD.
Sothink Software: SWF Decompiler Flash to HTML5 Logo Maker Logo Design Software Mac Decompiler Video Converter

1234