A new iframe quirk

Started by robinrobin, January 09, 2010, 02:43:22 PM

Previous topic - Next topic

robinrobin

I'm using 2.0 within an iframe on a website that has a top-side menu with buttons that change what page to show inside the iframe, as well as a login-field for SMF via SSI on that same bar. Today i noticed that when the forum button first is clicked, thereby showing the forum in the iframe, and then logging in via the login-field at the top of the site, the page that loads is the actual forum itself, rather than the parent page with the forum in its iframe. Does anyone get any clues to what i've done in the code that made this happen? I've been away from coding for a few months and i don't remember what it was i edited last.

Arantor

Any activity within an iframe occurs in the scope of the iframe, so any redirections etc will end up there. The only alternative would be some fancy Javascript to trigger otherwise, unless I misinterpret what you're saying is going on.
Holder of controversial views, all of which my own.


Advertisement: