Welcome, Guest

Please login or register

TUTORIALS SUBMENU

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

Sponsored 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. 21: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

Quick Barcodes
Quick Barcodes
- Adobe Photoshop -
Painting A Wooden ...
Painting A Wooden ...
- Adobe Photoshop -
Extracting Hair
Extracting Hair
- Adobe Photoshop -
Screws & Rivets
Screws & Rivets
- Adobe Photoshop -
Membership

Username:
Password:  
Remember Me

Lost Password? || Register

Advertisements





Special Options
Printer Friendly Version
Forum Threads

 Re: 3ds Max Tutorials for Beginners
Author: 3DSMaxresources
Posted: Feb 22nd, 4:29pm
Activity: 0 replies, 856 views
Delete Account
Author: Neo824
Posted: Oct 18th, 7:47am
Activity: 1 replies, 1922 views
Back...
Author: unleash
Posted: Jul 02nd, 12:37pm
Activity: 2 replies, 2034 views
Help Please :)
Author: Roosta
Posted: Mar 25th, 5:08am
Activity: 0 replies, 2481 views
thank you
Author: HypepapyHer
Posted: Mar 24th, 9:18pm
Activity: 1 replies, 1802 views
 Deactivate Account
Author: jerinian
Posted: Oct 02nd, 12:16pm
Activity: 1 replies, 2557 views
 changes....
Author: supertackyman
Posted: Sep 12th, 3:56am
Activity: 2 replies, 3537 views
Back again and with free webhosting :)
Author: ngz
Posted: Aug 14th, 4:50pm
Activity: 0 replies, 2721 views
Cartoon Crab 6 Legs Walk Run created in Blender
Author: patricia3d
Posted: Jun 19th, 1:58pm
Activity: 0 replies, 4093 views
HTML Form Post Array to PHP
Author: Space Cowboy
Posted: May 25th, 3:18pm
Activity: 1 replies, 3877 views
My blog where i create Digi Scrapbook
Author: claudya07
Posted: May 11th, 3:33pm
Activity: 0 replies, 17231 views
Blood Dripping from Letters
Author: patricia3d
Posted: Apr 05th, 4:37am
Activity: 0 replies, 4972 views
Forum Threads

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