Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS help with background overlay

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42400

    Im Working on this Page: [http://gpt.hernan.org/gpnew/v1%20(Referrals%20hover).html](http://gpt.hernan.org/gpnew/v1%20(Referrals%20hover).html “”) When hovering on Referrals Button, a Background Overlay appears, I need it to gradually appear.

    Maybe some Fade in or out animation.

    I’m using this script to make the Overlay run.


    (function(){
    $('#coins').on('mouseenter', function(){
    var w = $(window).width();
    var h = $(window).height();
    $('').appendTo('body').addClass('overlay').css({ 'width': w, 'height': h });
    }).on('mouseleave', function(){
    $('.overlay').remove();
    })
    })();
Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.