Core Modules & Blocks  :: 
I want to create a series of pages with 2 iframes
 Top

  • In one frame I'll have narrative text, in the other I'm hoping to have various forms of interactive material related to the narrative. I know for one that I would like to have the standard PostNuke polls, for example. So I would have a page of text on the left and a poll about the text on the right.

    So my question is how do I isolate the polls functionality to a single HTML page. Does that make sense? I want to have it function in my iframe, by itself so to speak, ie.. not in a block on the main page. So if the user clicks a poll response in the iframe and submits, the results come up in the iframe with nothing else. Understand?
  • You should look up some javascript.
    the "target" of the first iframe will be directed toward the second.
    You'll make 3 pages below I'm showing one, you'll need whatever.htm and another.htm(example)
    One is
    HTML
    body
    i frame src=whatever.htm name=2 width=500 height =400
    hr
    i frame src=another.htm name=3 width=500 height=400
    /body
    /html
    after a link add a target=3 or 2(iframe name)
    like a href=http://somesite.com target=3 click here /a

    for forms(polls) you'll want to alter the POST and/or ACTION usually in the first line of the form.
  • If you are going to do it with Xanthia, maybe ask in the Xanthia & pnRender forum, Im pretty sure you could do that with templates and a bit of Smarty code. That way you might be able to do away with the iframes.
This list is based on the users active over the last 60 minutes.