Show a Sothink menu on top of a Silverlight iFrame - silverlight

I have a Sothink menu on a web page and below it is a Silverlight iframe application. Currently the iframe is covering some dropdown menu items.
I have tried solving this problem with z-indexing, windowless, and wmode. I can not change the original code of the application but when I view the source of the iframe's page, I see that the developer commented out the windowless option because it interfered with another part of the program.
The only way I have tried to insert it into my page is through this code:
<iframe src="iframe-code-url.com" frameborder="0" style="background-color:#FFF;" scrolling="yes" width="940px" height="500px" wmode="opaque" windowless="true"></iframe>
I am open to any and all suggestions. I have done a lot of research and I have not found anything.

You must set Windowless=true on the Silverlight host object, not the iFrame. If you can't access the host object, you cant enable Windowless mode and so you cant do what you want.
See here for more on Windowless Silverlight Objects
Ideally, you should host the Silverlight XAP file in the same site as your web page.

Related

WebBrowser control doesn't open links

I'm using the default WebBrowser control inside a WPF application. HTML code is loaded using NavigateToString method (html is passed as a parameter).
Pages render correctly, but users aren't able to click on any links (nothing happens when they click on the links). The problem was partly solved by adding the URLs to trusted zone, but that is not always possible.
Are there any configurations that should be adjusted in IE (or wherever else) that would allow opening any links inside an embedded WebBrowser?
in my case using MyWebBrowser.Navigate(new Uri(...)); works, and hyperlinks work as designed but when i use MyWebBrowser.NavigateToString(htmlContent); hyperlinks stop working

WP7 Web browser control uses IE browser, how to use different browser

I am trying for showing the content of html in web browser control. My content having encrypted value for img source. I don't what is this. That image not displaying in Webbrowser control. Also in IE browser. Normally Web browser control supports IE browser.
But it displayed for all browsers(Firefox, Chrome)
Is there way to use any(Firefox, Chorme) of the browser in Web Browser control.
Pls Help me.
Thanks
In WP7 you can only access and start standard WP7 applications, not any third party apps. So unless WP7 will be shipped with another browser, you can't do this.

Does the Silverlight Navigation template work with running out of browser?

Does the Silverlight Navigation template work when running out of browser?
Sure it does.
And you can use the NavigationServices functions to create a custom "Back" or "Forward" button
great example here : Link
Create a fresh Navigation Application, open the properties page. On the Silverlight tab select "Enable running application out of the browser", switch to the Debug tab, select Out-of-Browser application, change the project in the combo-box to the current silverlight project.
Hit Run, click About, Does it work?

Show Background Image While Loading Silverlight Application

I have a Silverlight app that takes a few seconds to display on a webpage. While loading, the user sees a blank space. Is there a way to show some sort of alt text or background image behind the application while it is loading to indicate to the user what is happening?
Check that out :
http://msdn.microsoft.com/en-us/library/cc903962(VS.95).aspx
Based on the above link posted by danbord, I found that this can be accomplished via a splash screen. Basically, the splash screen will be loaded while the .xap is still being downloaded for a silverlight application. This can be implemented as follows:
Create splash screen .xaml file (this can be done in Visual Studio by creating a Silverlight 1.0 JScript page)
Add a splashScreenSource parameter to your object tag in the webpage hosting your silverlight application. This should point to the .xaml file created in step 1.
It is important that the value of the splashscreen param resolve to the correct location of the .xaml file relative to the page the silverlight app is hosted in. For example, if your SplashScreen.xaml file is in your website root, but the page hosting your silverlight app is in a subfolder, you will need to use
<param name="splashScreenSource" value="../SplashScreen.xaml" />
There are also other options that can be added such as attaching an event handler to the onSourceDownloadProgressChanged event to update a progress bar or some other UI animation.

Display modal Silverlight popup on HTML button click

I have the following desired workflow: on HTML button click a Silverlight modal popup (dialog) must be displayed. No Silverlight content is displayed before HTML button click and no Silverlight content must be displayed after exiting from modal SL popup.
According to our customer inclination we couldn't use another technology for such popups.
Any thoughts on how to accomplish mentioned workflow?
I'm quite new to Silverlight so all the ideas are highly appreciated.
The requirement is a little unusual, but here goes...
I am assuming you have a Silverlight test project and know enough HTML/JScript to popup a window, as you tagged this question as Silverlight only.
Think of Silverlight as just another component you can put on a web page. Any web page. It can be a small control, or fill a HTML window.
In your case you want to simply put your Silverlight startup code into a html page that a popup window can show. The popup window will be triggered by JScript attached to a button.
The Silverlight startup code is usually generated for you in a HTML test webpage in your Silverlight Webproject. Copy it from there.
If you need more detailed instructions for a specific example, please provide more detail.

Resources