Solved

Image swap??

Posted on 2004-08-18
4
158 Views
Last Modified: 2010-04-25
I want to create something similar, using HTML or similar, like what these guys have done in Flash.

http://www.cityliving.com.au/gallery/Savoy.html

I have seen this done before but I cannot remember how.

Thanks,

Rob.
0
Comment
Question by:rgoggins
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
alexhogan earned 500 total points
ID: 11837137
You can do this with layers and the  hide/show layers behavior.

Create your page with the images on the right and the main image in a layer.
Create a layer for each of your images with the same location
In the behaviors tab select show hide layer
Use the onOver and onOut events to make the switch
0
 
LVL 1

Author Comment

by:rgoggins
ID: 11837535
I tried the "swap image" and "swap image restore" bevhavior to achieve the result. It seems to be working fine. I will also try the hide/show layers behavior as you have suggested. Do you know of any difference or pros and cons of these two solutions?

Thanks for the input.

Rob.
0
 
LVL 8

Expert Comment

by:alexhogan
ID: 11837924
You will have a little more control with the layers than just swap image, but you might be using a little more overhead with the layers.

Either way is just about as good.  I like the layers because of the control.
0
 
LVL 1

Author Comment

by:rgoggins
ID: 11837955
Thanks Alex.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question