In the templates (which we call views) you can put any HTML you like.
You can put the HTML of your example without any change.

Anyway, as a more general advice, you should use frames if the content
is a complete HTML page. If you are trying to embed the output of a
web2py action there are better ways that result in less communication.
I.e. embed the page via ajax and <table> or <div> instead of using
frames.

Massimo

On Nov 26, 2:48 am, Lydia Manikonda <lydia.maniko...@gmail.com> wrote:
> Something like breaking a particular page in to some frames.
>
> Like in html we normally mention like for example:
>
> <HTML>
> <HEAD>
> <TITLE>A simple frameset document</TITLE>
> </HEAD>
> <FRAMESET cols="20%, 80%">
>   <FRAMESET rows="100, 200">
>       <FRAME src="contents_of_frame1.html">
>       <FRAME src="contents_of_frame2.gif">
>   </FRAMESET>
>   <FRAME src="contents_of_frame3.html">
>   <NOFRAMES>
>       <P>This frameset document contains:
>       <UL>
>          <LI><A href="contents_of_frame1.html">Some neat contents</A>
>          <LI><IMG src="contents_of_frame2.gif" alt="A neat image">
>          <LI><A href="contents_of_frame3.html">Some other neat
> contents</A>
>       </UL>
>   </NOFRAMES>
> </FRAMESET>
> </HTML>
> that might create a frame layout something like this:
>
>  --------------------------------------------
> |              |                             |
> |              |                             |
> | Frame 1 |                             |
> |              |                             |
> |              |                             |
> |--------------|                             |
> |              |          Frame 3       |
> |              |                             |
> |              |                             |
> |              |                             |
> | Frame 2 |                             |
> |              |                             |
> |              |                             |
> |              |                             |
> |              |                             |
>  --------------------------------------------
>
> On Nov 24, 9:36 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > Something like this?
>
> > <iframe src="http://google.com";></iframe>
>
> > On Nov 24, 9:50 am, Lydia Manikonda <lydia.maniko...@gmail.com> wrote:
>
> > > I'm very new to web2py. I want to include the HTML frames in my .html
> > > file of web2py. Can anyone kindly let me know how to use frameset and
> > > frames.
>
> > > Thanks in advance.
>
>

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to