First of all, great theme! I really love the wide range of possibilities.
I would like to know if it’s possible (and if so, how) to have a .html of .htm-file or a webpage page open in a frame or iframe. I know there’s a couple of WordPress plugins like Fancybox for WordPress or Advanced Fancybox that normally does the trick, but they don’t seem to work well within this theme.
Hope there’s a way to do this.
you can use prettyphoto to display your html page. Use this sample code:
<a href="http://www.google.com?iframe=true&width=400px&height=400px" rel="prettyPhoto[iframes]" title="My page">My html template</a>
Instead of google.com use the path to your html file. Then change width + height as you like and change the title.
Hi, that indeed does the trick.
Although one more question: is there a way to remove the buttons (back, forward and play etc.) at the bottom of the box? Because I don’t want to open the html files as a gallery.
Add following code to custom.css – it’s located in the folder “css”.
Thanks for your reply, but it doesn’t seem to work. Anything else I can try?
can you post a link to your website. The code I provided above worked for me so we need to investigate your css first hand.
Sure. It’s a Dutch website, and still under construction, but if you go here:
and click on any of the globes below, you’ll get the pop-up and the slideshow controls are still there.
Yes, I gave you wrong instructions first (thought you refer to the slideshow on the top). To remove the lightbox controls add following to custom.css:
display: none !important;
The topic ‘Fancybox/ / lightbox pop-up for .html-file’ is closed to new replies.