/    Sign up×
Community /Pin to ProfileBookmark

Mouseover function to go to last page with gif’s

Hello,

I would like to know how to use the mouse over to go to the last page but I would like to use 2 gifs, which I have made. One when you just see the page and a second when you mouse over it. I can currently do the function but it goes to an exact page. I would like it to go back to the page they were at I know you can use this: <input TYPE=”button” VALUE=” BACK ” onClick=”history.go(-1)”> but it will but a box and I would like to do the same with a gif and not an input box.

Would you help me please?

to post a comment
HTML

2 Comments(s)

Copy linkTweet thisAlerts:
@Declan1991Jul 09.2008 — <a href="#" onclick="history.go(-1);"><img src="normal.gif" style="border:none;" onmouseover="this.src='other.gif';" onmouseout="this.src='normal.gif';"></a>

There are better ways to do it, but that will work when JavaScript is enabled.
Copy linkTweet thisAlerts:
@webguy1958authorJul 09.2008 — THANK YOU!!! It works fantasticly. Your are wonderful . ? ? ? How do I get in touch with you if I have any more problems?

Marshal/webguy1958

Quote:
What you are is Gods gift to you. What you become is your gift to God.
--Anonymous--
×

Success!

Help @webguy1958 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.24,
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,
)...