Utilize FIREWORK4 to make Pull-down menu

Source: Internet
Author: User
Tags format interface connect
Menu | A new addition to the dropdown Firework4 is the ability to easily make pull-down menus. The Pull-down menu is one of the most popular ways of web interaction at present. The Pull-down menu of the imitation Windows interface is very popular. But because the menu needs to know a certain JavaScript language or the operation of the process is more cumbersome. So few people have made such stuff for a while. Now it's easy to have fireworks.

Gossip Hugh, to the question. The new version of the firework4.0, in the interface, with firework3.0 not much different. Open Firework4, create a new document, (remember that the page is too small to have a pixel 800x600) you use some basic graphing techniques to create a few buttons. As shown in Figure 1, I've got a few buttons like this.


Then click on the Left toolbar Slice tool (knife tool), a few buttons to cut open. As shown in Figure 2:


Right-click the My History button, select the Add pop-up menu option, and then right-click My history and choose pop-up Memu to jump out of a new window, as shown in Figure 3:


Fill in the text bar with your menu content, connect the columns to fill in the page you want to connect to, and then add by the plus sign. In a similar way, add a few more, and fill in the four columns in this example! Then press the next key to continue. As shown in Figure 4


Here, let me introduce the contents of the above window in detail. Cell Bar: That is the format of the menu options, HTML is HTML text format, and image is the picture format. The choice is different, there will be different effects. I am more in favor of the picture format, because it looks more beautiful. Below is the choice of font and font size, which you like! Up state refers to the font settings when the mouse is placed on the button and the setting of the menu, overstate refers to the font settings and menu settings when the mouse is placed on the menu bar. You can choose a format that you like. Preview is the preview bar, because the software is not good for Chinese support, so the display is not correct, you can ignore it, because the export is normal. After that, press "finish" to finish. After you complete these settings, export the HTML file by pressing the "File" menu with export options, so you can preview it! Wow, isn't it cool? As shown in Figure 5


To illustrate, if you make a picture, the image of a small bottom of the pixel 800x600, your page's button and image will be leaning to the upper left corner. It's going to take some time to correct this, but it's easy to look at the code and make it easy. We'll open it here with dreamweaver4.0, as shown in Figure 6.

Select the large table outside, select Center in Align in the toolbar, and center the table. However, you have to be aware that you have changed the position of the button and the drop down menu. has not changed, so you must change the location of the menu. Click the Show Code View button in the upper left corner to enter the code editing interface (Figure 7).

Observe the green code, find the Code <a href= "#" >,9 is the horizontal axis position of the menu, 117 is the ordinate position. You can do some debugging, I here 9 to change 144 on the line. Well, it's so fast, OK!

If you want to change the width and height of the menu, you can change the code in the head on the page: window.fw_menu_0 = new menu ("root", 113,25, "Times New Roman, times, serif", "#0000ff "," #ffffff "," #666666 "," #000000 "); 113, 252 numbers refer to the width and height of the menu, you can make some corrections and preview it until you are satisfied!
Comprehensive use of ok,dreamweaver and firework--making drop-down menu articles just talk about here, see you later!

turn from: Dynamic Network production guide www.knowsky.com





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.