How to add links to FLASH in HTML and make it compatible with all major browsers

How to add links to FLASH in HTML and make it compatible with all major browsers
Look at the code first

Copy code
The code is as follows:

<div style="position:relative; width:[flash width]px; height:[flash height]px;">
<a href="Fill in the link address" target="_blank"
style="position:absolute; width:[flash width]px; height:[flash height]px; left:0; top:0; z-index:100">
</a>
<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')">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
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">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Fill in the flash ad address" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<param name="bgcolor" value="#ffffff" />
<embed src="Fill in the flash ad address" quality="high" bgcolor="#ffffff" width="[flash width]"
height="[flash's height]" name="mymovie" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</button>

The a tag is used to solve the problem of FF, Chrome, Opera and other browsers not jumping when clicking, and the button is used to solve the problem of IE browser

<<:  Rhit efficient visualization Nginx log viewing tool

>>:  Practice of using SuperMap in Vue

Recommend

Can asynchrony in JavaScript save await?

I knew before that to synchronously obtain the re...

Summary of the 10 most frequently asked questions in Linux interviews

Preface If you are going to interview for a Linux...

React method of displaying data in pages

Table of contents Parent component listBox List c...

Practical record of optimizing MySQL tables with tens of millions of data

Preface Let me explain here first. Many people on...

6 ways to view the port numbers occupied by Linux processes

For Linux system administrators, it is crucial to...

Answers to several high-frequency MySQL interview questions

Preface: In interviews for various technical posi...

How to use Nginx to realize the coexistence of multiple containers in the server

background There is a Tencent Linux cloud host, o...

Tutorial on disabling and enabling triggers in MySQL [Recommended]

When using MYSQL, triggers are often used, but so...

Detailed explanation of vue page state persistence

Table of contents Code: Replenish: Summarize Requ...

Deep understanding of the mechanism of CSS background-blend-mode

This article is welcome to be shared and aggregat...