26 posts
  • Has been part of the Envato Community for over 1 year
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Sells items exclusively on Envato Market

Well I would like to learn how to make some new page openers like in this website: http://greyscalegorilla.com/blog/tutorials/

The way the box go gray when you hover the mouse cursor over and when you click the boxes they send you to a new page….

Well I would like to learn how to do that so if you know some tutorials about making them please share them.

Thank you for your time and help.

4323 posts
  • Achieved the monthly Community Superstar Award
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 5 years
  • Has collected 500+ items on Envato Market
+2 more

Just Google hover effects or rollover effect tutorials – its basic stuff and there will be a ton on tutorials on it like http://tympanus.net/Tutorials/OriginalHoverEffects/index2.html (slightly more advanced than what you are linking to but the principal is the same).

As for making the click redirect a user that’s just a question of linking the image to a different page

229 posts
  • Made it to the Authors' Hall of Fame
  • Member of the Envato Team
  • Had an item featured on Envato Market
  • Contributed a free file of the month
+13 more
Envato team

Learning how to break apart existing code is a good first step. Fire up your favorite console (I like Firebug) and inspect the site.

Start with the element that has the effect you’re wanting to replicate. Locate it’s class name, ID or REL (or note the hierarchy) so that you have a good idea of how the element(s) would be selected. In this case, you’re seeing a jQuery hover animation and the site is selecting images using tags.

Then just search through linked pages using what you think might be the selector to achieve the effect. You’ll eventually find it:

 $('#archive article').mouseover(function(){
      $(this).find('a').animate({opacity: 1}, {duration: 250, queue: false});
      $(this).find('a').animate({opacity: 0}, {duration: 250, queue: false});

This is located in the archive.js file. Although this may not be the best approach to learning – it will help you achieve the exact results of what you’re looking for and show you ways other developers approach similar problems. Learning different coding patterns is a good idea.

The code is pretty straight-forward, but not ideal. In this situation you’re probably better looking to a tutorial since it will cover better coding practices (like faster selectors, caching, etc). Anyway, if you come across effects in the future that you want to learn more about this is always a good place to start. :)

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