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

    Hello!
    I put a code in my functions.php so that ajax portfolio is opened from beginning:

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(“a[data-rel=’grid-1′]”).first().trigger(“click”)
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_script’);

    I like that feature. Nevertheless there’s a kind of delay. For a few milliseconds, you see the thumbnails on top of the page and shortly after that, the portfolio pops open. Is is possible to change this?

    Even more important is to find a way to change the way the portfolio behaves. Somehow the frame in which the image is, jumps down first and then adapts to the size of the image. The demo page (example of a 3 Column Ajax Portfolio) shows the same. When I click on the first portfolio item, a preview will open. Before the image shows, you see a white surface that is greater in length than the picture requires. If the image is loaded, the frame adapts. I don’t like that. Can this be changed?

    Hopefully you can help me with this!
    Thank you very much in advanche.

    • This topic was modified 9 years, 10 months ago by laartje.
    #393870

    Hi lara!

    I do not see an easy way of going about this. It’s bordering on custom work anyway so it would be best to hire a freelancer to help you out with this customization.

    If you’d like then consider checking out Werkpress for a quote, http://kriesi.at/contact/customization.

    Cheers!
    Elliott

    #393890

    Hello Elliott,

    That’s too bad! I thought it might be a bug, because the demo page shows the same jump down. It looks strange this way, and it is an unnecessary action in my opinion. I’m trying to figure it out myself.

    Thanks anyway!

    Greetz

    Lara

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Ajax portfolio imageframe jumps down’ is closed to new replies.