Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- di headnya sy include file custom.js yg isinya :
- $(document).ready(function(){
- $(".anim").mouseover(function(){
- $("#img").animate({
- marginTop: "-100px"
- }, 500);
- });
- $(".anim").mouseout(function(){
- $("#img").animate({
- marginTop: "0px"
- }, 500);
- });
- });
- <div id="news">
- <a href="#" class="icon-news anim" title="News"><img class="anim" src="<?php print base_path() . drupal_get_path('theme', 'klikit'); ?>/images/items/news.png" alt="Read Our Recent News" /><a/>
- </div>
Add Comment
Please, Sign In to add comment