Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #293471

    Hi I want to display a website iframe with lightbox, I check that Enfold use Prettyphoto and I try this code but is not working

    Google.com
    Apple.com
    Twitter.com

    This is the error that I get when I try this code https://www.dropbox.com/s/ezgjwvp9qn82jmu/Screenshot%202014-07-19%2016.32.59.png

    Can you help me please?

    #293510

    Hi felipemillan!

    Thank you for using the theme.

    Please edit js/avia.js and look for this code o line 801:

    autolinkElements: 	'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
    				videoElements	: 	'a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
    

    Replace it by this:

    autolinkElements: 	'autolinkElements: 	'a[rel^="prettyPhoto"], a[href*="iframe=true"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
    				videoElements	: 	'a[href*="iframe=true"], a[href$=".mov"] , a[href$=".swf"] , a:regex(href, .vimeo\.com/[0-9]) , a[href*="youtube.com/watch"] , a[href*="screenr.com"]',
    

    You can now add the url of the external site that you want to open via lightbox plus the ?iframe=true parameter. Something like this:

    <a href="http://kriesi.at?iframe=true">Open this</a>
    

    Best regards,
    Ismael

    #295075

    is this modification affected by future theme updates?

    #295116

    Hi,

    No, that modification is expected to be included in the next update.

    Regards,
    Josue

    #295714

    I like this implementation, and after implementing it we have one issue:

    We have multiple links say for a singup form page in the url, and we get 1of5 for example in pp nav. within the modal window (iframe)

    other than hiding this using css

    div.pp_default .pp_nav {
    display: none;
    }

    Is there a more elegant way to stop the navigation? Since the link that the button modal refers to is the same each frame of the gallery in this case. Or do you have another suggestion on how I can assign a pop-up modal window for a form page perhaps. And have link buttons on the same page that go to the link. ie cooking class one – (signup button) cooking-class two (signup-button) etc..

    This is what I am using:
    [av_button label='sign up' link='manually,http:XXX/gabrisa/cooking-classes-positano-signup/?iframe=true&name=signup1&width=600px' link_target='' color='black' custom_bg='#444444' custom_font='#ffffff' size='small' position='right' icon_select='no' icon='ue800' font='entypo-fontello' custom_class='']

    How can I make it so that each of the 5 buttons on a page does not trigger a gallery style counter in the iframe. The links are all the same so this is not ideal.

    Cheers

    #295720

    I did the above, and it seems we cannot set height and width in the new lightbox plugin in the same way as prettyphoto. Any ideas?

    #295728

    I set the width without an issue, I however left the height untouched ( auto). My issue is the gallery next buttons that go to the same link.

    #297930

    Hi!

    Do you have an example we can see? We will see if there is anything we can suggest as a fix.

    Cheers!
    Devin

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.