JQuery hover button code based on jquery hover
Today, we will share with you a jQuery-based hover-over pop-up mask display button code. This is a series of elastic animation effects, such as buttons and text, that appear when you hover your mouse over an image. As follows:
Download Online Preview source code
Implementation code.
Html code:
<div id="container"> <div class="main_box user_style1" data-hipop="one"> <a href="#" class="popup"></a> </div> <div class="main_box user_style2" data-hipop="two"> <a href="#" class="popup"></a><a href="#" class="popup2"></a> </div> <div class="main_box user_style3" data-hipop="one-horizontal"> <a href="#" class="popup">BUY</a> </div> <div class="main_box user_style4" data-hipop="two-horizontal"> <a href="#" class="popup"></a><a href="#" class="popup2"></a> </div> <div class="main_box user_style5" data-hipop="text_content"> <p class="textTitle"> Title Here </p> <p class="textBox"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel gravida non, egestas nec eros. Vivamus euismod, erat quis lobortis ullamcorper, libero justo hendrerit velit, in ornare erat ipsum scelerisque nisl. Etiam pharetra sodales dui, nec dignissim nisi adipiscing vel. Integer luctus mi elementum mi ullamcorper eu varius enim rutrum. Morbi gravida dolor eu leo dictum vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel gravida non, egestas nec eros. <a href="#">Read More</a> </p> </div> <div class="main_box user_style6" data-hipop="text_content"> <p class="textTitle"> Title Here </p> <p class="textBox"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel gravida non, egestas nec eros. Vivamus euismod, erat quis lobortis ullamcorper, libero justo hendrerit velit, in ornare erat ipsum scelerisque nisl. <a href="#">Link</a> </p> </div> <div class="main_box user_style11" data-hipop="text_content2"> <p class="textTitle"> $7 </p> <p class="textBox"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec est viverra velit venenatis faucibus. Maecenas adipiscing, lectus a hendrerit vulputate, tellus urna accumsan felis, semper tempor mauris massa in odio. Duis sit amet nunc eu sem sagittis malesuada. <a href="#">Link</a> </p> </div> <div class="main_box user_style12" data-hipop="one-horizontal"> <a href="#" class="popup">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec est viverra velit venenatis faucibus. Maecenas adipiscing, lectus a hendrerit vulputate, tellus urna accumsan felis, semper tempor mauris massa in odio. Duis sit amet nunc eu sem sagittis malesuada. </a> </div> <div class="main_box user_style13" data-hipop="one"> <a href="#" class="popup"></a> </div> <div class="main_box user_style7" data-hipop="text_content2"> <p class="textTitle"> Title Here </p> <p class="textBox"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel gravida non, egestas nec eros. <a href="#"> Link</a> </p> </div> <div class="main_box user_style8" data-hipop="rub"> <a href="#" class="r_board">AWESOME</a> </div> <div class="main_box user_style9" data-hipop="rub"> <a href="#" class="r_board"></a> </div> <div class="main_box user_style10" data-hipop="rub"> <a href="#" class="r_board">$7</a> </div> </div>
Via: http://www.w2bc.com/Article/28674