Home  >  Article  >  Web Front-end  >  How to add links to FLASH in HTML and make it compatible with major browsers_HTML/Xhtml_Web page production

How to add links to FLASH in HTML and make it compatible with major browsers_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:37:071376browse

First look at the code

Copy the code
The code is as follows:


style="position :absolute; width:[flash width]px; height:[flash height]px; left:0; top:0; z-index:100">

< button style="width:[flash width]px;height:[flash height]px; position:relative; z-index:1; background:transparent;border:none;padding:0;cursor:pointer;"
onclick="window.open('Fill in the link address')">
codebase="http://fpdownload .macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0"
width="[flash width]" height="[flash height] " id="Untitled-1" align="middle">





height="[flash's height]" name="mymovie" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" wmode="transparent" pluginspage="http:// www.macromedia.com/go/getflashplayer" />



The a tag is to solve the problem of browsing in FF, Chrome, Opera, etc. The browser does not jump when clicked. Adding buttons solves the problem of IE browser.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn