Home Forums Porto Template Lightboxes Shortcodes

This topic contains 3 replies, has 2 voices, and was last updated by  Support2 22 hours, 3 minutes ago. This post has been viewed 49 times

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10028005

    erkan1907
    Participant

    I want to open the load ajax content automatically when the page is opened



    Template Version: last
    #10028007

    Support2
    Keymaster

    Hello, thanks for your purchase.

    For example to load the ajax content of first item on this page: http://preview.oklerthemes.com/porto/7.0.0/portfolio-ajax-page.html

    Add in (js/custom.js):

    $(window).on('load', function(){
    	$('.portfolio-list div').eq(0).find('a[data-ajax-on-page]').trigger('click');
    });

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10028010

    erkan1907
    Participant

    Thank you so much. I run. But how do I do this behind c# code?


    #10028013

    Support2
    Keymaster

    Hello,

    Sorry but “how to do this behind C# code” it’s out of our support scope, since the template is HTML, CSS and JS.
    Also we don’t have knowledge with C# to guide you with that.

    Let us know if you need any further assistance.

    Kind Regards,

    Rodrigo.


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