|
Posted by booner on 08/09/05 22:20
Yes, that was a typo.
The user interface I was going for with the frames ... was a list of users
in a selection list (left frame). Then when a user is selected - put their
information in the right frame for updating.
In the selection list on the onchange event:
window.parent.frames["userFrame"].location = "editUser.asp?Id=" + id;
BBB
"Safalra" <usenet@safalra.com> wrote in message
news:1123611191.902474.124040@g44g2000cwa.googlegroups.com...
> booner wrote:
> > I have the following:
> >
> > <head>
> > <style>
> > [snip stylesheet]
> > </style>
> > </head>
> > <html>
>
> I presume this is a typo and you meant to put <html> before the <head>
> section?
>
> > <ul id="tablist">
> > <li><a href="users.asp" class="current">Users</a></li>
> > <li><a href="projects.asp">Projects</a></li>
> > </ul>
> > <div id="tabcontentcontainer">
> > <frameset cols="30%,*"
> > [snip frameset contents]
> > </frameset>
> > </div>
> > </html>
> >
> > I see the tabs ... but I do not see the frameset. If I remove the
tabs -
> > then I get the frameset. I'd like both :-)
>
> That's because the <ul> makes the browser infer <body>, and <frameset>
> cannot occur inside <body> - the frameset DTD specifies that <frameset>
> replaces body. A document with frames can only put other code within
> the <noframes> element. You need to put your tabs inside another frame
> (or better yet, use server-side includes so that you needn't use frames
> at all).
>
> --
> Safalra (Stephen Morley)
> http://www.safalra.com/hypertext/
>
Navigation:
[Reply to this message]
|