Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3725

    Hi,

    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.

    Thanks!

    #43467

    Hey,

    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.

    #43468

    Hi, that indeed does the trick.

    Thanks!

    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.

    #43469

    Add following code to custom.css – it’s located in the folder “css”.

    .autoslidecontrolls{
    display:none;
    }

    #43470

    Thanks for your reply, but it doesn’t seem to work. Anything else I can try?

    Regards.

    #43471

    Hey,

    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.

    #43472

    Sure. It’s a Dutch website, and still under construction, but if you go here:

    http://test1.adviesburopompoen.com/vacatureplaatsing

    and click on any of the globes below, you’ll get the pop-up and the slideshow controls are still there.

    Thanks.

    #43473

    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:

    .pp_nav{
    display: none !important;
    }

    #43474

    This one works indeed. Thanks!

    #43475

    Glad that I could help you :)

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Fancybox/ / lightbox pop-up for .html-file’ is closed to new replies.