I'm a developer who builds mainly single page client side web applications where state in maintained on the client-side. Lately some of the applications have become very complex with very rich domain models on the client-side and increasingly complicated UI interactions.

As we've gone along we've implemented some very useful design patterns such as Passive View MVC, Observers, bindings, key-value observers (cocoa). I have recently got a lot of inspiration from the work of SproutCore and Cappuccino which are both JavaScript web frameworks inspired by Cocoa.

Obviously all of the problems that developers are having now in building complex web applications have been solved by desktop developers many moons ago. As few months ago all I knew about Cocoa was that is was some Apple thing, now it has had a big impact in the way I develop my web applications. 

I was wondering if anyone who has more experience in building desktop GUI's than I, could point me any other frameworks out there which may also give me inspiration in terms of design patterns and structures to use for my JavaScript web applications?

I really don't care what languages or platform these frameworks reside in, as long as they can teach me something about good application design in general.
['https://Stackoverflow.com/questions/339515', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/37196/']
Try something like this:

```
<object> 
    <param name="wmode" value="transparent" /> 
    <embed src="example.swf" wmode="transparent"></embed> 
</object> 

```

The main things to note are the `<param />` tag with the transparent attribute, and the `wmode="transparent"` in the embed tag. You'll also need to run the following javascript code to make this work across all browsers:

```
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
    theObjects[i].outerHTML = theObjects[i].outerHTML;
}

```

This code should be run when the document is loaded. The site I got this code from claims that it must be run from an external file in order to work (although I haven't tested that).

I got this answer from here, where you can get more detail and a working example:  

<http://www.cssplay.co.uk/menus/flyout_flash.html>
should be aware that wmode=transparent will kill use of scroll wheel in firefox. this is true even in FP10