re: cross-domain includes
From: Jim Buyens (news_at_interlacken.com)
Date: 03/26/04
- Next message: Jim Buyens: "re: Display Images in Results asp"
- Previous message: Jon Spivey: "Re: cross-domain includes"
- In reply to: Steve: "cross-domain includes"
- Next in thread: Steve: "Re: cross-domain includes"
- Reply: Steve: "Re: cross-domain includes"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Mar 2004 13:30:24 -0800
>-----Original Message-----
>Hi all:
Howdy.
>Dumb question time.
OK, got my dunce hat on.
>We have a frames page that we would like to take out of
>frames. The page is divided into three sections: a
>header, middle (content), and a footer.
>
>The content frame is actually being called from another
>web site using syntax similar to this:
><frame name="bottom"
>src="http://prefix.somedomain.com/Search/Search.aspx?
>ABCD_Id=xxxxx&nav=no" marginheight="0" scrolling="auto">
>
>This, of course, works well when in a frames page.
>However, I can't come up with syntax that will let me
>bring this in to a non-frames page.
>
>Any ideas?
>Steve G
This sort of thing is very tricky. Basically, you have to
write something like an ASP or ASP.NET page that retrieves
the page from the other domain, then inserts your header
and footer, then sends the result to the visitor.
Of course, you'll also have to modify the HTML for any
hyperlinks, image, style sheets, and other components that
use relative URLs. Unless you convert these relative URLs
to absolute (pointing inside the other domain), they'll
point to your domain and something won't work.
Are you sure you can't live with framesets?
How about an inline frame?
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
- Next message: Jim Buyens: "re: Display Images in Results asp"
- Previous message: Jon Spivey: "Re: cross-domain includes"
- In reply to: Steve: "cross-domain includes"
- Next in thread: Steve: "Re: cross-domain includes"
- Reply: Steve: "Re: cross-domain includes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|