var isIE = (document.all) ? true : false;var $ = function (id) {return "string" == typeof id ? document.getElementById(id) : id;};var Class = {create: function() {return function() { this.initialize.apply(this, arguments); }}}var Extend = function(destination, source) {for (var property in source) {destination[property] = source[property];}}var Bind = function(object, fun) {return function() {return fun.apply(object, arguments);}}var Each = function(list, fun){for (var i = 0, len = list.length; ilen; i++) { fun(list[i], i); }};//ie onlyvar RevealTrans = Class.create();RevealTrans.prototype = {initialize: function(container, options) {this._img = document.createElement("img");this._a = document.createElement("a");this._timer = null;//计时器this.Index = 0;//显示索引this._onIndex = -1;//当前索引this.SetOptions(options);this.Auto = !!this.options.Auto;this.Pause = Math.abs(this.options.Pause);this.Duration = Math.abs(this.options.Duration);this.Transition = parseInt(this.options.Transition);this.List = this.options.List;this.onShow = this.options.onShow;//初始化显示区域 = "hidden";//第一次变换时不显示红x图 = = "100%"; = 0;this._img.onmouseover = Bind(this, this.Stop);this._img.onmouseout = Bind(this, this.Start);isIE && ( = "revealTrans()"); = "_blank";$(container).appendChild(this._a).appendChild(this._img);},//设置默认属性SetOptions: function(options) {this.options = {//默认值Auto:true,//是否自动切换Pause:5000,//停顿时间(微妙)Duration: 1,//变换持续时间(秒)Transition: 23,//变换效果(23为随机)List:[],//数据集合,如果这里不设置可以用Add方法添加onShow:function(){}//变换时执行};Extend(this.options, options || {});},Start: function() {clearTimeout(this._timer);//如果没有数据就返回if(!this.List.length) return;//修正Indexif(this.Index0 || this.Index = this.List.length){ this.Index = 0; }//如果当前索引不是显示索引就设置显示if(this._onIndex != this.Index){ this._onIndex = this.Index; this.Show(this.List[this.Index]); }//如果要自动切换if(this.Auto){this._timer = setTimeout(Bind(this, function(){ this.Index++; this.Start(); }), this.Duration * 1000 +this.Pause);}},//显示Show: function(list) {if(isIE){//设置变换参数with(this._img.filters.revealTrans){Transition = this.Transition; Duration = this.Duration; apply(); play();}} = "";//设置图片属性this._img.src = list.img; this._img.alt = list.text;//设置链接!!list["url"] ? (this._a.href = list["url"]) : this._a.removeAttribute("href");//附加函数this.onShow();},//添加变换对象Add: function(sIimg, sText, sUrl) {this.List.push({ img: sIimg, text: sText, url: sUrl });},//停止Stop: function() {clearTimeout(this._timer);}};.container{width:980px;height:80px;border:0;position:relative;overflow:hidden;}var r = new RevealTrans("idShow");//添加变换对象r.Add(/mediafile/201109/06/F201109060914062809330814.jpg,,;r.Start();r.Add(/mediafile/201108/29/F201108291053543177820271.jpg,,;r.Start();Set as Homepage|Register|Sign InChinese|Big 5|French|Russian|Spanish|Japanese|ArabicSpecial Coverage|PD Online DatabaseSina MicroblogTencent MicroblogFeedbackRSS   NewsOpinionsChina MilitaryForeign AffairsLearn ChineseChina StudyForumLatest News:  Spain to host Global China Business Meeting
Greek main opposition leader agrees to meet with PM
Spain to hold election debate Monday
High-speed rail challenges Chinas vision
China mulls to set up special fund to boost arts
Chinese Buddha sacred tooth relic conveyed to Myanmar for obeisance
China may overhaul offshore oil ruels
Peking Opera stars life chronicled
Greek main opposition leader insists on PMs resignation
Nigerian police says 53 deaths recorded in bomb attacksBeijing   Cloudy    13 / 8   City ForecastHomeWorldSpain to host Global China Business Meeting(Xinhua)08:53, November 07, 2011MADRID, Nov. 6 (Xinhua) -- The 2011 Global China Business Meeting (GCBM) which begins on Monday in Valencia on the east coast of Spain will feature around 400 Chinese business people along with representatives from Spain, Latin America and Europe."Many Chinese companies dont know how Europe works and this meeting is a chance to know how we work here as well as going deeper into the interests of Asian companies from different sectors who are able to get to know Spanish trademarks in order to establish their own here," said Jurgen Richter, chairman of Horasis, an international consultant firm that organizes the event.Meanwhile, the Major of Valencia Rita Barbera said that the event will "place Valencia as an important point linking Africa, Europa and Latin America."The meeting will be based on the connection between Latin America, China and Valencia as a center for Chinese investment and it will reflect the importance of Chinese companies building global and sustainable trademarks.The two-day event aims to identify relevant themes in the business world to look for systematic solutions and discuss about the possibilities of a sustainable future for China and the World.                WeRecommend         Email|Print|Comments(Editor:陈乐乐)Increases the bookmarktwitterfacebookSina MicroblogdiggGoogleDeliciousbuzzfriendfeedLinkedindiigoredditstumbleuponQzoneQQ MicroblogRelated ReadingSpain to hold election debate MondayA degree that means businessSmall businesses seek less room to maneuverChinas global business needs backup of military power Yunnan aims to be regional business hubShandong governor says huge potential for business with USLeave your comment0 commentsName  Selections for youNE Chinas Harbin issues yellow fog alert
13.9-meter-long whale found dead in E China
Several killed, 43 injured in British multiple fatal collisionJapanese balloon artist SHINO tells fairy tales with balloonsMost PopularThai floods may push up global rice pri…China striving to build bustling border…Bank of China faces challenges, opportu…Hus speech at G20 summit draws positiv…SCO enjoys rising international status:…China seeks to expand Sino-Africa fundPositive, balanced outcomes achieved at…Jobs letter of love inspires creativit…Golden autumn in Beijing Sacred tooth relic of Lord Buddha to he…OpinionsHigh-speed rail challenges Chinas vision
Future looks bright for Chinas bond market
Online rumors dangerous to social order
Widespread diesel crisis unlikely for ChinaChina braces itself for population aging
Chinas aid to Pakistan shows true friendship
Chinas securities industry pushed to diversify
Experts weigh in on Chinas economy
WTO sides with China in EU anti-dumping dispute
US has no stomach for S. China Sea military clashWhats happening in ChinaGolden autumn in Beijing20 teenage girls facing charges in sex ring
Wild Asian elephant kills villager in SW China
Chinas watchdog tests J&J baby shampoo
Calls to boost nursing care for the elderly
Credibility of Chinese organic food crippledPD Online DataTangerines and oranges
Dried persimmon cake
Guangdong candy
What do Chinese eat during the Spring Festival?12345678910111213141516171819202122232425262728293031JanFebMarAprMayJunJulAugSepOctNovDec2007年2008年2009年2010年2011年{resetselect()}About Us| Contact Us| Site Map| Advertise on siteCopyright by Peoples Daily Online, All Rights ReservedBingCW.Init({AppID:"",ContentArea:"p_content,p_title",MachineTranslation:true,WebDefinition:true})

Leave a Reply

Your email address will not be published. Required fields are marked *

18 + 11 =