Can a Qooxdoo Desktop root be set to a HTML DIV? - qooxdoo

I'd like to have my Qooxdoo Desktop app operate inside of a specific DIV, rather than the document root. Is it possible, and if so, where would I change the setting/s?
Thanks!

That's what the inline application is meant for. The demo browser contains a simple demo which just opens a window.
You can use it for a complete application. If the content is mixed, you may need to take care of effects that you can see when resizing the demo window (in this case selecting the text).

Related

Overlay two Silverlight apps

I was wondering if it is possible to have two Silverlight apps overlway each other.
What I would like to do is have SilverlightApp1 take the whole browser window, then SilverlightApp2 show up as a popup in center of window as modal with transparent background. SilverlightApp2 would take up all window space too (to act as modal and block access to SilverlightApp1), but since the background is transparent it would act as modal and only have the main container element accessible.
Is this possible?
I was kind able to achieve this but not the transparency part of it...
I know there are easier solutions for this, but I am working inside an existing Silverlight application (which is SilverlightApp1 above) where I don't have the ability to modify much, but the HTML containing the app.
Thank you!
You could try to make a modal javascript window which overlays the div of SilverlightApp1 and place SilverlightApp2 on it. Maybe you should make SilverlightApp2 not to take up all window space and make the transparent/modal part with a div.
I think this could work.

Winforms - how to create something similar to a master page?

I'm trying to build an app in winforms with something similiar to masterpages in asp.net - a menu on top and when choosing an option from the menu the entire screen on the bottom will change while the menu remains (there are 10-15 screens in the future app, some are quite similar, some are not).
What is the best way of doing this? Should I use different forms for each screen or use a panel or something else?
If I use a panel or something how do I manage to use the designer with so many panels taking space on the screen?
Try with the MDIParent Form's. View the Example
http://www.codeproject.com/Articles/12514/Multi-Document-Interface-MDI-tab-page-browsing-wit
If it is just keeping the same menu and opening/closing parts of the UI you could simply add and remove instances of usercontrols to the main form.
If you need more features such as docking (like Visual Studio) look at this
Another option is to use Form inheritance
Which one to select depends on what you want to reuse and the features you need.
One option would be to make your application an MDI window and then load entire forms, maximized, into the parent window.
Then, you would be able to treat each form as its own self-contained item, since it really would be exactly that.
Is it not an option for you to use WPF? A WPF browser application fits the paradigm you are describing quite well.

Silverlight dropdown menu in a html page?

I'm not too familiar with silverlight, so I'm pretty sure I am asking a basic question.
Is it possible to have a silverlight dropdown menu (like superfish, or so-called dhtml menus) in a web page that will ;
not use more space in the page than
the first level
will go over html content when we
expand it.
I guess that Silverlight has to be displayed inside a certain "canvas" like flash, so the silverlight menu has to be either :
as big as the fully expanded menu can
be -- with the possibility to display
html over it (using css?) and make
sure that the expanded items goes on
top of html ==> That seems not really
easy!
as small as the first level of menu
items -- means that silverlight has
to get out of the canvas to display
menu items ==> Is that even possible?
I know that this may sound ridiculous, but the project is to modernize the portal around sql server reporting services using silverlight in a sharepoint webpart. There's no possibility to change the setup, I just want to know if that could be achieved using silverlight. If it can't, we will fall back to superfish.
Thanks!
It is possible. Silverlight plugin should be set to windowless, so its content can overlap with html. Because Silverlight can not draw outside of its own surface you would have to make as large as biggest menu element or you could resize Silverlight container dynamically through javascript bridge.

What is the difference between "Window" and "page" in silverlight

What is the difference between "Window" and "page" in silverlight? If I want to embed a page/ window inside another page/ window. How can I do that? For example, when an "Expand" button is clicked, if I dont want it to link to a totally new page, instead, I just want it to show a form embedded in the page / window.
Thanks :)
The simplest solution to this question would be to handle the click event and set the visibility property on the elements you want to show/hide in the event handler.
The link that #Robert provided is about "navigation" in silverlight, you can achieve your end goal using it and if you're planing a large application i'd say it's definately something you should look at but it'is a fairly complex subject.
Depending on your current level of silverlight knowledge and the scale of what you're trying to achieve with your silverlight application it might or might be better to take the simpler button click approach.
Take a look at this article. I think it will help you achive what you're trying to do.
http://jesseliberty.com/2008/05/31/multi-page-applications-in-silverlight/

Wpf flowdocumentReader page turn effect

I am working in a very crucial wpf project.This project is almost finished apart from some points.
I am showing flowdocumentreader which is loaded with dynamic images around 100.
I have one requirement to show page turn effect whenever user navigates to pages in flowdocumentreader.
I have used google and seen lots of example but no body has used flowdocumentreader.
I have also seen wpfBookControl which is not dynamic and it uses xps document.
Please help me to achieve that.
Take a look here or here.
In the WPF Shader Effects Library you have a 'negative' effect which inverts ('turns') the image.

Resources