Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • in xulrunner browser or iframe elements can be transparent?

    3 answers - 773 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi.
    I am planning a multi layered application and trying xulrunner to
    display browser elements inside a stack element.
    I noticed that browser and iframe elements are always displayed on top
    of the other elements.
    Is this a bug?
    My biggest problem is that I can not make the browser elements transparent.
    Is there any way to do this?
    I have tried to set the opacity in the style attribute in the browser
    element, but this does not works.
    If I display an SVG document, the background is always drawn.
    How can I make the background fully transparent?
    By the way, how can I hide the scroll bars inside the browser?
    Thanks
    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.1 | | 698 bytes | |

    laca wrote:

    I noticed that browser and iframe elements are always displayed on top
    of the other elements.
    Is this a bug?

    Yes, although it is fixed in Mozilla 1.9.

    My biggest problem is that I can not make the browser elements transparent.
    Is there any way to do this?
    I have tried to set the opacity in the style attribute in the browser
    element, but this does not works.

    Also a fixed bug in Mozilla 1.9, but you also need to set background:
    transparent

    By the way, how can I hide the scroll bars inside the browser?

    overflow: hidden

    Neil

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.2 | | 1250 bytes | |

    Neil Deakin wrote:

    laca wrote:

    >I noticed that browser and iframe elements are always displayed on top
    >of the other elements.
    >Is this a bug?


    Yes, although it is fixed in Mozilla 1.9.
    Thanks. I should have tried it with the new Firefox/SeaMonkey.

    >By the way, how can I hide the scroll bars inside the browser?


    overflow: hidden

    That works.

    I have tried setting the scroll position in the browser the following way:

    var ("brow");
    var
    ();
    // (1,3);
    alert (scrollable);
    scrollable.SetCurScrollPos(1,100);
    alert ("ok");

    In xulrunner I have got the scrollable interface, but the function call
    does not work, javascript stops. May be I don't know how to call xpcom
    functions. In firefox/seamonkey I can not get even the docshell, I get
    the following javascript error:

    "Error: uncaught exception: Permission denied to create wrapper for
    object of class UnnamedClass"

    I would also like to use "browser.docShell.SetZoom(10);", what is worked
    for svg files from c

    laca

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org
  • No.3 | | 940 bytes | |

    laca wrote:
    Neil Deakin wrote:

    >laca wrote:
    >>

    I noticed that browser and iframe elements are always displayed on top
    of the other elements.
    Is this a bug?
    >>

    >Yes, although it is fixed in Mozilla 1.9.

    Thanks. I should have tried it with the new Firefox/SeaMonkey.

    By the way, how can I hide the scroll bars inside the browser?
    >>

    >overflow: hidden
    >>

    That works.

    I have tried setting the scroll position in the browser the following way:

    You should be able to just use the window's scroll functions.

    browser.contentWindow.scrollTo(x,y)

    Neil

    dev-tech-xul mailing list
    dev-tech-xul (AT) lists (DOT) mozilla.org

Re: in xulrunner browser or iframe elements can be transparent?


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Mozilla"

EMSDN.COM