How to lock webpages in frames?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vinutha
    New Member
    • Nov 2006
    • 19

    #1

    How to lock webpages in frames?

    I have designed one page using frameset, where i have included 3 page one for header(topFrame ), one for leftMenu(leftFr ame) 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.js f" scrolling="no" />

    <frameset cols="25%,*">
    <frame name="f2" src="menuTree.j sf" 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
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    See this thread.

    Comment

    Working...