By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

How to lock webpages in frames

P: 19
when i run this code using tomcat, the page will display like a frames.....
but i can change the frame size when i drag the seperation between 2 page.
how to avoid that,
ie, how to lock the frames


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">

<frameset rows="23%,*" border="0" frameborder="0">
<frame name="f1" src="heading.jsp" scrolling="no" />
<frameset cols="25%,*">
<frame name="f2" src="menuTree.jsp" scrolling="no" />
<frame name="f3" src="body.jsp" scrolling="auto" />
</frameset>
</frameset>
</html>

Regards,
Vinutha
Nov 6 '06 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,892
Add this attribute to your frame tags:

Expand|Select|Wrap|Line Numbers
  1. <frame noresize="noresize" src="someframe.htm" />
Nov 6 '06 #2

P: 19
Add this attribute to your frame tags:

Expand|Select|Wrap|Line Numbers
  1. <frame noresize="noresize" src="someframe.htm" />

Thanks for your reply, its working fine now............
It helped me lot,
Thanks once again.

Regards,
Vinutha
Nov 6 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.