Solved

Image swap??

Posted on 2004-08-18
4
156 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now