Welcome, Guest

Please login or register

TUTORIALS SUBMENU

PHOTOSHOP    FLASH    ILLUSTRATOR    BLENDER    CINEMA 4D    WEB-CODING    [SUBMIT]

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 ---
Amazing Font Pack!

Featured Tutorialsmore

'Out Of Bounds' Im...
'Out Of Bounds' Im...
- Adobe Photoshop -
Artistic Color Iso...
Artistic Color Iso...
- Adobe Photoshop -
Wrinkle Removal
Wrinkle Removal
- Adobe Photoshop -
Pixel Stretch
Pixel Stretch
- Adobe Photoshop -
Membership

Username:
Password:  
Remember Me

Lost Password? || Register

Related Links



Special Options
Printer Friendly Version
Forum Threads

 Deactivate Account
Author: jerinian
Posted: Oct 02nd, 11:16am
Activity: 1 replies, 897 views
 changes....
Author: supertackyman
Posted: Sep 12th, 2:56am
Activity: 2 replies, 1062 views
Back again and with free webhosting :)
Author: ngz
Posted: Aug 14th, 3:50pm
Activity: 0 replies, 1060 views
Cartoon Crab 6 Legs Walk Run created in Blender
Author: patricia3d
Posted: Jun 19th, 12:58pm
Activity: 0 replies, 1942 views
HTML Form Post Array to PHP
Author: Space Cowboy
Posted: May 25th, 2:18pm
Activity: 0 replies, 1841 views
My blog where i create Digi Scrapbook
Author: claudya07
Posted: May 11th, 2:33pm
Activity: 0 replies, 14450 views
Blood Dripping from Letters
Author: patricia3d
Posted: Apr 05th, 3:37am
Activity: 0 replies, 2767 views
A New Designer has joined the ranks
Author: skates1
Posted: Mar 28th, 2:19pm
Activity: 2 replies, 2789 views
The hole in Photoshop
Author: Mars
Posted: Feb 13th, 9:28pm
Activity: 2 replies, 3449 views
Colour Swatch
Author: ebz7350
Posted: Jan 15th, 11:18am
Activity: 0 replies, 2362 views
 BioRUST Forums - Reply to Topic
Author: inonShozy
Posted: Jan 11th, 11:32am
Activity: 8 replies, 2507 views
 Version 2 of my portfolio site.
Author: andrewnleon
Posted: Jan 08th, 6:18am
Activity: 6 replies, 2806 views
Forum Threads

--- Site Resources ---
Total Tutorials:212
Total Downloads:    441
Total Fonts:    4673