Welcome to TalkGraphics.com
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: IFRAME silliness

    Steve,

    Still don't understand what it is you want to explain here?
    From what i've learned,the allowtransparency doesn't apply if the page that is loaded into the iframe has color applied
    It must set to transparent through the bodytag or by adding css style for the body or leaving out color in the body tag.
    Thus you cannot make this happen in xwd as you cannot approach the headtag.

    for the links it doesn't work in Opera but does in IE 6,7,8,Safari4,Chrome and FF3

    you forgot to give the iframe a name and id must be the same,
    different browser use different approaches to call an iframe
    by name or by id,use both for the iframe.

    it must look like something this;
    Code:
    <iframe name="InlineFrame1" id="InlineFrame1"
     style="position:absolute;left:178px;top:111px;width:444px;height:377px;
    z-index:1;" src="./blanko.html" scrolling="no" frameborder="0"
     allowtransparency="true">Your browser does not support inline frames
     or is currently configured not to display inline frames.</iframe>


    Hans
    Attached Files Attached Files
    Last edited by haakoo; 15 March 2009 at 10:38 PM.
    IP

  2. #12

    Default Re: IFRAME silliness

    Quote Originally Posted by haakoo View Post
    you forgot to give the iframe a name,itmust look like this;
    Hmm Hans, we're on different worlds I think.
    There IS a name attribute. And the name I'd used was the problem as explained by John.
    I'd given the iframe the name of 'window' and this causes some sort of conflict with Opera and FF3.
    I since renamed the name attribute, and all is well.

    As for transparent iframe background, have a look, it works 'as I intended'.
    I never said I wanted the remote sites background to be transparent.
    But watch out, once I need something fancier and better coded, I'm going to be asking for your help

    Anyway, thanks Andrew, Hans and Ross for helping this thread come to a conclusion.

    Kudos to John...
    IP

  3. #13
    Join Date
    Nov 2006
    Posts
    1,602

    Default Re: IFRAME silliness

    The note about the pages you control was there for everybody.

    Still the Iframe is white in IE, 6,7,8
    Thought you wanted it to be transparent too,
    But OK,this thread should be very useful for the rest of the members

    Hans
    IP

  4. #14
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: IFRAME silliness

    Quote Originally Posted by sledger View Post
    What other names would cause a similar problem?
    I don't know. But I would suggest to always use unique identifiers. For example, add prefix "my" or "my_" to all your names.
    John.
    IP

 

 

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
  •