473,799 Members | 3,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTML Frame Lock?

Hi,
I know the noresize attribute will keep the user from resizing a
frame, but is there a way to keep a frame from being resized by the
browser (in response to things like different layouts/sizes on the
page)?

Basically I want my frame sizes to remain fixed no matter what
happens.
Thanks!
Ahmed
Jul 20 '05 #1
7 16141
On Fri, Aug 8, xm****@yahoo.co m inscribed on the eternal scroll:
Basically I want my frame sizes to remain fixed no matter what
happens.


Perhaps we should send you to the stores for a long stand.

Jul 20 '05 #2
> xm****@yahoo.co m wrote:
Basically I want my frame sizes to remain fixed no matter what
happens.


Try publishing on paper. Problem solved.

--
Barbara

http://home.wanadoo.nl/b.de.zoete/index.html
Jul 20 '05 #3
xm****@yahoo.co m wrote in news:4a0da86b.0 308081246.1cba1 859
@posting.google .com:
Hi,

I know the noresize attribute will keep the user from resizing a
frame, but is there a way to keep a frame from being resized by the
browser (in response to things like different layouts/sizes on the
page)?

Basically I want my frame sizes to remain fixed no matter what
happens.


That is a stupid idea. Do you really need frames?

Do your visitors also want your frame sizes to remain fixed?

What are you using them for?

If you are using frames for page layout purposes and you want the frame
non-resizable in order to keep your design intact, then you are using
frames for the wrong reason. The best solution would be to stop using
them. Don't have your page's layout so rigid. Remember, the World Wide
Web is the land of flexibility.

