|
Creating Image Rollovers in Dreamweaver CS3In this Dreamweaver Tutorial you are going to learn just how easy it is to create buttons that change when a user mousse over them, this is called a “ Roll Over”. Before programs like Dreamweaver the web master would have had to write many lines of complex JavaScript code to accomplish this task, but we have come along way since then, and this can now be achieved with a couple of mouse clicks. View Dreamweaver basics in video format: Beginners Dreamweaver Tutorial Videos. Create the images
Lets add the code with Dreamweaver . This will launch the Dreamweaver Inert Rollover Image dialog box, the fields need to be populated to tell Dreamweaver which images to use, where to send our visitor to when the image is clicked and a few other aspects. The first field “ Image name “ should have already been filled in for you by Dreamweaver. Select your Original image The Rollover image field is of course the location of the image that we wish to swap with when the user moves their cursor over the original image, it is advisable to leave the default checkbox “ Preload rollover image “ checked, this makes the clients browser download all the images used in your rollover first and makes for a much more smooth effect.
Setting the URL of the button A working example |