Vibe in a frame

warlockvix

30-10-2006 21:54:30

This was slightly eluded to in the support forum but I think it might be more appropriate here. I would like to use vibe within a frame and I am having difficulties doing so. As it stands, the Vibe page is being called by the following code

<div class="contentpane">
<div class="componentheading">vibe</div>
<iframe
id="blockrandom"
name="iframe"
src="http//my.domain.comXXXX"
width="100%"
height="500"
scrolling="auto"
align="top"
frameborder="0"
class="wrapper">
This option will not work correctly. Unfortunately, your browser does not support Inline Frames </iframe></div>

I know Vibe uses panes itself and it errors if loaded and not modified with this
--------------------------------------------------------------------
Line222
Char3
Error 'top.frames.2.document; is null or not an object
Code0
Url http//my.domain.comXXXX/left.html
--------------------------------------------------------------------

If I drop the [2] from the line
var objContentDiv = top.frames[2].document.getElementById('contentDiv');

the folders appear. Yeah! Figured I was on my way to figuring this out. Wrong..or at least I don't know enough to be right. I alter the right.html and one of the .vibe files (forgive me, I am away from the server and pulling this from memory) to match my change on left.html. The folders still appear but no files.

It was mentioned in the support forum to "go through the skin code and modify it to use "parent.... " etc, instead of "top.frames.2" to locate the frames it uses". I tried changing top.frames to parent and then to blockrandom because I think that is the name of the frame it resides in.

Any help would be appreciated. I woudl love to incorporate Vibe within my webpage and this seems to be my only stumbling block.

Thank you