Solved

Image swap??

Posted on 2004-08-18
4
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

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 …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

763 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