Home > Web Front-end > HTML Tutorial > Implementation code for adding links to FLASH through html (div layer)_HTML/Xhtml_Web page production

Implementation code for adding links to FLASH through html (div layer)_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:36:46
Original
1466 people have browsed it

Today, a client wants to place an advertisement, and the material provided is flash. Although we don’t like it very much, there is nothing we can do about it. The client likes flash. We are afraid that some browsers or software will block the link that comes with flash. Do we need to add one through html? The link will not work well unless it is blocked. You know the consequences.

I did it a few years ago when I was helping others maintain it, but I haven’t done it for a long time. It feels too unfamiliar. I have specially organized it here for the convenience of friends who need it. I hope everyone will support Script House.

The following is the complete code. Because the flash files are relatively large, we specially used iframe to load the advertisement:

XML/HTML CodeCopy content to clipboard
  1. > 
  2. <html xmlns="http: //www.w3.org/1999/xhtml"> 
  3. <head>
  4. <meta http-equiv=" Content-Type" content="text/html; charset=gb2312" />
  5. <title>flash plus link_script home only< ;/title>
  6. <style type="text/ css">