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/
 
 
  Click to open user profile  
elenmaria, 14th Aug 2025, 1:03 PM
In Adobe Dreamweaver, the Swap Image behavior allows you to change an image on a webpage when a user interacts with it, most commonly when they hover over it, https://realestatephotoservice.com/digit.... without needing to write JavaScript manually. Dreamweaver will automatically insert the necessary JavaScript to handle the swap, and you can preview it in a browser to see the effect. This is a quick way to add rollovers and interactive visuals without coding from scratch.
 
 
  Click to open user profile  
George M. Lan, 19th Aug 2025, 11:02 AM
This simplicity makes the game Geometry Dash Scratch accessible, but the difficulty comes from rhythm and precision https://geometrydash-lite.io/geometry-da....
 
 
  Click to open user profile  
mattiedmercer, 25th Aug 2025, 8:05 AM
I really like how Dreamweaver offers features like this. Being able to control an element’s behavior and swap an image over a link feels very creative. I often think little touches like this make a big difference in design. For example, when I play https://basketballlegends.fun basketball legends in my free time, the fun comes from those small but impactful moments, just like in design. It feels engaging, almost like a game.
 
 
  Click to open user profile  
Zoyashah, 25th Aug 2025, 8:51 AM
Door latch provides a simple yet effective way to secure rooms, gates, or cabinets with ease. Known for convenience and reliability, it is available in various styles to suit different needs. Easy installation makes it a practical choice for both homes and offices. Its functionality ensures quick access while maintaining safety. For those working on digital projects, exploring how to use Swap image behavior in Dreamweaver can enhance interactive web design. https://locksandhandles.co.uk/
 
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO