Forums

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

Home Forums CSS Auto Pop up without clicks, would like some assistance with code

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38559
    ozalkl
    Member

    I would like for the pop up to appear once the page loads, without clicking anything.

    Is there any tweak or an auto run action?

      $(document).ready(function(){

    var methods = {

    autoclose : function(){
    $.fallr('show', {
    buttons : {},
    content : '

    This is a video

    ',
    width : 560 + 100,
    autoclose : 5000,
    icon : 'clock'
    });
    },

    };
    $('a[href^="#fallr-"]').click(function(){
    var id = $(this).attr('href').substring(7);
    methods[id].apply(this,[this]);
    return false;
    });
    });
    #104544
    ozalkl
    Member

    currently its working with Button Click, but I would like to see if i can make it launch once the page is loaded..

    thank you

    #104549
    Senff
    Participant

    You are aware that popup blockers exist for a reason, right? ;)

    #104581
    ozalkl
    Member

    yes… but its the client request and must be done, I figured the code now ;)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.