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

How to lock webpages in frames?

P: 19
I have designed one page using frameset, where i have included 3 page one for header(topFrame), one for leftMenu(leftFrame) and one for body(ie, mainFrame).
when i run that page using tomcat, i got the resultant page which shows header page at top of the page, leftMenu at the left of the page & body at the center of the page.
But the pages are not locking, ie when i try to move the line which seperates between two webpages using mouse, its moving even though i have given some specific percentage for each page.
This is my code......
<!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.jsf" scrolling="no" />

<frameset cols="25%,*">
<frame name="f2" src="menuTree.jsf" scrolling="no" />

<frame name="f3" src="body.jsf" scrolling="auto" />
</frameset>
</frameset>
<body>
<f:view>
<h:form id="welcomeForm" rendered="true">

</h:form>
</f:view>

</body>
</html>


Please tell me the solution to lock the fames.
Regards,
Vinutha
Nov 6 '06 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,892
See this thread.
Nov 6 '06 #2

Post your reply

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