Results 1 to 6 of 6

Thread: Frames and Horizontal Scrolling

  1. #1

    Frames and Horizontal Scrolling

    Okay I know HTML, I just don`t know frames so hot.
    My question being:
    Is there a way to have one page with a frame and links on the bottom and every link opens a different frame in that same page. The only way I know how to do this is to make a seperate page for every link that looks the exact same, but that`s just bogus. Any ideas?
    Thanks.

    And, if possible I need it to be a horizontal scrolling frame.

    Example of what I exactly want:http://www.scottpommier.com/PP_menu.htm
    the way it opens a different frame with a click of the different links in the same page.

  2. #2
    That's your typical iFrame setup. There's about 8 million tutorials out there on it. Though I recommend you just use server side includes to build the navigation once and display it on as many pages as you want, so you don't have to keep making the same file. It's far more effective and less painful than frames.

  3. #3
    It's been years since I have used frames but I think that something like this would work.
    Set up 2 frames, one called NAVIGATION with the source of links.html. The other called CONTENT with the source of whatever page should be loaded first.
    Each link in the links.html page should target the frame called content and load whatever page it refers to.

    Not sure if that makes any sense, if not try googling "Frames Target HTML" or something like that.

  4. #4
    176
    posts
    Registered User
    You just have to make an iframe and when you make your links target that iframe
    HTML Code:
    <iframe name="content" src="foo.htm"><iframe>
    <a href="page1.htm" rel="nofollow" target="content">Page 1</a> - <a href="page2.htm" rel="nofollow" target="content">Page 2</a>
    PHP Code:
    <zip> echo this; </zip

  5. #5
    Ok thanks a lot boyos, it`s me I just changed my name.

  6. #6
    oh and about that, how do I make the frames just horizontal scroll?

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
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012