Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2004
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframe scrollbars

    Can anyone help me get rid of iframe scrollbars on specific pages on my website

    The basic structure is this: I have my main page with links at the top and an iframe below. Those links when clicked on trigger a corresponding "html content page" to the iframe window below. So when you arrive on my site you are initially viewing "Our Band" page but the iframe seems invisible to the viewer. Now, here's the issue I want resolved..

    If you were to click on the "Biographies" link, 2 scrollbars now appear on the iframe; 1 vertical and 1 horizontal. That's what I don't want - scrollbars!! If you were to click on the "Photos" link, however, those scrollbars would be okay since I need people to see my pictures.

    I have tried the following 3 options on the iframe code.

    1) scrolling="auto" >> this is what its currently set to
    2) scrolling="yes" >> if I set it to yes, the scrollbars appear everywhere
    3) scrolling="no" >> if I set it to no, no scrollbars would appear, but then viewers can't see my other pictures below on the "Photos" link


    <iframe src="iframe.html" frameborder="0" scrolling="auto" name="theEye" width="800" height="600" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0">


    Here are the pages I want scrollbars on:

    Photos, Community, Guestbook

    Here are the pages I don't want scrollbars to be on:

    Our band, Biographies, Audio, Contact


    Been reading several tutorials online and haven't found an answer. Those anyone know how to solve this issue or, can anyone recommend a better coding structure to accomplish the same look/layout?

    Thanks.
    Last edited by johnnybananas; 12-22-2005 at 04:31 AM. Reason: Security

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts

  • #3
    New Coder
    Join Date
    Jul 2005
    Posts
    92
    Thanks
    4
    Thanked 0 Times in 0 Posts
    That link is the way I did it. You can see some of that at work here: http://www.nestent.net/ I don't know if that's the effect you're going for but the left side, middle, and right side are each iframes. They stretch with the content. Saves loading time big because most of that info is just text.


  •  

    Posting Permissions

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