[EMAIL PROTECTED] schrieb:
Sebastian Werner ha scritto:
[EMAIL PROTECTED] schrieb:
Sebastian Werner ha scritto:
Oliver Vogel schrieb:
hi all!
i need a "minimal qooxdoo" - page (inside this page is only a report). it is faster and easier to create a "real" html-page with a table and 1-2 pics in it than creating this page with qooydoo itself. But now i have a problem

the page has scrollbars, the right mouseclick opens the context-menu and the text is selectable with mouse-click and mouse-move.

can anybody tell me which files to include to have this "features" disabled without including the "whole" qooxdoo file (about 600 KB is to big for such a fast and easy page)

thank you for your help

1. Selecting text is only a qooxdoo widget feature and locally for this widget. qooxdoo does not omit the user to select any normal text, just some widgets like QxAtom do this. 2. You can remove the scrollbars using the same CSS qooxdoo dynamically loads into your document. Take a look at line ~260 of QxClientDocument.js. You can use the same CSS hard-coded in your document. 3. The right mouse click is prohibit through QxEventManager (it is also possible to disable this behavior.) If you want this to have this for your pure HTML page, too, you must do a prevent default on the contextmenu event of your browser. Hint: Search for contextmenu in QxEventManager.js

Hope this helps.

Sebastian



Olli



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live Hi
webcast
and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Hi,

is possible to make a mechanism to load a module where necessary?
the code loaded in startup is small.

in dojo for example is possibole to use dojo.require("dojo.widget.*") for load components ad dependances.

Using our new (not ready for public yet) tool generate-dev/compileng.py you can build packages of qooxdoo, which contains only parts.

We have used something comparable to this "require" statement of dojo inside one old javascript library in our company. The bad side-effect of this is that this dramatically increases the latency of the page. In my opinion you can download faster some unnecessary bytes than loading each file separately. Better to build packages like core.js, toolbar.js, tree.js which always contains the needed features for such widgets/features.

Sebastian



Frank.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642


Is possible in compiled version to shrink the variable name?
For example

-----------------------------------------------
function MyClass(){
    this.foo = function(argument1, argument2){
        var addedArgs = parseInt(argument1)+parseInt(argument2);
        return addedArgs;
    }

    var anonymousInnerFunction = function(){
        // do stuff here!
    }
}
function MyFunc(){
}
-----------------------------------------------

function MyClass(){
this.foo=function(_1,_2){
var _3=parseInt(_1)+parseInt(_2);
return _3;
};
var _4=function(){
};
}
function MyFunc(){
}
-----------------------------------------------


Generally a good, but complicated thing to do. In first tests using the qooxdoo scripts we could reduce the size by 5-10 percent. Not that much.

We have currently no support for this in any of our build scripts.

Sebastian


Is a good idea?
Frank



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to