Rollover Buttons using Dreamweaver
9:33 AM Posted by BlogTechno
Introduction
Using Rollover Buttons & Images is one of the most common web design ideas adapted by designers the world over because of its simplicity. Creating Rollover buttons or images using Adobe Fireworks or Adobe Dreamweaver is very easy. Read on!
Example 2: This example uses Rollover Images, Vector Shapes, Paste Inside, Drop Shadow
Example 1: This example uses Swap Images, Rollover Buttons, Curves, Vector Shapes, Paste Inside, Drop Shadow. View/Buy complete site using this design: Template 7 - Food
What it does
In Rollovers, a button or image changes (swaps) itself on rolling over it (onMouseOver event) and reverts back to the original image on rolling out of the web object (onMouseOut event). The on-rollover images are preloaded into the page when it is loading, this ensures that the rollovers are displayed quickly. Place your mouse over the Buttons in Example 1 and the Images in Example 2 to see their rollover effect.
How it works
The whole functionality is controlled by the JavaScript functions automatically generated by Fireworks or Dreamweaver. These functions are very optimized and you can always trust the code generated by Adobe Software :-) If you are a programmer-cum-designer it is good to know what the code does: There are 4 functions generated MM_preloadImages, MM_swapImage, MM_swapImgRestore and MM_findObj. Their names are self explanatory to what they do.
Create your own attractive Rollover Buttons and Images
Using Macromedia Fireworks: Create a new file in Fireworks and follow these steps:
You have just learnt to create your very own rollover buttons and rollover images using Macromedia Fireworks!
Using Macromedia Dreamweaver:
1. Design your buttons/images and their rollovers in any graphic editor. Export them to your site's images folder.
2. Now in your web page, click Insert > Image Objects > Rollover Image. In the pop-up window that appears give your rollover a name, alt tag, link and browse to locate the Original Image and Rollover Image. Click on OK.
That's it, you have just learnt to create your very own rollover buttons and rollover images using Macromedia Dreamweaver!
0 comments:
Post a Comment