There are not many situations where frames benefit the user. The only
ones that I can think of off the top of my head are Google Groups (an
exceptionally good use of frames there), other uses of them in caching or
searching for images, and in web mail applications. (However, frames are
not necessarily beneficial in web mail; the best web mail user interface
I have seen is fastmail.fm's, which does not use frames.)

You can also use frames in a manner that benefits the user, if you also
do the following steps:

(1) Use it for a reason other than a menu on the left hand side of your
site.

(2) Allow the user to move their frame borders around.

(3) Allow the user to go without frames, to remove the frame and still
have the web site be fully functional.

(4) Provide <noframes> content for users who have their browsers set not
to use frames. They do exist, in larger numbers than you would expect.
(Think about users with mobile devices).

(5) Make sure that the user does not need to "jump through any hoops to
use your web site.

Many people think of the World Wide Web as a collection of web sites,
which have pages with links that point within the site and to other
sites. I think, however, that it is a good idea to look at the Web as
not a collection of web sites, but rather, a collection of individual web
pages. With most web sites, most people who visit will be looking for
information that is found on one specific page, or an article split up
into multiple files, rather than an entire site. Using frames
discourages this model of the World Wide Web, and it does not make
users' lives any easier.
Jul 20 '05 #4
> > Basically I want my frame sizes to remain fixed no matter what
happens.


Doesn't using a fixed size in
<frameset rows/cols
not work for you??

No it doesn't. The frame comes up in the proper size, but sometimes
it gets resized by the browser.
Jul 20 '05 #5
> > Basically I want my frame sizes to remain fixed no matter what
happens.
That is a stupid idea. Do you really need frames?

Do your visitors also want your frame sizes to remain fixed?


This is what my employer wants, so it is my job to implement it
whether or not it is a good idea. I wouldn't mind abandoning frames;
I don't like frames. While they allow us to save on redundant coding
(we are using them for a menu), there are other ways to do this (I'm
thinking php).

We expect most of our visitors to be clients who are looking for
support, and as such we feel that they won't be picky about the layout
of the web site, as long as it is intuitive.
What are you using them for?
A left hand menu.
You can also use frames in a manner that benefits the user, if you also
do the following steps:

(1) Use it for a reason other than a menu on the left hand side of your
site.
At this point I am considering alternatives to this. We have
collapsible menus, so there are a few options, but none of them are
terribly appealing. Java and JavaScript aren't viable alternatives
since people can up their security and effectively kill our means of
navigation, yet some level of dynamism would be nice. Again, I'm
strongly leaning towards php, but unless this gets approved I will
still need to find a way to lock the frames.
(3) Allow the user to go without frames, to remove the frame and still
have the web site be fully functional.

(4) Provide <noframes> content for users who have their browsers set not
to use frames. They do exist, in larger numbers than you would expect.
(Think about users with mobile devices).
This isn't a concern at all since we believe all our users will be on
frames capable browsers. We don't know of any users who are on mobile
devices. This is such a non-consideration that we have never had a
<noframes> content, nor do we intend to implement one as far as I
know.
(5) Make sure that the user does not need to "jump through any hoops to
use your web site.
Knowing our platforms, we don't see this as an issue. We also see the
people who visit our web site as needing our services, so even if they
have to jump hoops, they will do so.
Many people think of the World Wide Web as a collection of web sites,
which have pages with links that point within the site and to other
sites. I think, however, that it is a good idea to look at the Web as
not a collection of web sites, but rather, a collection of individual web
pages. With most web sites, most people who visit will be looking for
information that is found on one specific page, or an article split up
into multiple files, rather than an entire site. Using frames
discourages this model of the World Wide Web, and it does not make
users' lives any easier.


Could you elaborate on this please?

Also, am I to take it that there is no way to lock the frame size?
Until such a time as I can convince management to approve a different
design for the site, I will have to try to lock the frames.
Thanks.
Jul 20 '05 #6
xm****@yahoo.co m writes:
That is a stupid idea. Do you really need frames?

Do your visitors also want your frame sizes to remain fixed?
This is what my employer wants, so it is my job to implement it
whether or not it is a good idea. I wouldn't mind abandoning frames;
I don't like frames. While they allow us to save on redundant coding
(we are using them for a menu), there are other ways to do this (I'm
thinking php).


What about a preprocessor?
http://www.allmyfaqs.com/faq.pl?Incl...ile_in_another
lists four preprocessors, which might be enough for your needs if
there's a problem with security or server load from PHP.
We expect most of our visitors to be clients who are looking for
support, and as such we feel that they won't be picky about the layout
of the web site, as long as it is intuitive.
Indeed. Having a frame too small for their needs would be
unintuitive, though?

It seems safe to assume that visitors wanting to resize the frames
will have good reason to do so, and other visitors won't. If you
don't think people will be picky about the layout, why be so concerned
about getting it to a particular exact setup?
(4) Provide <noframes> content for users who have their browsers set not
to use frames. They do exist, in larger numbers than you would expect.
(Think about users with mobile devices).


This isn't a concern at all since we believe all our users will be on
frames capable browsers. We don't know of any users who are on mobile


Search engines aren't frames-capable. Your users may need to find the
site first.
devices. This is such a non-consideration that we have never had a
<noframes> content, nor do we intend to implement one as far as I
know.
You may believe all your users to be on frames-capable browsers - the
danger is that this will become self-fulfilling. You may also be in
breach of local anti-discrimination legislation by not providing
adequate alternatives to framed content.
(5) Make sure that the user does not need to "jump through any hoops to
use your web site.


Knowing our platforms, we don't see this as an issue. We also see the
people who visit our web site as needing our services, so even if they
have to jump hoops, they will do so.


Yes, but having been made to jump through hoops, will they recommend
you to others, or will they say "reasonable company, but their
website's a nightmare to use - try XXX instead".
Also, am I to take it that there is no way to lock the frame size?
Until such a time as I can convince management to approve a different
design for the site, I will have to try to lock the frames.


There is no reliable way to lock frame size. Any decent browser will
have an option to overrule any locking you do.

--
Chris
Jul 20 '05 #7
> What about a preprocessor?
http://www.allmyfaqs.com/faq.pl?Incl...ile_in_another
lists four preprocessors, which might be enough for your needs if
there's a problem with security or server load from PHP.
That's what I was going to use PHP for. Even now we have some
standardized content that is preprocessed using PHP (on a workstation)
before being uploaded. This doesn't require server support nor does
it take any processing time. It has worked very well in the past and
so it is definitely near the top for the future. It also has the
added benefit of being easy for casual users to use; we have people
with no html coding experience (nor are they saavy computer users) who
generate web content this way and upload it on a regular basis.
We expect most of our visitors to be clients who are looking for
support, and as such we feel that they won't be picky about the layout
of the web site, as long as it is intuitive.


Indeed. Having a frame too small for their needs would be
unintuitive, though?


Sort of. I think part of the text would be clipped, but the general
idea would still be intact.
It seems safe to assume that visitors wanting to resize the frames
will have good reason to do so, and other visitors won't. If you
don't think people will be picky about the layout, why be so concerned
about getting it to a particular exact setup?


I think management doesn't like the way resizing looks. When the
frames change visibly in front of their eyes when they click on a
link, it looks unprofessional to them.

This isn't a concern at all since we believe all our users will be on
frames capable browsers. We don't know of any users who are on mobile


Search engines aren't frames-capable. Your users may need to find the
site first.


Actually, the model we are operating on is one in which the users will
know our web site. While they can find us via search engines, the
VAST majority (if not all) will know us or get our site directly via
technical support.
devices. This is such a non-consideration that we have never had a
<noframes> content, nor do we intend to implement one as far as I
know.


You may believe all your users to be on frames-capable browsers - the
danger is that this will become self-fulfilling. You may also be in
breach of local anti-discrimination legislation by not providing
adequate alternatives to framed content.


This may be true, but since this is the operating principle for us,
these are the parameters that I am going to work within. Given the
nature of our business and the role of our web site, I feel confident
in saying that our mobile client base is negligible at best.
Knowing our platforms, we don't see this as an issue. We also see the
people who visit our web site as needing our services, so even if they
have to jump hoops, they will do so.


Yes, but having been made to jump through hoops, will they recommend
you to others, or will they say "reasonable company, but their
website's a nightmare to use - try XXX instead".


That's the thing, the web site exists as a support tool -- it does not
exist for its own sake. The users will be our clients and given the
nature of this business, they won't go elsewhere if they don't like
our web site. Furthermore, a very large number would go to our web
site for tech support purposes, which means that a technical support
person will be online guiding them through the process.
Also, am I to take it that there is no way to lock the frame size?
Until such a time as I can convince management to approve a different
design for the site, I will have to try to lock the frames.


There is no reliable way to lock frame size. Any decent browser will
have an option to overrule any locking you do.

Thanks -- that answers my question.

Thanks.
Jul 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2519
by: Frank | last post by:
Hi, how do I switch of frames? I have 2 frames on a page. When I click a specific reference I want that page to load in the same browserwindow without frames. How? What happens now is that the page is loaded in one of the frames. Thanx Frank
1
3235
by: Justin | last post by:
Hi, I have a simple frameset defined: ---------------- index.html ---------------- <FRAMESET COLS = "225,*"> <FRAME NAME = "a" SRC = "one.html"> <FRAME NAME = "b" SRC = "one.html"> </FRAMESET>
1
2428
by: cirillo_curiosone | last post by:
Hi, i'm new to javascript. I started studing it on the web few weeks ago, but still haven't been able to solve one big problem: HOT TO PASS VALUES FROM A SCRIPT VARIABLE TO A CHILD HTML GENERATED BY FUNCTION. Here'e the point: I'm writing a simple website for showing my photographs. It has a central page with many links (as many as galleries are).
2
1410
by: Nancy | last post by:
Hi Guys, I am trying to achieve "click one button and fresh two pages in one browser windows", but the following code does not work. Who has good idea? Thanks a lot. Nancy <HTML> <head></head> <FRAMESET rows="67,*" BORDER=0 FRAMEBORDER=0 FRAMESPACING=0>
0
1902
by: Tapak | last post by:
Hi, I am having a problem with the session inside the html frame. I created a html frame and host it on (IIS 5.0) a different server where I host all my aspx file (IIS 6.0). Every time, I view the html frame, the session of an aspx file inside the frame will be lost and the page will generate an error. However, this error will not happen when I open the page outside the html frame. In addition, if the html frame file is hosted on the...
5
3511
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything works fine as it also does in firefox if I call the contents frame directly (i.e. outside of its frameset). However, if I call my main page (index.html) which invokes the frame set, the contents frame javascript menubar onmouseover function...
3
2162
by: 2hawks | last post by:
This is simpler than I am making it... all I want to do is build a url for an html frame source from a string constant and a variable. I want to Response.Write "<Frame source=""bla.bla.asp?query=& aspVariable"" ... etc>" I can get it to open the bla.bla.com in the frame but the number and sequence of quotes seem to be messing up the tail end of it
2
2258
mrmiffo
by: mrmiffo | last post by:
Hi, I want to animate the change of a frames' size. Something like; for (i=0, i<250, i++) { var aValue = i + "px,*" parent.document.getElementById(whichFrameSet).cols = aValue; } What I do not understand is why the frame is not updated each and every time the size is set... not until i = 250 it will display the result. Is it because the frameset is not updated visually when in loop? Or is it just counting to 250 too fast so I need to...
0
909
by: Josh | last post by:
I have a really odd problem. I have an HTML page that contains two frames. One of the frames contains a little HTML Form that I am posting to a remote server ( method = post ) when I click the submit button. Everything works fine in Firefox. The remote server reads the values from the form nicely. Try the exact same pages in IE and the remote server does not receive the form, it just sees null.
0
9688
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10243
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9078
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5467
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5590
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.