The method of linking flash in HTML and compatible with major browsers


Look at the code first.

Copy code

The code is as follows:

< div style = “position: relative; width: [width of flash] PX; height: [height of flash] PX;” >
< a href = “fill in the link address” target = “
Style = “position: absolute; width: [width of flash] PX; height: [height of flash] PX; left: 0; top: 0; Z-index: 100” >
< button style = “width: [width of flash] PX; height: [height of flash] 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″
Width = “[width of flash]” height = “[height of flash]” align = “middle” >
<param name=”allowScriptAccess” value=”sameDomain” />
< param name = “movie” value = “fill in flash advertising address” / >
<param name=”quality” value=”high” />
<param name=”wmode” value=”transparent”>
<param name=”bgcolor” value=”#ffffff” />
< embed SRC = “fill in flash advertising address” quality = “high” bgcolor = “ාffffff” width = “[width of flash]”
Height = “[height of flash]” name = “mymovie” align = “middle” allowscriptaccess = “samedomain”
type=”application/x-shockwave-flash” wmode=”transparent” pluginspage=”” />

Among them, the a tag is to solve the problem that FF, chrome, opera and other browsers do not jump when clicking, and the button is to solve the problem of IE browser

Recommended Today

[tutorial] restful API using JWT authentication in laravel

This article is forwarded from the professional laravel developer community, original link:… In this article, we’ll learn how to use JWT authentication to build restful APIs in larevel. JWT stands for JSON web tokens. We will also use the API to create full-featured crud applications for user products. When using cross platform applications, the […]