Access Keys:
Skip to content (Access Key - 0)

iframe macro

{iframe} Macro

Examples

Hints and Tips

To Follow

Frequently Asked Questions

To Follow

Toggle Sidebar

Browse

Pinned Pages

Popular Pages

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jul 18, 2009

    David Chapman says:

    Is there any way to set the allowTransparency attribute? http://msdn.microsoft....

    Is there any way to set the allowTransparency attribute?

    http://msdn.microsoft.com/en-us/library/ms533072(VS.85).aspx

    I know this is non standard but I can't use this macro because in IE, it needs this set for it to work properly.

    1. Jul 19, 2009

      Alain Moran says:

      We have no plans to add non-standard properties to any of the HTML macros contai...

      We have no plans to add non-standard properties to any of the HTML macros contained by the content formatting plugin - you should create a user-macro instead.

  2. Aug 05, 2009

    Theo Schachter says:

    I have a concept design I'm finding difficult to realize. In my wiki page, I've...

    I have a concept design I'm finding difficult to realize.

    In my wiki page, I've assigned a number of small jpgs as links to other children pages. I want the Navigation icons I've created to always be on the screen, but inorder to do that, I've had to copy and past the markup code onto every child page. Plus, there are a lot of attachments. The whole thing is quite combersome. The icons represent the majority of the coding, so what I hope to do is embed several iframes into the "mother" page, and use the icons to trigger text content appearing in the iframes.

    How can I use these icons to trigger the content in the iframes?

    1. Aug 05, 2009

      Alain Moran says:

      Wow, now that's what I call doing things the hard way! The answer to your quest...

      Wow, now that's what I call doing things the hard way!

      The answer to your question is to use the target parameter in the anchors and point them at the frames you are using ... however what you are describing sounds very much like it would be much easier to achieve using a theme plugin.

      Have you thought about using the Theme Builder Plugin, it's free and it's a chuff of a lot easier to maintain than the situation you have described above!

      1. Aug 27, 2009

        Theo Schachter says:

        Ok, here's another tough one. RE: iframe, I want to attach an html or pdf file ...

        Ok, here's another tough one.

        RE: iframe, I want to attach an html or pdf file to my wiki site containing a series of illustrative charts. I want to use the iframe macro to display the attachment. So far no problem, but, then I want to place anchor macros in the wiki page that call targets in the iframe so that the iframe scrolls to the desired image in the attached html or pdf. Is there a way to do this? Also, I've noticed that html files require supporting files to display graphics, which is a problem I have not yet been able to work around. Is pdf then better for my purposes, and if so, can the iframe display the pdf. if not, what is the solution to the html graphic display issue?

        To complicate matters further, my wiki is a corparate site, so I'm limited to the themes set by the administrator and cannot use the Theme Builder Plugin.

        What what I'm suggesting simply is not possible, then do ou have any suggestions for a work around to create a similiar effect?

        Looking forwrd to your reply.

  3. Jan 05

    Guillermo Chutrau says:

    I am using iframe with URL's that point to PDF's in SharePoint. Works excellent....

    I am using iframe with URL's that point to PDF's in SharePoint. Works excellent.

    I try to do the same thing with URL's that point to PDF's that are attachments in Confluence, copying the URL's I get from the attachments page. But instead of appearing in the iframe, I get a prompt to open, save, or cancel. If I select open, the file opens in a new window, rather than in the iframe.

    Why? How can I fix that?

    Thank you

    1. Jan 05

      Alain Moran says:

      Confluence is probably adding http headers telling the browser that the file sho...

      Confluence is probably adding http headers telling the browser that the file should be downloaded rather than displayed - IMO this is the correct course of action since opening pdf files in the browser causes it to grind to a halt while the pdf engine renders the content.

      Given that you actively want to open the pdf in the browser, I would be looking at using an object tag rather than an iframe.

      <object data="data/test.pdf" type="application/pdf" width="300" height="200">
        alt : <a href="data/test.pdf">test.pdf</a>
      </object>
      

      Shamelessly ripped from the first link on google: http://joliclic.free.fr/html/object-tag/en/

      1. Jan 06

        Guillermo Chutrau says:

        Thank you so much. That piece of code works very well in Confluence! Do you kno...

        Thank you so much. That piece of code works very well in Confluence!

        Do you know if I can use it to display excel, word , and powerpoint files too? How should I modify it , other than changing the filename and path?

        Cheers, Guillermo

        1. Jan 06

          Alain Moran says:

          You would be better off using the excel macro, which appears to have changed in ...

          You would be better off using the excel macro, which appears to have changed in the latest release to become viewfile which even has a viewpdf mode

          http://confluence.atlassian.com/display/DOC/View+File+Macro

  4. Jan 07

    Theo Schachter says:

    Hi, I'm using the iframe to display some flash content. Works beautifully, but ...

    Hi,

    I'm using the iframe to display some flash content. Works beautifully, but I cant loose the vertical scroll bar. I've used the following code:

    Should be "scrolling=no" right?

    You cant actually scroll with the bar, but it's still there. What am I doing wrong?

    Would you have any ideas.

  5. Jan 12

    Theo Schachter says:

    Regarding the above: please... what am I doing wrong? The scrolling issue. It's ...

    Regarding the above: please... what am I doing wrong? The scrolling issue. It's driving me crazy. Part of the issue might be that I'm usiung the iframe to call up an html file that calls a flash object. Would that contribute to the problem?

  6. Feb 19

    kicha says:

    Currently I have three confluence spaces to hold project information and three j...

    Currently I have three confluence spaces to hold project information and three jira projects which holds the issues related to these projects. I created a left navigation theme with menus and applied the theme to three spaces.

    I have created a page in each of the three spaces with the page content as

    {iframe:src=http://localhost:8090/secure/VersionBoard.jspa?selectedProjectId=10000}
    {iframe:src=http://localhost:8090/secure/VersionBoard.jspa?selectedProjectId=10010}
    {iframe:src=http://localhost:8090/secure/VersionBoard.jspa?selectedProjectId=10020}

    so when I click on the menu of space 1 it takes me to a page which holds the project info for Project 1.
    similarly for second and third space. In the above link only the projectid changes but the rest of the url remains same and also I have to create 1 page in each space to display the result. So If the number of projects increases, the number of pages too gets increased. Instead, I want to have only one page with iframe content as

    {iframe:src=http://localhost:8090/secure/VersionBoard.jspa?selectedProjectId=        }

    and pass the project key as per the confluence space from which the menu was clicked.

    Is there any way to map confluence spaces to jira projects or can variables be declared in Confluence to hold jira projects as values.

    Any suggestions?

Adaptavist Theme Builder Powered by Atlassian Confluence