• Resolved Bommeltje

    (@bommeltje)


    When a visitor opens the page with the iPanorama tour only the smaller eye button (to open the menu) is shown (which is what I wanted and that works).
    But, is it possible for me to add the full screen button there too?
    Than it would be perfect and I can start to create the other tours (I only have one to try out all settings and to find the perfect way to display them on my website).
    Thanks for your reply ??

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Avirtum

    (@avirtum)

    Try to add this code into the custom js tab. It will replace the fullscreen button to the right bottom corner.

    const instance = this;
    const $ = jQuery;
    
    const $fullscreen = instance.$container.find('.ipnrm-btn.ipnrm-fullscreen');
    const $widget = instance.$container.find('.ipnrm-widget');
    
    $fullscreen.detach().css({'display':'block','position':'absolute','right':'5px','bottom':0,'z-index':999});
    $widget.append($fullscreen);
    • This reply was modified 1 year, 12 months ago by Avirtum.
    • This reply was modified 1 year, 12 months ago by Avirtum.
    Thread Starter Bommeltje

    (@bommeltje)

    Ah thank you Avirtum.
    That works indeed.
    Is it possible to show that button next to the “eye” button bottom center?
    If not, this is already great ??

    Plugin Author Avirtum

    (@avirtum)

    It’s possible too, try to use this code

    
    const instance = this;
    const $ = jQuery;
    
    const $fullscreen = instance.$container.find('.ipnrm-btn.ipnrm-fullscreen');
    const $menu = instance.$container.find('.ipnrm-menu-bar');
    
    $fullscreen.detach().css({'display':'block'});
    $menu.append($fullscreen);
    
    Thread Starter Bommeltje

    (@bommeltje)

    Perfect !! ??

    By the way, is it normal that if you look straight up or straight down and the rotation starts again that the screen starts flipping then?
    That stops when you swipe just a little bit away from straight up or straight down.
    Not sure if that’s only my iPad Pro or if this is unavoidable or maybe a bug of some kind.
    Thought I mentioned this to you ??

    • This reply was modified 1 year, 12 months ago by Bommeltje.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I add full screen button to the Civic closed menu page?’ is closed to new replies.