Best Practices
General > Best Practices > Windowing in content: Iframes, AJAX, etc? View modes: 
User avatar
Member
Member
kcraig@capstrat.com - 4/24/2007 4:03:38 PM
   
Windowing in content: Iframes, AJAX, etc?
What's the best way to display content from another web site in a frame on a Kentico page?

User avatar
Member
Member
alibooker - 12/3/2007 1:59:08 AM
   
RE:Windowing in content: Iframes, AJAX, etc?
Hi,

Did you ever get an answer to this question?

I also need to link to content from outside Kentico. We have a large legacy intranet written in classic ASP and utilising HTML frames, with many pages linking to others directly and some also outputting large pages that would benefit from being within a traditional frameset.

Are iframes the answer? Presumably, trying to create a top-level template based on HTML frames will break Kentico?

Any suggestions / help appreciated!

- Ali

User avatar
Member
Member
michael@110studios.com - 1/18/2008 2:00:53 AM
   
RE:Windowing in content: Iframes, AJAX, etc?
I am not sure if this is the "best" way, but it works for me:

I added the "javascript" web part, and then went to the "code" tab and added my iframe code (or JavaScript code).

Here's the live example: http://www.110studios.com/Process/DesignGallery.aspx

The data from Template Monster is pulled via this technique.

BTW, this seems to work with any web part that has the "code" tab, so you can use the other features of the web part for whatever else you may need.

This does not seem like the "best" method, but it does work.