Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi All,
How do I fade an “IMAGE” into a “XHTML” page that works in Mozilla, IE and Opera ????
I have googled without results.
Go easy on me as I am not a programmer and only know a bit of HTML and CSS.
Is there FLASH coding to do this ?????
lucky1

Thanks for the response Laler,
onmouseover would be best, I would like a picture image to fade out and then is replaced with a new XHTML page.
Hope this makes sense . .
lucky1

To make an image fade out in Flash, create a Flash file, import the image into the first keyframe on a layer, add a keyframe later in the timeline where you want the animation to end (think in terms of duration), create a tween between the 2 keyframes (click the first one and set the tween in the Property inspector), set the apha in the first keyframe to 100%, and the alpha in the last keyframe to 0%.
Done!

Hi N,
Thanks, I only wish I had the knowledge to do as you suggest, however, I am but a nubie and have no understanding of flash.
Is there not a simple "cut and paste" then fill in the blanks code available ???
I am 78, and too old to learn Flash. . . .
This would be for a personal web site.
lucky1

hi,
imo, it's better to not use flash. why? let's discuss it in another topic :P
I would like a picture image to fade out and then is replaced with a new XHTML page.
what exactly do you mean by replaced with a new XHTML?
If it's a button (image), fades or smooth rollover on mouseover and opens a new page when clicked, you can use this CSS & javascript rollover... even people with javascript turned off will still be able to navigate the site. they will still see the button.
the script is good and well written. I've used it in a couple site. and it's far better than flash buttons with some restrictions.
is that what you mean?
or do you mean that the whole page is slowly fading out and fading in on each page change? This can also be done but I haven't got the "latest" knowledge to do it best yet.
or do you want some kind of "slide show" with fade out-in on each slide?

> imo, it's better to not use flash
I didn't mean to direspect N's post :D I'm sorry.
flash is sure needed on some cases, but if it's simple buttons then IMO better not use it.
it's best for ads, headers or complex animated navbars... but still you need to think of people who dont have (or prefer to not install) flash, people with slow connection, search engines, etc...

No offense taken. The topic was fading an image into html.
Flash does that easily.
Unfortunately, swfs are compiled documents so there's not really a template you can just drop your image into.

Thanks Laler & N,
As ever, information from this forum is always the best.
I will attempt "flash" and "CSS javascript rollover", thanks again
lucky1

Thanks everyone, this post also helped me as I have a later post asking about transitions in Flash. I thought Photoshop was hard until Professor Teaches cds. But Flash has thrown me back about 3 weeks for this Professor teaches CD.
I had the tweening and key frames and added images fine, but was at a loss as to the alpha use knowledge as the CD gives about the basics.
I did successfully do a short movie where one picture is replaced by the other and it is easy!!!!!!!!!!!!!!!! I picked that up fast with the CD, use Photoshop to resize images to where I want them and use javascript a lot and have cds on learning cascading style sheets.
You can learn anything you set your mind to and get out of the stumps when you fall, you're not too old. That's how you learn.
Thanks again!!!!!!!!!!!!

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |