Multiple widgets on single page in MOSS SP07

I’m trying to show multiple galleries on a single page in multiple iFrames but I think I need to delay the loading of each widget since right now, all the iFrames show duplicate content. I’m using SharePoint 2007 and each iFrame is coded into a separate content editor web part.

Edit: I have implemented the Easy Tabs script in order to provide a tabbed page for users to see multiple Razuna folders at once. This doesn’t change the reality however, that each tab still shows identical content even though each contains a separate Razuna widget URL.

I haven’t tried that, but this seems to be an issue with div id’s. You
could wrap each iframe code in another div and give each one a unique id.

In a content editor web part, DIV IDs don’t seem to matter. I don’t know if there is a way to lazy load these widgets since, when there are multiple widgets on a single page, all the iFrames get loaded with the same Razuna folder data.

I don’t see this with other iFrame widgets from other services (such as Vimeo). Seems to be related to the way the Razuna hosted server interacts with the web browser.

Can you post some code?

Hi,

The only code I’m using is the Razuna iframe widget code pasted into a standard content editor web part in SP07. I’m not actually doing any coding myself so there is really nothing to show beyond the iFrame code.

I should note that this works fine if I only have one web part with one Razuna widget. As soon as I add a second, then the widgets are copies of each other. If I refresh the widget then it will display correctly (no duplication of the other widget content).

Dan

I suggest that you wrap each iframe into its own div tag. Something like:

<div>
   <iframe.......>
</div>

This should take care of it.

Hi Nital,

I wish that adding the div tag was the solution but it doesn’t seem to change anything. Each widget adds identical content, one after another regardless of the iFrame widget code. If I refresh the page then it is not uncommon for each widget to have a set of thumbnails from a different Razuna widget. Sometimes the first 4 widgets will have identical content and the second 4 will have a different set of content.

I’m no expert on how iFrame content loads but it seems to be that, if there are multiple widgets on the same page, then the browser seems to just want to grab one iFrame source HTML and drop it into every widget iFrame.

What I think I need to do is add some way of delaying the loading of each Razuna widget so that the browser doesn’t just populate all the widgets with the same iFrame. Will need to research.