Continue to support standard development, then send a general function of adding Flash

xiaoxiao2021-03-06  38

A few days wrote the conflict between Web Standards and the real project, and writing his cause is now doing this project. But for a few days, I found that I still used Div CSS to develop. It may be that I have been used to this development model, so I feel particularly awkward when I use the form, just turn back to "Zheng Road" in the middle. When I wrote Flash this afternoon, I feel particularly troubles, and I can't pass the XHTML check, I want to replace it with JS files, but if there is a lot of Flash, there must be many JS files, I hate trouble. I want to write a general JS program, which is actually a very simple statement. But because I am used to ASP, I wrote a small mistake, I will be Document.Write Fstr, which should be Document.Write (fstr), depressed.

function showflash (flashsrc, widthpx, heightpx) {var fStr = ''; fStr = ( '); fstr = (' ); fstr = (' '); fstr = (' ); fstr = (''); fstr = (''); fstr = (''); Document.write (fstr);}; save the above code into Comflash. JS wants to use this function to transfer this function to the