Results 1 to 2 of 2

Thread: scrollsection

  1. #1
    Join Date
    Jun 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default scrollsection

    hi guys

    newbie here, how do you do the scrollsection (or how do you call it? ) on the right side of this page http://www.pixelsurgeon.com

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    that's a frame... specifically an iframe.

    frames are awkward and must be a grid in your page.... like you could have two frames, one on top of the other, or one next to the other vertically, or you could have four sections, whatever, but they must exist across the entire frame, can't just be a little section like on your link.

    iframes are slightly less compatible (about as old as javascript, so usually nothing to worry about here), but are more versatile. They're like a table, but show a different page.

    <iframe src="youpage.htm" width="px" height="px">this text is displayed if the user doesn't have frames enabled, usually "You need to use a browser than has iframes.", or something like that.</iframe>

    That's it. There's more complexity to them, but that will get you started.



    Note: iframes are the easiest way to get a section of your page to scroll. However, there are ways to makes <div> blocks (and other parts of your page) scroll as well. There are some scripts here on dynamic drive, I believe... look for them, if you want a part of your page to scroll, rather than an outside page. (though you can always save that part of your page AS an outside page, and you're good to go.)
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

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
  •