A small problem occurs when Silverlight 2 beta 1 is displayed in Firefox ~

Source: Internet
Author: User
Yesterday, when I embedded a completed Silverlight 2 beta 1 control into HTML for display, everything went fine in IE, but in Firefox it was prompted that I didn't install the Silverlight 2 plug-in, however, the other Silverlight 2 beta 1 control is normal in IE and Firefox ......

After carefully comparing the differences between the two, we found the problem...

The problematic control used to insert HTML Code As follows: < Object Data = ' Data: Application/X-Silverlight, ' Type = ' Application/x-silverlight-2-b1 ' Width = ' 100 ' Height = '10 0 ' >
< Param name = ' Source ' Value = ' Clientbin/myslcontrol. xap ' />
< Param name = ' Background ' Value = ' White '   />
< Param name = ' Onload ' Value = ' '   />

< A href = ' Http://go.microsoft.com/fwlink? Linkid = 108182 ' Style = ' Text-Decoration: none; ' >
< IMG SRC = ' Http://go.microsoft.com/fwlink? Linkid = 108181 ' ALT = ' Get Microsoft Silverlight ' Style = ' Border-style: None ' />
</ A >
</ Object >

If < Param name = ' Onload ' Value = ' '   /> "Remove this line, or change it to"< Param name = ' Onload ' Value = ' 11'   /> "The access is normal in Firefox. I don't know if this is a small bug ~

By the way, Silverlight 2 is good, solving a small problem left over from the Silverlight 1.1 stage: adding "<! After doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ", openfiledialog cannot pop up in Firefox, this problem does not exist in Silverlight 2 ~ :)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.