Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=guenter] onload="InitEditCookie()"[b]>[/b] height="342" width="496" Probably has a typo. Very hard to see in Forum. It must probably get the closing after width="496"> else there is not a closed, valid expression. Try it like that. Here is an working example from mimetypes pref.xul. It uses relative size [b]em[/b] <dialog id="prefDialog" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&mtypes.title;" [b]style="width:50em;height:40em"[/b] windowtype="mozilla:preferences" contextmenu="0" buttons="accept,cancel" onload="onLoad();" ondialogaccept="return hPrefWindow.onAccept();" ondialogcancel="return hPrefWindow.onCancel();" persist="screenX screenY width height"[b]>[/b] It is closed at the end. Look into pref.xul of kmprefs for another way (example) of doing it. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="prefDialog" title="&prefDialog.title;" [b]style="&prefDialog.style;"[/b] kko uses a style element defined outside. Some lines later also comes the closing >. In kmprefs' locale pref.dtd, kko defines the style's sizes. The bold section is normally translated but not here. So why was it placed here? It gives relative size in [b]em[/b] and also gives it to translator to adapt the size of the window to accomodate e.g. Polish or German.... translation. <!ENTITY prefDialog.style "[b]width: 68.5em; height: 55em;[/b]"> We non English probably want to do it like kko did :) Try it also. IMHO it is better. I did not know all this when I created mimetypes 0.3 from Mozilla 1.7 sources. p.s. [b]Special thanx go to disrupted for explaining every thing to me in this thread.[/b][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development