Four Dreamweaver production skills

Source: Internet
Author: User
Tags dreamweaver

1. Copy in Dreamweaver

The text I copied on the webpage is always in the format of the original webpage when I pasted it into Dreamweaver. How can I copy only the text in it?

A: There are two ways to copy and paste text in Dreamweaver: one is the standard method, that is, the method you use; the other is to copy and paste text only, it ignores the HTML format and only copies text by pressing the "Shift" key when copying and pasting.

2. How to create a link to replace an image

Some webpage image links are very special. When you place the mouse over them, it will change to another image. How can I make them?

A: This is to replace the image link. If you do not click it, it is an image. When you move the mouse over the image, it becomes another image. Using Dreamweaver, you can easily create this replacement link. Prepare two images of the same size. First put an image on the webpage, and then set the Link to which the image points in the Link in the "image properties" dialog box, press "F8" to open the "Behaviors" dialog box, click "+", select "Swap Image" to open the "Swap Image" setting window, and click "Browse" to set the Image to be replaced, click OK ".

3. How to set the access password for the page

When designing a website, some pages cannot be browsed by everyone. I want to set an access password on this page. Can I create any website?

A: add the following content to the

<Script language = "JavaScript"> <"〉〈! -- Var pd = "" var rpd = "mima" pd = prompt ("enter the password :","")

If (pd! = Rpd) {alert ("your password is incorrect ...... ")

History. back ()

} Else {alert ("your password is correct! ")

Window. location. href = "1.htm"} // --> </script> 〉

Note: In this example, mima is the correct password, and “1.htm is the link page after the correct password is entered. This method is not safe. Visitors only need to view the page source code to know the configured password. It is better to use ASP, PUP and other implementations.

4. Install the Dreamweaver plug-in

I have downloaded many Dreamweaver plug-ins online. How can I use them?

A: All versions of Dreamweaver 3 and later have plug-in Manager Extension Manager, which enables automatic management of plug-ins. You can download it to www.macromedia.com. After installation, you can start the manager from Dreamweaver. The specific method is to select "Command/Manage Extensions ......" Command to start the manager.

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.