Click to See Complete Forum and Search --> : Form processing in a frame, change content of another frame


tobsan
09-25-2005, 12:35 PM
Hi!

I'm building a site where we are going to use either frames or <div>s. The problem is that we'll have a login on the page. Therefor, we have a link saying "log in" in the header section of the page. When you click it, the login form is supposed to appear in the lower part of the page. If we use frames, this goes smooth, but not if we use <div>s i guess. The the form processes itself, and if login was sucessful, then you will be redirected to the mainpage again (home.php or whatever). But the link saying "log in" is also supposed to change to "log out". IF we use frames, this won't work i think, but it would if we use <div>s. So we want to use <div>s, but we also want the linktext to change after a login and also after a logout. I appreaciate any help with this problem.

/Tobsan