19 posts
  • Exclusive Author
  • Has been a member for 1-2 years
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
cerceicer says

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.

3687 posts
  • Bought between 500 and 999 items
  • Community Superstar
  • Exclusive Author
  • Forum Superstar
  • Has been a member for 4-5 years
  • United Kingdom
charlie4282 says

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

189 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Grew a moustache for the Envato Movember competition
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Support Staff
  • Envato Staff
  • Reviewer
  • Envato Studio (Microlancer) Beta Tester
+6 more
Crusader12 Reviewer says

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});
    }).mouseout(function(){
      $(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. :)

by
by
by
by
by
by