Is it possible to overlay HTML over XBAP? - html

Is it possible to overlay HTML elements over XBAP?
I have an XBAP application in an iframe on a webpage, and I'm trying to overlay HTML elements over it. I can easily do it over Flash, but I have yet to figure out how to do it over XBAP.

This is not possible with XBAP. If you can use Silverlight then a solution is available to using Windowless controls (MSDN link).

Related

Iframe to display a video

I need to create a side screen to play a video while the user browser my site. But the video most keep playing while the user load differents pages of the site. Is it possible to be done? How?
I have no idea how to google it. Any help is appreciated.
You can accomplish this using Ajax.
From wikipedia:
[..] With Ajax, web applications can send data to and retrieve from a server asynchronously (in the background) without interfering with the display and behavior of the existing page.[..]
Other way to make that is, to make a single page with all the sections, and with CSS, set the video position: fixed (the element is positioned relative to the browser window) so while the user scroll vertically, the video follow the movement...

SWF-Flash switch

I want to showcase my company work to our future client.
The project which I am going to showcase is basically a FLASH-HTML5 conversion.
I want to use a switch on the page which will swap flash to HTML5 page and vice versa.
If I am on page3 of flash file and hit the switch button it should load page 3 from HTML5.
something similar to 'https://www.pixelplant.com/gallery/'
Can you guys help me out how to do it? What technology I should use?
There are multiple ways of achieving this. The example website uses iframe in a popup div, which could be done with jquery or any lightbox plugin based on jquery. You can also use inline hidden divs to fade-in/fade-out.
The switch binds with a function to call the relevant divs to display, that's it.

iFrame overlay Silverlight 5

I have got a problem in my Silverlight-Application.
There is an iFrame displayed at my XAML view. When I open now a childwindow control (sample Messagebox), the iFrame is still overlaying the MessageBox. I need to put the child-window over the iFrame. Can anyone help me?
Best regards, Patrik
Your question is not very clear, but I will assume that what you have is a Silverlight application with an iFrame on top (defined in the hosting HTML file) containing some other content. If this is your scenario you are out of luck. What you are asking is basically for the Silverlight application to take a small part of itself (the child window), move that part outside of its own confines and then render that small part on top of something else in the browser.

How to create pdf of elements displayed in container through code in flex in a desktop application

I have a border container having some controls. I want to create pdf document of elemts displayed in container upon a button click. How can i do this? Please help
you can generate PDF using the PurePDF opensource ActionScript Library. Click here for PurePDF Source
you will find out the example also.

Dynamic Elements in JSP?

I am wondering how to create dynamic elements in a JSP webpage? For example, what I want to do is that I have a Selection Box, in which a user selects an image. Upon clicking a button (or possibly after selecting an item), the image will 'slide down' (like how PPT slides slide down when changing slides) and rest on the center of the screen.
Or at least another simpler case would be, when clicking a button, a text box will appear each time you click the button. So far, the only idea I have of this is by using visibility but that will limit me.
Can you help me on how to do these things or if it is possible to do these with only JSP? Additionally, is it possible for elements to 'pop up' (like in facebook photo viewer) without refreshing the page?
Thank you!
You want things to happen on the client, so you need to be focusing on the HTML, CSS and JavaScript. The fact you generate the HTML using JSP is irrelevant.
Build on things that work
Write JS logic for adding new content based on the form options
Write JS logic for manipulating the CSS to do the animation
Consider using a library such as YUI or jQuery to help with the JS, and using CSS 3 Transitions for the animation.