Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19744

    Is it possible to have the ribbon at the top of the page automatically close after a set amount of time? Thanks!

    #104832

    Open up wp-content/themes/propulsion/js/avia.js and replace:

    if(jQuery.fn.avia_hide_info_text)
    jQuery("#info_text_header").avia_hide_info_text();

    with:

    if(jQuery.fn.avia_hide_info_text)
    jQuery("#info_text_header").avia_hide_info_text();
    setTimeout( function(){ jQuery("#info_text_header .infotext .close_info_text").trigger('click'); } ,6000 );

    You can replace 6000 with any other value. 6000 stands for 6000ms (6 seconds countdown before the ribbon will close automatically).

    #104833

    Awesome, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Closing Ribbon’ is closed to new replies.