Forum Moderators: open

Message Too Old, No Replies

HTML Frames

HTMLS Frames Problem

         

photocroatia

5:04 am on Apr 1, 2004 (gmt 0)

10+ Year Member



Hi All.

Your assistance is appreciated. Thank You.

I have created an old traditional web site using frames, top frame (Includes Title) , left frame (Includes buttons), right frame (includes content)

When you pick a button the contents in the main window changes (as expected) The code used is: target="main"

My problem is that occasionally it will open a new window rather then open in the main frame.

Please help is I don't know what the problem is.

Thank You

pjhendriks

5:35 am on Apr 1, 2004 (gmt 0)

10+ Year Member



picking the SAME button will have DIFFERENT results?

photocroatia

5:48 am on Apr 1, 2004 (gmt 0)

10+ Year Member



I have seen it actually open the same content in a new window, so the first time it opens it in the frame the subsiquent times it opens it in a new window.

Thank You

tedster

6:24 am on Apr 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you checked for a misspelling of "main" in target="main" on all of the links? If the link is given a target attribute that does not currently exist, then the browser will open a new window and assign it that name.

I assume that in your frameset document, that main frame does have the attribute name="main".

photocroatia

8:55 am on Apr 1, 2004 (gmt 0)

10+ Year Member



well it works ok 98% of the time, its the other 2% of the time that it opens a new window.

I have written my entire site using Frontpage, so its creating the code, but I have checked the code anyway and they are all ok.

Thank you

photocroatia

9:25 am on Apr 1, 2004 (gmt 0)

10+ Year Member



Ok, I now have more info, i appears its only a problem when I go into my photo gallery software which is written in PHP, when I go 2 level down and look at a photo then when I click on a menu a new window is opened, regardless of which menu, even if I pick the photo gallery again.

Is this a possible problem/conflict with PHP, does anybody know what the work around could be.

Thank you.