Results 1 to 5 of 5

Thread: Transparent Background using Frames ?

  1. #1
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Transparent Background using Frames ?

    Hi...

    I have read several other threads on here relating to a transparent background when using iframes.
    I have tried using the coding suggested but am yet to be succesfull on ordinary framesets.
    I am currently trying to have two frames within the parent frame.
    The two frames need to be transparent showing the colour or image of the parent window holding these frames.

    Please could someone look at the source code and see what I am doing wrong as I have tried setting of the document type as suggested in other threads, and have tried inserting the transparent styles etc and instituting the allow transparency value and still no luck.

    http://www.jmbservices.eu/indextest.html

    (ps.. the red background on the parent window is just for testing purposes)

    Pleeeeeeeaase

    Thanks in advance )

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That's for iframes. You have frames. Just give each page the desired background, or use iframes instead.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi... thanks for your reply...

    Originally I had given each frame the desired background, but it is a tiling image of carbon fibre and the frames did not match up the pattern correctly thus the need to make the frames transparent.

    Is there any particuler code I should use specific to frames instead of iframes please?

    Many Thanks

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

    Default

    An iframe is an element inside another page, which just happens to be another page itself.
    Think of it like a picture frame hanging on the wall: it is inside the house, in the room and has properties both internal and external.
    Iframes: [...[frame]...]
    A frame based page, though, is entirely different: there is no "room", so there is no "wall". Instead each frame is a separate page taking up a rectangle of the screen forming, together with all of the other frames, a "window", but there is no overall page that can have a general background.
    Frames: [frame][frame][frame]...


    In other words, this is not really possible, unless you find a way to approach it differently.

    You could try to add a background to the frameset, if that is what you're looking for, and a quick google search seems to indicate this is possible. I haven't used framesets much, though, so I'm not sure what to suggest.
    If you actually need overlapping content (not just backgrounds), then there is likely no way at all to do it (aside from not using frames).
    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

  5. The Following User Says Thank You to djr33 For This Useful Post:

    Reminis (01-17-2010)

  6. #5
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up

    wow, what a great explanation, something even a dumbo like me could understand lol.. thanks

    And yes, it is just the background that needs to be visable through the frames.
    I will go and GooGle what you suggested and see if that turns up anything

    Thanks very much for your help

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
  •