Dedecms the perfect Flash slideshow code

Source: Internet
Author: User

<div id="Banner"><script language=‘Javascript' >Linkarr =NewArray ();p Icarr =NewArray (); Textarr =NewArray ();var swf_width=1004;var swf_height=161;//Text color | text position | text background color | text Background Transparency | key text color | Key default color | Key current color | AutoPlay Time | picture transition effect | Show button | Open Withvar configtg=‘0x07979|2|0x272727|5|0xffffff|0xc5ddbc|0x000033|2|3|1|_blank‘;var files ="";var links ="";var texts ="";//This sets the call Mark {dede:arclist flag=‘F' Row=‘12‘}linkarr[[field:Global.autoindex/]] ="[field:arcurl/]";p Icarr[[field:Global.autoindex/]] ="[field:litpic/]"; Textarr[[field:global.autoindex/]]="[Field:title function= ' Html2text (@me) '/]"; {/Dede:arclist}for (i=1;i<picarr.length;i++){if (files=="") files =Picarr[i];else Files + ="|"+Picarr[i];}for (i=1;i<linkarr.length;i++){if (links=="") links =Linkarr[i];Else links + ="|"+Linkarr[i];}for (i=1;i<textarr.length;i++){if (texts=="") Texts =Textarr[i];else Texts + ="|"+Textarr[i];} document.write (‘<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase= "http://fpdownload.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,0,0 "Width="' + Swf_width +‘"Height="' + Swf_height +‘">‘);d Ocument.write (‘<param name= "movie" value= "{dede:global.cfg_templets_skin/}/images/bcastr3.swf" ><param name= "quality" Value= "High" >‘);d Ocument.write (‘<param name= "Menu" value= "false" ><param Name=wmode value= "opaque" >‘);d Ocument.write (‘<param name= "Flashvars" value= "bcastr_file=' +files+‘&bcastr_link=' +links+‘&bcastr_title=' +texts+‘&bcastr_config=' +configtg+‘">‘);d Ocument.write (‘<embed src= "{dede:global.cfg_templets_skin/}/images/bcastr3.swf" wmode= "opaque" flashvars= "bcastr_file=' +files+‘&bcastr_link=' +links+‘&bcastr_title= "+texts+  ' &bcastr_config= ' +configtg+&menu=" false "quality=" High "width="  "+ swf_width + " height = " ' + swf_height + ' " Type= "Application/x-shockwave-flash" pluginspage= "http://www.macromedia.com/go/getflashplayer"/> '); document.write ( ' </object>  '  </div>    

Advanced Settings :
Default parameter string
0XFFFFFF: Text color | 2: Text Position | 0xff6600: Text Background color | 60: Text Background Transparency | 0XFFFFFF: Key text color | 0xff6600: Button Default Color | 0x000033: Key Current Color | 8: AutoPlay time (seconds) | 2: Picture Transition effect | 1: Whether to show the button | _blank: Open a new window
Colors are represented by starting with a 0x 16 binary number
Text color: The color of the title text
Text Position: 0 indicates the topic text at the top, 1 indicates the text at the bottom, 2 indicates the text at the top
Text background transparency: 0-100 value, 0 for all transparency
Key text color: Key digital color
Key Default color: button default color
Key current color: Current picture key color
AutoPlay time: Unit is seconds
Picture transition effect: 0, representing a luminance transition, 1 for a transparency transition, 2 for a blur transition, and 3 for motion blur transitions
Whether the button is displayed: 0, which means hide the key parts, more suitable for advertising pick rotation
Open window: _blank indicates that a new window is open. _self means open in the current window

Dedecms the perfect Flash slideshow code

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.