Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 9 of 9

Thread: I Frames?

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    1
    Member #
    4308
    Okay, I'm new at designing, but I seem to be learning quickly. I have two questions about I Frames that im having a problem with.

    1) Is it possible to remove the horizontal scroll bar in the I Frame?
    2) Is it possible to change the color of the I Frame scroll bar?

    Thanks In Advance!

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    1) Is it possible to remove the horizontal scroll bar in the I Frame?
    Easy, just make sure that your iframe defined size is 20 pixels larger than the actual content table you have defined in the page, or make your content page 100% width so it is comparable.
    2) Is it possible to change the color of the I Frame scroll bar?
    Use the following code:
    Code:
    <style type="text/css">
    body {
    scrollbar-arrow-color: cyan;
    scrollbar-base-color: blue;
    scrollbar-dark-shadow-color: blue;
    scrollbar-3dlight-color:white;
    scrollbar-face-color: #b0c4de;
    scrollbar-highlight-color: blue;
    scrollbar-shadow-color: blue;
    scrollbar-darkshadow-color: purple;
     }
    </style>
    Please note that the scrollbar item will define all scrollbars that colour, to avoid this, create two styles, name the one for your main scrollbar as above, and label another one for your iframe eg:
    Code:
    <style type="text/css">
    .iframe {
    scrollbar-arrow-color: cyan;
    scrollbar-base-color: blue;
    scrollbar-dark-shadow-color: blue;
    scrollbar-3dlight-color:white;
    scrollbar-face-color: #b0c4de;
    scrollbar-highlight-color: blue;
    scrollbar-shadow-color: blue;
    scrollbar-darkshadow-color: purple;
     }
    </style>
    Now apply the style to the iframe using HTML - <iframe style="iframe">

    There you go, Hope that I've been of help.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  4. #3
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    One thing that needs to be pointed out about that above code. IT WILL ONLY WORK IN INTERNET EXPLORER. That monopoly craving company has made tons of codes like this one which only work in it. I would advise against discriminating against non-Microsoft browsers by having special effects that they can't even recognize
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  5. #4
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    That monopoly craving company has made tons of codes like this one which only work in it.
    Couldn't one say that Microsoft has added functionality to it's browser that others do not bother to support?

  6. #5
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Yeah you could... But without that monopoly, there would be no point in having different browsers.
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  7. #6
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    But of course :grin:
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  8. #7
    Junior Member eien-kisu's Avatar
    Join Date
    Jan 2004
    Location
    singapore
    Posts
    14
    Member #
    4396
    internet explorer rules... :lol:

  9. #8
    Senior Member Jasoncw's Avatar
    Join Date
    Jan 2004
    Location
    Detroit, MI, United States
    Posts
    254
    Member #
    4401
    As long as your page isn't releying completely on the scrollbar colors.

    I was just browsing with netscape and everything looks alot worse than it dose in IE. That might be becuase everybody makes stuff for IE, or becuase netscape just renders things ugly, I don't know, lol.
    Jason

  10. #9
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    It's netscape. Download Opera or Mozilla, they are gods.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:33 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com