Flash website optimization and transparent Flash code detailed

Source: Internet
Author: User
Keywords Seo flash

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Flash is more beautiful than GIF animation, we set it to transparent, the back of the flash we can insert some beautiful pictures with it to achieve a very beautiful effect, this time may be more flexible use of page effects. Or just add a transparent flash to the Web page, for transparent flash, if not loaded, choose a suitable code for the search engine and user experience is good. It is recommended to use the first code embed mode here. Beautiful animated page can attract more people to visit you oh, of course, insert flash also need to be cautious, and the browser should also consider whether the user uses the Flash control, and it will make the Web page loading speed significantly slower (foreign speed of course can not be compared).

Remember to do a Valentine's Day theme pages, but because of time, and stopped, inside the use of transparent flash,png pictures and page to switch the high-level use of CSS style, the use of z-index, absolute positioning, such as implementation, URL: http://www.demoseo.com/Valentine-Day/.

(a) First of all to teach you the simplest plug-in flash code, transparent, no coordinate control, this code in the mainstream browser compatibility is better, and can customize class style, do global style control. For search engines, the code byte is reduced, and the label remembers to be closed:
Note that wmode= "Transparent" is to control whether flash is transparent display, if you do not want it to show transparent, direct wmode= "Transparent" can be removed.
<embed pluginspage= ' http://www.macromedia.com/go/getflashplayer ' src= ' http://www.demoseo.com/Valentine-Day/ images/demoseo.swf "type= ' Application/x-shockwave-flash ' width=" 795 "height=" 153 "wmode=" Transparent "quality=" high "></EMBED>

Here's an example of the style used, absolute positioning. Add the absolute coordinates of the transparent flash, absolute coordinates means that no matter how big your window, the flash is still obediently in situ motionless.
<embed src= "http://www.demoseo.com/Valentine-Day/images/demoseo.swf" style= "left:0px; Position:absolute; top:18px;z-index:-3px "width=" 795 "height=" 153 "quality=" high "wmode=" Transparent "></EMBED>

Relative coordinates of the transparent flash, note the following code of the table section, which is mainly using the table as a container, the flash "loaded" into the table, so no matter how large the browser to pull, flash and the table move forever. Moreover, the table can set a background picture, the table above a transparent flash and the background picture with, wow plug, the effect is very good.

&lt;table border= "0" cellpadding= "0" cellspacing= "0" width= "795" height= "153" Align=center &gt;


&lt;td width= "795" height= "153" &gt;&lt;embed pluginspage=http://www.macromedia.com/go/getflashplayer


src= "http://www.demoseo.com/Valentine-Day/images/demoseo.swf"


type=application/x-shockwave-flash wmode= "Transparent"


quality= "High" &gt;&lt;/EMBED&gt;&lt;/TD&gt;&lt;/td&gt;&lt;/table&gt;


(ii), for the website optimization of Flash, now also popular flash whole station, or some of the use of flash, but for search engines, like a piece of white paper, will not consider the content of the website flash and performance purposes. So for search engines, do not like Flash, at least not understand flash, do not ignore the consideration. In particular, the pursuit of design and dynamic enterprise station or individual, may consider the exquisite flash home, but the collection effect is not good, set the keyword does not make any sense, for the search engine that your site did not send any information related to the keyword. If you accumulate some key words, it may also be considered cheating. So carefully consider the optimization of the flash site. You can use a paragraph of text at the bottom of the flash description. Although it may affect the beauty, but for the search engine is more friendly. Of course you can also consider hiding your text, but may be considered as a search engine cheat.


Of course, we can consider the use of the floating layer of flash, and the nature of the set text, static page or dynamic page for the end, insert just said floating flash, it can be, is equal to the user to see is flash, and search engine to see the content of the page section. and will not be considered cheating.


 


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.