Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Adobe Dreamweaver | Navigation | How to use Swap image behavior in Dreamweaver
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

How to use Swap image behavior in Dreamweaver

Dreamweaver provides several tools in determining the behavior of individual elements on the page. In this lesson we will show you an interesting one, how to change an image above the link.

 
  Author: bole | Version: CS5 | 9th November 2013 |  
 
 
1.
 

Create new HTML document.

 
 
2.
 

Click Insert and select Image. Than select any image and click OK.

 
 
3.
 

Below the image write Picture 1 and Picture 2 and then select an image.

 
 
4.
 

At properties specify a name for the picture.

 
 
5.
 

Select text Picture 1.

 
 
6.
 

At Link field insert sign # or write a web page address.

 
 
7.
 

Click Windows and select Behaviors. Behaviors must be marked.

 
 
8.
 

Behaviors window appears on the right side. Click + icon…

 
 
9.
 

…and select Swap image.

At Images field select the picture you have named under Properties.

At Set source to field select the picture you want to be shown when you will be above selected text.
 
Select Preload text and click OK.

 
 
10.
 

We have set the first rule.

Now select text Picture 2 and repeat the procedure, only this time select other picture in the Set source to field.

 
 
11.
 

Save the document (Ctrl + S) and press F12 to open the page in a browser.

 
 
12.
 

Now go with the mouse above Picture 1 link and the picture should change.

 
 
13.
 

Now go with the mouse above Picture 2 link and the picture should change to the other picture.

 
 
 
   
  Please login to post a comment
  Click to open user profile  
dfdre44, 5th Jul 2025, 3:12 AM
Dreamweaver’s tools help customize element behavior, such as changing an image above a link. Using Image to Text techniques can enhance accessibility and SEO by converting images into readable, editable text within your web design workflow https://imagetotext.ltd/.
 
 
  Click to open user profile  
Zoyashah, 5th Jul 2025, 9:06 AM
Locksmith tools ensure smooth operations, just like Dreamweaver’s Swap Image behavior enhances interactive design. To use it, select an image, go to “Behaviors” panel, choose “Swap Image,” then define the image ID and source for the swapped image. It triggers on events like hover, making webpages visually dynamic. Just like changing a lock with precision, using this feature correctly brings functionality and appeal together in one seamless web experience. https://lockandkeyleeds.co.uk/
 
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO