Welcome, Guest

Please login or register

TUTORIALS SUBMENU ---->

PHOTOSHOP    FLASH    ILLUSTRATOR    BLENDER    CINEMA 4D    WEB-CODING

Related Links

Remote Rollovers


When creating web interfaces it is often all too easy to forget the sheer power and features that Adobe Photoshop's sister application, Imageready, has to offer.   The aim of this article is to provide an insight into remote rollovers, a feature which automatically combines images, Javascripting, and HTML code to create interfaces that respond according to pre-defined user actions.   All you need to get started are a suitable interface design, Adobe Illustrator CS or greater, and a little time.   Interested?  Read on...

Note: There are many different types of rollovers - replacement rollovers which replace the original image with a new image, addition rollovers which add visual elements to the existing image, and remote rollovers, which trigger different images in different locations on a Web page. This article concentrates solely on the last rollover type.
 

Step 1: Using the Slice Tool and Slice Select Tool, slice up your interface into appropriately-sized portions.  Generally speaking, you want to ensure that each button is in its own slice, and that the area you want to change during the 'rollover' is also within its own slice, with no overhang. All content must be prepared prior to going any further, with rollover content available but hidden until needed. This step can be quite complex, so if you are inexperienced or need more detail, you should perhaps refer to the Interfaces & Imageready tutorial before going any further.


Step 2: Select one of your button slices in the slice palette, and then right click on it to bring up a drop-down menu. Click on the Add Rollover State option to create a new rollover state.  Simple, huh?  Select this new state in the slice  palette by left-clicking on it.  By default, the new rollover state will be "over". You can change this to down, click, out, up, custom, or none. We want it to be over in this case, since we're creating a rollover.

Theory: Rollover states work by recording changes from your original image.  Lets say, for example, that you have two images, called 'A' and 'B' in your interface, overlaid so that B is totally hidden behind A.   In your rollover state, you can specify that when the mouse is over a specific slice, the A graphic vanishes, thus leaving the B.   Thinking in this manner, it is easy to define mouseover states for various button states to give the impression of interaction in your interface.
 


Step 3: Well, now that I have explained the theory of it all, go back to your layers palette and adjust your slices to turn on the visibility of the image you want to be shown when you mouseover the button.


Step 4: And now for the easy bit.  Look for the spiral to the left of the rollover state for your button slice. Now click and drag the line to your image(s) to associate that rollover with other slices.  Repeat steps 2-4 for all the rollover states you need, and then save your work as a workable interface by choosing File > Save Optimized As from the main menu.  In the dialog box that pops up, specify a new blank directory (you may need to create this manually), pick a name for your HTML file, choose HTML and Images from the Format pop-up menu and click OK.   A few seconds of processing later, and your interface will be ready in the directory you specified, awaiting further manipulation as necessary.


Example: The concepts explained above are very simple in operation, but notoriously hard to explain on paper.  To explain what I have done, and what remove rollovers are capable of, here's an interface I prepared earlier: 


- Tutorial written by Jimmy1012

Automatic Translations: Translate Into French Translate Into German Translate Into Italian Translate Into Spanish Translate Into Portuguese

Last 5 User Comments

User:  PrestonB (#34594)
Date: Sat Nov 18, 2006. 21:15:25

Post #2 of 2

Im new to photoshop cs2 and im building a website for a car dealership and was trying forever to make a remote rollover to display pictures of cars and this tutorial made it so easy, it works perfectly except one thing, after its all done and saved, how do i put it into my site that ive already built?? :S:S

Reply to this post


User:  tparsley (#32139)
Date: Wed Sep 20, 2006. 20:55:54

Post #1 of 2

I work in production for a small agency, and we are trying to bring in most of the web development in house. We have a small web campaign that we want to do for ourselves and the owner created a simple web page which includes remote rollovers. Two days ago, I had no clue where to begin to develop that. (I have only a basic understanding of html)

I tried to follow the Image Ready tutorial, re-read it a couple of times, and could not figure out what I needed to do.

after reading your tutorial, I did it in 20 minutes!

thanks again,
Tina :topjob:

Reply to this post


--- View Entire Thread ---
Featured Content

DuoTones
DuoTones
- Adobe Photoshop -
Creating Warm Light
Creating Warm Light
- Adobe Photoshop -
Texture Mapping
Texture Mapping
- Adobe Photoshop -
Wrinkle Removal
Wrinkle Removal
- Adobe Photoshop -
Membership

Username:
Password:  
Remember Me

Lost Password? || Register

Special Options
Printer Friendly Version
Forum Threads

Competition Discussion - Brushes
Author: Man1c M0g
Posted: Feb 07th, 5:48pm
Activity: 0 replies, 55 views
 Competition - Brushes
Author: Man1c M0g
Posted: Feb 07th, 5:46pm
Activity: 0 replies, 58 views
 PM Spamming
Author: Tamlin
Posted: Feb 06th, 1:24pm
Activity: 7 replies, 122 views
Vector Clipart Bank
Author: Crapoun
Posted: Feb 06th, 11:29am
Activity: 2 replies, 96 views
How did ...
Author: MoodsR4Cattle
Posted: Feb 05th, 6:09pm
Activity: 6 replies, 29 views
Tips and trick for Texturing/Materials
Author: noorjan
Posted: Feb 05th, 4:59am
Activity: 2 replies, 112 views
 A Billion Styles - Please Help Me!!
Author: Angelz
Posted: Feb 03rd, 6:36pm
Activity: 2 replies, 137 views
101 Things you didnt know in 3DS Max ...in fact...
Author: noorjan
Posted: Jan 31st, 6:04pm
Activity: 0 replies, 163 views
Pee Wee get's an IPad
Author: MoodsR4Cattle
Posted: Jan 30th, 4:25pm
Activity: 2 replies, 164 views
Spam :: Online hotel reservations for Hotels in...
Author: kieulinh
Posted: Jan 28th, 6:39am
Activity: 0 replies, 205 views
New Design
Author: unleash
Posted: Jan 23rd, 12:39am
Activity: 3 replies, 17 views
New Design
Author: unleash
Posted: Jan 23rd, 12:39am
Activity: 27 replies, 727 views
Forum Threads

--- Site Resources ---
Total Tutorials:212
Total Downloads:    415