Results 1 to 3 of 3

Thread: iframe background
      
   

  1. #1
    mwalsh62's Avatar
    mwalsh62 is offline Major
    Join Date
    Jul 2007
    Location
    U.S.A
    Posts
    426

    Default iframe background

    Hello,

    I just looked back about a year and a half and didn't find a post about this.

    I placed an iframe on my page, when previewing in IE, it appears as a grey box, in Firefox, it is transparent (much preferred). I tried adding allowtransparency="true" background-color="transparent", it did not work.

    Any solutions? If possible, how can linked page be closed automatically and revert to transparent after viewing content (film previews)?

    Thanks in advance,

    Mike

  2. #2
    Tom vR's Avatar
    Tom vR is offline Brigadier General
    Join Date
    Apr 2007
    Location
    Centurion, South Africa
    Posts
    1,733

    Default Re: iframe background

    Hi Mike,

    There are two components to an iframe.
    1. The iframe itself somewhere on a page and maybe with other items on the page as well.
    2. The source data for the iframe. This data is normally on a page of its own and must be positioned in the top-left corner of the page. On this page, right-click and select Page HTML. Click on the Between Head Tag tab. Paste this code in there:

    <style type="text/css">
    body {background-color: transparent}
    </style>

    Click the OK button.
    Save the page and publish it.

    Now back on the page described in (1) above. Size the iframe to the required size. Double-click the iframe. Give it a name and enter the url. Save and Publish the page.

    I don't understand your last question. Could you explain that again please?

  3. #3
    mwalsh62's Avatar
    mwalsh62 is offline Major
    Join Date
    Jul 2007
    Location
    U.S.A
    Posts
    426

    Default Re: iframe background

    Hi,

    The frame is for movie previews, and, if possible, I would like the target page to close when preview is over, rather than just sitting on that page waiting for next link to be clicked.

    Thanks for the reply,

    Mike

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49