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

Why Google and Facebook don't use Docker

The reason for writing this article is that I wan...

How to debug loader plugin in webpack project

Recently, when I was learning how to use webpack,...

General Guide to Linux/CentOS Server Security Configuration

Linux is an open system. Many ready-made programs...

Vue two fields joint verification to achieve the password modification function

Table of contents 1. Introduction 2. Solution Imp...

Six weird and useful things about JavaScript

Table of contents 1. Deconstruction Tips 2. Digit...

Gallery function implemented by native Js

Table of contents The first The second Native Js ...

Solution to the failure of entering the container due to full docker space

Since the problem occurred rather suddenly and th...

JS uses canvas technology to imitate echarts bar chart

Canvas is a new tag in HTML5. You can use js to o...

How to implement input checkbox to expand the click range

XML/HTML CodeCopy content to clipboard < div s...

A "classic" pitfall of MySQL UPDATE statement

Table of contents 1. Problematic SQL statements S...

Detailed explanation of system input and output management in Linux

Management of input and output in the system 1. U...