PDA

View Full Version : HTML expert advice needed


Stu
07-12-2006, 09:39 PM
It appears that IE7 deals with target frames for links differently to IE6.

<frameset ROWS="80,*"frameborder="0" framespacing="0" border="0">
<frame name="head" scrolling="no" target="main" src="head.htm">
<FRAMESET cols="125,*" frameborder="0" framespacing="0" border="0">
<frame name="left" scrolling="no" target="main" src="left.htm">
<FRAME src="home.htm" name="main">

Links in frame head & left should open in the target frame main

This works in IE6, but not IE7.

My head now completely mashed :wtf:

Help.

BenG
08-12-2006, 09:27 AM
It appears that IE7 deals with target frames for links differently to IE6.

<frameset ROWS="80,*"frameborder="0" framespacing="0" border="0">
<frame name="head" scrolling="no" target="main" src="head.htm">
<FRAMESET cols="125,*" frameborder="0" framespacing="0" border="0">
<frame name="left" scrolling="no" target="main" src="left.htm">
<FRAME src="home.htm" name="main">

Links in frame head & left should open in the target frame main

This works in IE6, but not IE7.

My head now completely mashed :wtf:

Help.

Frames are now a defunct html tag, so its possible IE7 no longer support them, for ultimate control, you really need to use XHTMl and CSS

read more about frames here
http://www.htmlhelp.com/design/frames/whatswrong.html

Stu
08-12-2006, 11:03 AM
No help there.

jimmy
08-12-2006, 11:32 AM
I used frames on the first website I did in 1996, for a game company. It was a nightmare and I never used them since.
ok, not much help, but I would consider looking into other ways of doing things than using frames.
I'm 100% they are still and always will be supported, there is probably something changed which shows up a bug in your html maybe ? that or a bug in ie7.

I use firefox to layout my reviews and check them. but I always have to tweak it again for IE, because IE doesnt display things correctly

Stu
08-12-2006, 12:20 PM
I think it may be fixed.

It seems that in IE7 you cannon specify by page which frame links open in, so I've specified the target on each link.

Northy
08-12-2006, 12:51 PM
Not working for me in firefox v2

G

Northy
08-12-2006, 12:51 PM
Works in IE7

G