Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


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?

    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
    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


Copyright 1999 - 2012