Log in

View Full Version : fade in a single image



vkbarefoot
04-13-2007, 08:45 PM
I would like to fade in a single image and then have it remain without fading out again.

I know this seems simple but to me it is not ... thank you ... viki

thetestingsite
04-13-2007, 08:50 PM
Have you looked at Twey's Fade Object Script (http://www.twey.co.uk/?q=fading)? If not, I'm sure there are some floating around either on the forums on the main site itself.

Hope this helps.

vkbarefoot
04-14-2007, 05:18 AM
I have already seen that script but I have a couple of extremely newbie problems.
First, how do I use it? When I insert it on my code page it shows on the actual page.
Second, I don't want it to do anything but fade an image in and then stop.
Is there a simpler script or way to do this?
Thank you

pcbrainbuster
04-14-2007, 05:30 AM
As a reference point for Twey if that script is supposed to be working for IE, its not...

tech_support
04-14-2007, 06:12 AM
On your <head> tag paste this:


<script type="text/javascript" src="FadableObject.js"></script>
<script type="text/javascript">
window.onload=function(){
new FadableObject(document.images['imagename'], 1, 10, 0, 99, false, false);
document.images['imagename'].fadeThread.fadeIn()
}
</script>

And make sure to download a copy of the script.

I have already seen that script but I have a couple of extremely newbie problems.
First, how do I use it? When I insert it on my code page it shows on the actual page.
Second, I don't want it to do anything but fade an image in and then stop.
Is there a simpler script or way to do this?
Thank you
Yes, Twey does have a trend to make scripts that are hard to implement to newbies...

As a reference point for Twey if that script is supposed to be working for IE, its not...
It is on IE7. Care to give us the error message? Does it work on the demo?

djr33
04-14-2007, 08:19 AM
Working for IE6 XP here.