Add a hyperlink to flash on a webpage

Source: Internet
Author: User
Ideas:
Use two DIV layers, one for flash, one for transparent images, and the other for the flash layer. Use absolute positioning to overlay the transparent image layer, when you click flash, you actually click the transparent image layer on the flash layer.

<Style type = "text/CSS">
*{
Padding: 0;
Margin: 0
}
</Style>
<Div style = "Z-index:-1"> <! -- 1. Set flash to the underlying layer -->
<Object classid = "CLSID: d27cdb6e-ae6d-11cf-96b8-444553540000 "codebase =" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0 "width =" 179 "Height =" 90 "id =" object1 "align =" center "> <Param name =" allowScriptAccess "value =" samedomain" /> <Param name = "movie" value = "http://images.cntvs.com/product/default/banner5.swf"/> <Param name = "quality" value = "high"/> <Param name = "bgcolor" value =" # ffffff "/> <Param name =" allowfullscreen "value =" true "/> <Param name =" wmode "value =" Transparent "/> <embed src =" http://images.cntvs.com/product/default/banne5.swf" quality = "high" bgcolor = "# ffffff" width = "179" Height = "90" name = "banner2" align = "center" allowScriptAccess = "always" type = "Application /X-Shockwave-flash "pluginspage =" http://www.macromedia.com/go/getflashplayer "/> </Object>
</Div>
<Div id = "huilayer" style = "cursor: hand; position: absolute; left: 0px; top: 0px; width: 179px; Height: 90px; Z-index: 1; visibility: visible; "> <a href =" http://www.sqlsky.com ">
</a> </Div>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.