Dreamweaver webpage production highlights

Source: Internet
Author: User
Tags dreamweaver
With the rise of the online page production boom, Dreamweaver's prestige is also spread everywhere. Dreamweaver is an excellent visual web page creation tool produced by Macromedia. It is very easy to create and get started with web pages. Multiple built-in powerful functions make it easy for you to make various interactive web pages and dynamic effects. At present, it has gradually become the preferred tool for many web designers.
The author has accumulated some experience and skills in the process of making a webpage, which are listed as follows:

1. Add the website homepage to favorites
Use javascript: window. external. addFavorite ('http: // '', ''webpage 网'') code. After you click it, your homepage will be added to your favorites.

2. Set the home page as the default home page of the browser
You can use the following code: <a href = "#" onClick = "this. style. behavior = ''url (# default # homepage) ''; this. setHomePage ('http: // ')> set this site as the homepage </a>

3. Keep the background image unchanged from the webpage
Use the code <BODY Background = "bgound.gif" Bgproperties = "fixed"> to prevent the Background image from scrolling along the page.

4. Set the command to close the window
Code: <a href = "javascript: window. close ()"> close the window </a>

5. Horizontal line settings
In Dreamweaver, how does one set the horizontal line to a red line with no shadow? In the source code, change the default code to
6. Create special effects on the background color of a table with the mouse directed to the table
This special effect uses a table style sheet. To achieve this effect, you only need to add it to the <td> code.
Onmouseout = "this. style. backgroundColor = ''''"
Onmouseover = "this. style. backgroundColor ='' # ffcccc ''"
"# Ffccc" indicates the color to be changed when you move your mouse to the table. You can set other colors as needed.

7. Create an email hyperlink
Code:
<A href = "mailto: web @? Subject = apply for links & CC = web @ & BCC = tslxg@hotmail.com & body = want to "web teaching network" to establish a site links! "> Link application </a>
Where:
Subject: Mail title
CC: CC address
BCC: BCC address
Body: email content
See Special effects:Link application

8. Integrate Dreamweaver into Internet Explorer
The Dreamweaver installer adds the "Edit with Dreamweaver" command in the context menu. We can also modify the Windows Registry to integrate it with IE. Like Frontpage and Notepad, use the edit button on the IE toolbar to call Dreamweaver to open the current webpage.
1. Create a text file named Drw. reg with the following content:
REGEDIT4
[HKEY_CLASSES_ROOT.htm OpenWithListDreamweaver]
Export hkey_classes_root.htm OpenWithListDreamweavershell]
Export hkey_classes_root.htm OpenWithListDreamweavershelledit]
Export hkey_classes_root.htm OpenWithListDreamweavershelleditcommand]
@ = "C: Program filesm1_mediadreamweaver 3dreamweaver.exe % 1"
Change the last line of the file to the Dreamweaver installation path, double-click it to add the information to the registry, open IE's "Internet option", and specify "HTML editor" in the program tag.
<

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.