jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes turning NORESIZE on and off in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "turning NORESIZE on and off in Firefox" Watch "turning NORESIZE on and off in Firefox" New topic
Author

turning NORESIZE on and off in Firefox

J P Nelson
Greenhorn

Joined: Dec 16, 2004
Posts: 12
Hi all,

I have an application using frames than in most cases I have NORESIZE turned on (to lock the sizes). In one area of the application, I have to turn this off to let the user resize two of the subframes.

My frame sets are defined as:



I'm turning resize on with:



This is working just fine in IE, but not in Firefox.

Can anyone enlighten me as to the error of my ways?

[ May 31, 2007: Message edited by: J P Nelson ]
[ May 31, 2007: Message edited by: J P Nelson ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I never use getElementsByName

ids are so much nicer since they are singular with no array

you should use

myFrameObj.noResize = false;

Eric
J P Nelson
Greenhorn

Joined: Dec 16, 2004
Posts: 12
Eric,

I've tried the getElementById call as well with the same results. It works fine in IE but not in Firefox.

I will try the direct assignment instead of setAttribute and see what that does.

TIA,

Joe

FOLLOW-UP

I've tried the following variations with the same result:



and


[ May 31, 2007: Message edited by: J P Nelson ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: turning NORESIZE on and off in Firefox