www.webdeveloper.com
Results 1 to 2 of 2

Thread: Scroll problem

  1. #1
    Join Date
    Sep 2007
    Posts
    1

    Scroll problem

    Hello
    This is my page:
    http://www.hultsfredsfilmen.se/test/test4.html

    There are three frames with content as you can see. When you click on the menu items the content in the biggest frame will change. Sometimes the content in the biggest frame will be very long and one have to scroll down inside the biggest frame to see everyting. This is no problem for me (I have 1240x1024), but for people with lesser height (specially widescreen) the are that the biggest frame gets on the screen isnt that big. It gets very anoying when the area that you are reading in and scrolling in only takes up 50% of your screen.
    Is it possible to put my three frames inside another frame and let that big frame be the one with a scroll bar? That way the header would dissapear when one scrolled down. This is my code:
    <frameset cols="1018,*" frameborder="NO" border="0" framespacing="0">',
    <frameset rows="231,*" framespacing="0" frameborder="no" border="0">',
    <frame src="header.htm" name="header" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="header">',

    <frameset cols="198,*" framespacing="0" frameborder="no" border="0">',
    <frameset rows="163,*" framespacing="0" frameborder="no" border="0">',
    <frame src="menu.html" name="menu" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="navigation">',
    <frame src="poll.html" name="menu" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="navigation">',
    </frameset>
    <frame src="content.htm" name="hultcontent" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="hultcontent" >',


    </frameset>,
    </frameset>',
    <frame src="extendframe.html" name="extendframe" frameborder="no" scrolling="no" noresize marginwidth="0" marginheight="0" id="extendframe">',
    </frameset>'

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    You only need 1 iframe to accomplish this layout; frames are unnecessary.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles