seems i answered all my own questions.
the cmd_options int he extension.js uses the following.
features = "chrome,titlebar,toolbar,centerscreen,modal";
openDialog(optionsURL, "", features);
mike
On 12/24/05, Michael Johnston <[EMAIL PROTECTED]> wrote:
> turns out it was how you launch it,
> using window.openDialog("URL","name","chrome")
>
> doesn't quite work, but launching from the extension manager options
> seems to work fine.
>
> any suggestions as to the parameters that would make it work?
>
> mike
>
>
>
> On 12/24/05, Michael Johnston <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > i've made a prefwindow, it has two panes, which pane is shown is random,
> > the navigation at the top won't show.
> >
> > anyone got an example
> >
> > any help appreciated,
> >
> > my xul is:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <?xml-stylesheet href="chrome://signaturemanager/skin/index.css"
> > type="text/css"?>
> > <!DOCTYPE overlay SYSTEM
> > "chrome://signaturemanager/locale/signaturemanager.dtd">
> >
> > <prefwindow title="signaturemanager" type="prefwindow"
> > id="signaturemanagerPrefWindow"
> > buttons="accept,cancel" ondialogaccept="doAccept();"
> > ondialogcancel="doCancel();"
> >
> > xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
> >
> >
> > <script type="application/x-javascript"
> > src="chrome://signaturemanager/content/options/options.js"
> > />
> > <script type="application/x-javascript"
> >
> > src="chrome://signaturemanager/content/options/SignatureFiles.js" />
> > <script type="application/x-javascript"
> >
> > src="chrome://signaturemanager/content/options/preferences.js" />
> >
> >
> >
> > <prefpane id="signaturemanagerOptionsGeneralTab"
> > label="General" selected="true"
> > image="chrome://signaturemanager/skin/icon.png">
> > <preferences>
> > <preference id="signaturemanagerPrefRightClick"
> >
> > name="extensions.{36a33d90-7232-11da-8cd6-0800200c9a66}.options.show.rightclick"
> > type="bool" />
> > <preference id="signaturemanagerPrefToolbar"
> >
> > name="extensions.{36a33d90-7232-11da-8cd6-0800200c9a66}.options.show.toolbar"
> > type="bool" />
> > <preference id="signaturemanagerPrefInsertMenu"
> >
> > name="extensions.{36a33d90-7232-11da-8cd6-0800200c9a66}.options.show.insertmenu"
> > type="bool" />
> > <preference id="signaturemanagerPrefAttachButton"
> >
> > name="extensions.{36a33d90-7232-11da-8cd6-0800200c9a66}.options.show.attachbutton"
> > type="bool" />
> > <preference id="signaturemanagerPrefStatusBar"
> >
> > name="extensions.{36a33d90-7232-11da-8cd6-0800200c9a66}.options.show.statusbar"
> > type="bool" />
> >
> > </preferences>
> >
> > <text>signatures should appear in:</text>
> > <checkbox id="signaturemanagerRightClickCheckbox"
> > label="right click menu"
> > preference="signaturemanagerPrefRightClick" />
> > <checkbox id="signaturemanagerToolbarCheckbox"
> > preference="signaturemanagerPrefToolbar"
> > label="toolbar" />
> > <checkbox id="signaturemanagerInsertMenuCheckbox"
> > preference="signaturemanagerPrefInsertMenu"
> > label="insert menu" />
> > <checkbox id="signaturemanagerAttachButtonCheckbox"
> > preference="signaturemanagerPrefAttachButton"
> > label="attach button" />
> > <checkbox id="signaturemanagerStatusBarItemCheckbox"
> > preference="signaturemanagerPrefStatusBar"
> > label="status bar icon" />
> > </prefpane>
> > <prefpane id="signaturemanagerOptionsPreviewTab" label="preview">
> >
> > <hbox>
> > <tree>
> >
> > </tree>
> >
> > <vbox>
> > <text>preview</text>
> > <textbox multiline="true"
> > disabled="true"></textbox>
> > </vbox>
> >
> > </hbox>
> > </prefpane>
> >
> > </prefwindow>
> >
>
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners