Forum Moderators: open

Message Too Old, No Replies

Programming Frameset cols attributes in NS6/7

About nested framesets and different browser behaviours

         

Jooles

1:11 pm on Nov 18, 2002 (gmt 0)

10+ Year Member



Hi all,

I have some code that works great in all version of IE and mostly in NS6+. The idea is to scroll a frame out of view while showing another frame. This is done easily, by adjusting the percentages in the cols attribute of the frameset.

You animate by changing the amounts you enter into the cols attribute, you dont animate by setting the values immediately to 100% and 0. Nice.

It works fine in NS6/7 when the target frameset is the top, it doesn't work when the target frameset is nested within another frameset. In this condition (nested), IE has no difficulties and renders extremely well.

NS6+ animation is very poor so I would not animate, however, the problem in NS6+ is so bad that changes to the cols attribute are not rendered at all when the target frame is nested.

Has anyone encountered this, can anyone confirm this? Can anyone tell me of a work-around?

Cheers

tedster

6:48 pm on Nov 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Jooles, and Welcome to WebmasterWorld [webmasterworld.com].

That's a pretty adventurous animation - can't say I've ever dabbled with dynamically changing frameset sizes. Are you using JavaScript?

Jooles

9:48 am on Nov 19, 2002 (gmt 0)

10+ Year Member



Hi, yes,

I am using Javascript in a class-framework - scrolling framesets about is quite easy and a simple way to string associated interface elements together. It works great in IE, with multiple frames moving at once, I need to work on how to smooth the rendering, and getting the thing to work in NS6+.

Cheers