SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: iframe problems

  1. #1
    SitePoint Enthusiast boicu.org's Avatar
    Join Date
    Aug 2009
    Location
    Romania
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question iframe problems

    Hi I want to make a new site but I ecountered some missunderstanding with iframes
    the site will be html and on the top will be the menu and content in the center
    My question is :
    - I want to make 2 frames in all my site
    1st frame will wrap a page where will be the menu.htm
    and 2nd frame the content

    my problem is : when the index.htm is loaded and then I scroll down I want that the frame from the top to scroll up also with the content .. so there will be only 1 scroll for both frames .. is that possible?
    I really apreciate your help .. thanks

  2. #2
    SitePoint Zealot jimmy85's Avatar
    Join Date
    Aug 2009
    Posts
    174
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It should scroll up together with the other content, unless it's just regular HTML frames.

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Why would you want to scroll both frames together? If you just want to seperate the navigation so it's easier to update, use server-side includes, frames are bad for accessibility and in your case, you do not need them, especially as you want both elements placed within the same document flow.

  4. #4
    SitePoint Enthusiast boicu.org's Avatar
    Join Date
    Aug 2009
    Location
    Romania
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the ideea is to make a separate menu so when I want to modify it will be much easier to modify only one page menu.html then all 1000 pages that is my point
    and yes it will be a html page

    thanks for your help


Bookmarks

Posting Permissions

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