/    Sign up×
Community /Pin to ProfileBookmark

Automatically Fade Out an image on homepage

Hello everyone!

I’m looking for a script or a direction if I want to do the following:

I would like to have an image (same size as site dimensions) automatically fading out after a some seconds. When the image has faded out all underlying layout and controls must be controlable.

Long time ago I had something working, but it didn’t work not on all IE’s. As time changes things rapidly maybe anyone have a tip or clue.

Thanks in advance.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@touch_the_sky1Oct 26.2011 — Look into setTimeout() for initial delay, animate opacity (reducing it's value in a loop) - you'll need some.. workaround for IE though, then remove from DOM when it hits 0.00 - that'll get you started, and then you'll come up with a better idea and then...

But honestly, save yourself some time and get jQuery -> what you need to achieve - absolutely effortless.
Copy linkTweet thisAlerts:
@JongenauthorOct 26.2011 — Thank you for your reply! As being an absolute beginner with js I will follow your jQuery-advice. Do you perhaps have a next clue? Thanks again.
Copy linkTweet thisAlerts:
@touch_the_sky1Oct 26.2011 — You're welcome, other clues?

Initial placement of an element over some content sounds like an entirely markup + CSS job.

Also, jQuery fadeOut
×

Success!

Help @Jongen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...