Jump to content

frame and scrolling


Guest Flint

Recommended Posts

Hi everybodyI've tried some code to force the scrolling attribute of one of my frames, depending on the screen resolution.the part of code is here :

var actFrame = top.frames(0).frames("container").frames(0).frames("act");if(StyleHandler.lowResolution()) {    actFrame.scrolling = "yes"; }else {    actFrame.scrolling = "no"; }

no matter of StyleHandler.lowResolution() works, it's internal and it works, but low resolution or not, I always have a scrolling bar on may "act" frame.Notice that this code is executed on event onreadystatechange when readyState is complete.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...