Posts Tagged ‘dynamic menu’

Step1. Follow the visual tutorial.

http://www.sothink.com/tutorials/how-to-create-dynamic-tree-menu-with-created-recordset-from-dreamweaver.htm

Step2.

Launch Sothink Tree Menu. Create a new menu item and Input ”

<%=sCatName%>

” in it.

Enter “Node Setting > Condition” and input the following codes in Prefix:
/*
<%
While Not Recordset1.EOF
sCatName=Recordset1.Fields.Item(“NAME”).Value
%>
*/

Then input the following codes in Suffix:

/*
<%
RecordSet1.MoveNext
Wend
%>
*/

Step3.

Create a sub item for this menu item, then input ”

<%=sProduct%>

” in it and input

<%=sLink%>

in link field.

Enter “Node Setting > Condition” and input the following codes in Prefix:
/*
<%
Recordset2.Filter = “CATID=” & Recordset1.Fields.Item(“ID”).Value
While Not RecordSet2.EOF
sProduct=Recordset2.Fields.Item(“NAME”).Value
sLink=Recordset2.Fields.Item(“LINK”).Value
%>
*/

Then input the following codes in Suffix:
/*
<%
RecordSet2.MoveNext
Wend
%>

*/
Step4.

Enter “Global Setting > Web Path” to set the webpath as below:

Script path:

http;//localhost/js

Image path:

http;//localhost/image
Step5.

Publish the menu to the ASP page we have just created in step1.

Now you have successfully use the created recordset from DW with Tree Menu.

Step1. Follow the visual tutorial.

Step2. Launch Sothink Tree Menu. Create a new menu item and Input ”

<%=sCatName%> in it.

Enter “Node Setting > Condition” and input the following codes in Prefix:

/*
<%
While Not Recordset1.EOF
sCatName=Recordset1.Fields.Item(“NAME”).Value
%>
*/

Then input the following codes in Suffix:
/*
<%
RecordSet1.MoveNext
Wend
%>
*/

Read on »

Dynamic menu can popup menu depending on user interaction, you can move the mouse over the top menu item to view sub menu, or you can click the menu item to popup sub menu item. If your website includes dynamic menu and Flash, which Flash is beneath the menu, maybe you need set dynamic menu or Flash to get your wanted effects. Generally speaking, there are three displaying ways between dynamic menu and Flash: dynamic menu show under Flash; dynamic menu show, but flash hide; dynamic menu display over Flash. Displaying dynamic menu and Flash at the same time is the ideal result, let’s learn it:

The dynamic menu shows over the Flash, you can see both clearly. Let’s learn it now:

1. keep dynamic menu in original status.
2. Set Flash in Dreamweaver. Choose Flash, and click the button “Parameters…” in properties panel; in the open dialog, input “wmode” in parameter column, and enter “opaque” in value column.

View visual tutorial to get it clearly >>