Probelm with Python CGI
Steve Holden
sholden at holdenweb.com
Tue Dec 17 23:13:12 EST 2002
More information about the Python-list mailing list
Tue Dec 17 23:13:12 EST 2002
- Previous message (by thread): Seeking Expressions of Support
- Next message (by thread): Probelm with Python CGI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Innovate" <lnader2000 at yahoo.com> wrote ... > I have a 2 frame setup (menu and main) done in plain HTML not in > python. On my "main" frame if I click on a link with a python cgi > script in the href. The script executes successfully and returns the > HTML page in the "main" frame. But now if I click on any links in the > "menu" frame with target="main" it will open in a new window instead > of going to the "main" frame. > > I have run a bunch of tests and this only happens if I click on a link > that points to my python script. It seems as if the browser loses the > frame information. > > Any idea what I could be doing wrong? > This is pretty much definitely not a Python problem. You've almost certainly not managed to call your frames what you think you have called them. Put a link, either to an HTML page or to a Python script, with the target="main" attribute in your (allegedly) main frame, and see whether that appears in a new window. If it does then your frame isn't really called main, and that's why links with no target attribute appear in the same page, but links with target="main" appear in a new window. Then read an HTML reference on frame naming ;-) By the way, next time some sample HTML code would help. Good job all regular c.l.py readers are psychic. regards ----------------------------------------------------------------------- Steve Holden http://www.holdenweb.com/ Python Web Programming http://pydish.holdenweb.com/pwp/ Bring your musical instrument to PyCon! http://www.python.org/pycon/ -----------------------------------------------------------------------
- Previous message (by thread): Seeking Expressions of Support
- Next message (by thread): Probelm with Python CGI
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list