You have to set the path in the QxImageManager. In my case it is:

  QxImageManager.set({path:'/qooxdoo/public/images/',iconTheme:'crystalsvg',widgetTheme:'windows'});

I'm also setting the icon theme and the widget theme. So you have to change the path attribute to wherever your qooxdoo image path is.

I tried a relative path but this was not reliable so i used an absolute path.


Kent Olsson schrieb:
Here is an example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Mobila Kontoret</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <link type="text/css" rel="StyleSheet" href=""/>
    <script type="text/_javascript_" src=""></script>
  </head>
  <body>
    <script type="text/_javascript_">
      window.application.main = function() {
        var doc = this.getClientWindow().getClientDocument();

        var mainW = new QxWindow("Test");
        mainW.setSpace(20, 400, 48, 250);

        doc.add(mainW);

        mainW.open();
      };
    </script>
  </body>
</html>

I include an image to show you the result in Firefox.

Kent


On Tue, 2006-01-31 at 22:35 +0100, Sebastian Werner wrote:
  
Kent Olsson schrieb:
    
If I include the following in the header of a file:

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <link type="text/css" rel="StyleSheet"
href=""/>
    <script type="text/_javascript_"
src=""></script>

I still do not get the images up and shown (only dummies) in for example
a QxWindow (the buttons resize, minimize and maximize). 
      
Could you send a example? What exactly do you mean? If you do not 
include demolayout.css the images are not there/not visible, what? 
Please tell me what's your specific problem.

    
What is the
intention to do if you do not want to use the demolayout.css file?
      
demolayout.css and demolayout.js are just used by the 
demos/tests/examples... They should not be included in a normal qooxdoo 
application later. qooxdoo should work without them.

    
I guess that the documentation must be clear here for starters of
qooxdoo.
      
Yes, sure. Will be updated after release.

Sebastian


    
Kent



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
      

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
    




-- 
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH

Reply via email to