5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

I am working on some code, and wanted to animate the zoom and link icons on image hover.

I have all the actual code working, but need now to be able to if possible animate the icons into view.

Example image:

Basically I want the smallest amount of code to do this, prefer css3 / jquery not really fussed.

But what I want to do, is on hover of the image, the icons animate upwards from bottom of image to absolute position as shown in image. Then on mouseout ( of image ) the icons fade away.

If you can point me to anything, greatly appreciated. Rather do this with just the absolute smallest amount of code, please.

Cheers

ps: added , happy to create a js fiddle.

83 posts
  • Has sold $10,000+ on Envato Market
  • Has referred 100+ members
  • Has been part of the Envato Community for over 4 years
  • Located in Australia
+3 more
MelonHTML5 says
5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

LOL I just created a fiddle.

here

Will check yours out

639 posts
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
+1 more
Crakken says

LOL I just created a fiddle.

here

Will check yours out

I would help but your fiddle gives me headaches :O

5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says


LOL I just created a fiddle.

here

Will check yours out
I would help but your fiddle gives me headaches :O

really why ?

removed extraneous code if it confuses.

http://jsfiddle.net/422steve/ThZNL/5/
5410 posts The Dude Abides
  • Located in United States
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $125,000+ on Envato Market
  • Has been part of the Envato Community for over 5 years
+9 more
CodingJack says

jsfiddle for you: http://jsfiddle.net/leli/H2bPT/

Might be good to wrap those links in an element and then animate that instead. This way only one animation occurs as opposed to two:

http://jsfiddle.net/Wn7S6/
639 posts
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 2 years
+1 more
Crakken says

really why ?

removed extraneous code if it confuses.

http://jsfiddle.net/422steve/ThZNL/5/

Oh, God, yes, that’s why, now there you go mate: http://jsfiddle.net/7R3fG/4/
Edit: Or better: http://jsfiddle.net/7R3fG/7/

5492 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Located in Australia
  • Has sold $1,000+ on Envato Market
+4 more
Australia says

Cheers Guys, opted for a combination of Codingjack and leli2000’s code

Cheers chaps ^5

16 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Had an item featured in an Envato Bundle
+7 more
rigsmotion says

I think it’s realy cool idea, i upload on VH pack 70 animated icons for web and IT ))

107 posts
  • Has been part of the Envato Community for over 2 years
  • Sells items exclusively on Envato Market
mailmilisku says


jsfiddle for you: http://jsfiddle.net/leli/H2bPT/

Might be good to wrap those links in an element and then animate that instead. This way only one animation occurs as opposed to two: +1

http://jsfiddle.net/Wn7S6/

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by