How to show resizeable standalon xul window from command line?

View: New views
2 Messages — Rating Filter:   Alert me  

How to show resizeable standalon xul window from command line?

by Dusan Halicky-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

I want to display resizeable standalone xul window. There are 2 ways,
both have side effects so I can't use them:

1. using javascript function window.open:

window.open("http://www.xulplanet.com/tutorials/xultu/examples/findfile/findfile-buttons.xul","findfile","dialog=no,toolbar=no,directories=no,status=no,scrollbars=no,resize=yes,menubar=no");

side effect: in firefox 3 (beta 5), there are address bar and
statusbar always visible

2. show windows from command line

C:\path\to\fireofox.exe -chrome
http://www.xulplanet.com/tutorials/xultu/examples/findfile/findfile-buttons.xul

side effect: window is no resizeable

Please, how can I solve this problem? Thanks.

In short, I need:
- resizeable xul window
- without address bar
- without statusbar

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org 
_______________________________________________
xul-talk mailing list
xul-talk@...
https://lists.sourceforge.net/lists/listinfo/xul-talk

Re: How to show resizeable standalon xul window from command line?

by zhang shukun :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have the same probem.
Dusan Halicky-2 wrote:
Hi.

I want to display resizeable standalone xul window. There are 2 ways,
both have side effects so I can't use them:

1. using javascript function window.open:

window.open("http://www.xulplanet.com/tutorials/xultu/examples/findfile/findfile-buttons.xul","findfile","dialog=no,toolbar=no,directories=no,status=no,scrollbars=no,resize=yes,menubar=no");

side effect: in firefox 3 (beta 5), there are address bar and
statusbar always visible

2. show windows from command line

C:\path\to\fireofox.exe -chrome
http://www.xulplanet.com/tutorials/xultu/examples/findfile/findfile-buttons.xul

side effect: window is no resizeable

Please, how can I solve this problem? Thanks.

In short, I need:
- resizeable xul window
- without address bar
- without statusbar

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
XUL News Wire      - http://xulnews.com
XUL Job Postings   - http://xuljobs.com
Open XUL Alliance - http://xulalliance.org 
_______________________________________________
xul-talk mailing list
xul-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xul-talk
LightInTheBox - Buy quality products at wholesale price