November 13, 2013 at 2:53 pm #187762
Hi guys, thank you for an amazing theme, love it!
I wonder if there is a way how to open button link in the lightbox? I am linking to separate html file, so basically another page which I’d like to open in lightbox rather then same/new window. I searched the forum and learned about ‘rel’ parameter, but I can’t apply rel in this case.
I have a feeling that the only way how to do it would be custom editing functions.php, but I have no idea about such a programing. So I wonder if you could give me a hand… I wouldn’t mind if all button links on my site will open in lightbox, it would work just fine in my case…
OndrejNovember 13, 2013 at 3:45 pm #187784
You can use the built in lightbox script to have an iframe open via lightbox. See: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/
DevinNovember 13, 2013 at 11:03 pm #188038
Hi, but the 3rd part site doesn’t explain much. You mean yes i can insert swf media into lightbox. That’s it?
Unluckily no “disable native lightbox” option. Un unlucky avia editor’s content does not turns into html. And badly that text can’t be pasted over fixed fullscreen slide. And btw, if i started – how to enable shortcodes support in comments or product description? Thanx.
Anyway – great theme. A brilliant one.November 14, 2013 at 4:14 am #188191
You can add something like this on a text block element, switch to HTML or Text editor:
<a href="http://www.kriesi.at/support/topic/ (Purchase code hidden if logged out) ?iframe=true&width=100%&height=100%" rel="prettyPhoto[iframes]" title="Kriesi Rocks">Click Here</a>
I used the url of this topic then added the “?iframe=true&width=100%&height=100%” parameter after. Please try it.
IsmaelNovember 14, 2013 at 11:34 am #188303November 14, 2013 at 1:10 pm #188328
Hi Devin, thanks for your reply. Could you, please, advise, how can I utilise REL parameter when setting up the link for a button in avia layout builder? I don’t think it is possible or I haven’t figured out how. Many thanks
Thanks Ismael for your reply. I tried your code but haven’t really achieved needed results. Please note that I’d like to utilise link for a button which I’ve added in avia layout builder. Please let me know if there is a workaround of this…
Thanks a lot
OndrejNovember 15, 2013 at 8:27 pm #189406
@andregorn – If you look at the prettyPhoto examples, you need this for flash content:
<a href="http://www.adobe.com/products/flashplayer/include/marquee/design.swf?width=792&height=294" rel="prettyPhoto[flash]" title="Flash 10 demo"><img src="images/thumbnails/flash-logo.jpg" alt="Flash 10 demo" width="60" /></a>
@ondrej – For a button, you would need to get the html code for it and then add it into a text box. You would not be able to do it from the template builder element as far as I know.
The script is just included into the theme but not all of the full capabilities are added in as elements from within the advanced editor at the moment so working with the raw code is your only real option.
You must be logged in to reply to this topic.