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/201207/11/F201207111509358128132852.jpg,,;r.Start();r.Add(/mediafile/201204/16/F201204161541533265025480.jpg,,;r.Start();r.Add(/mediafile/201112/31/F201112311327216291559115.jpg,,;r.Start();r.Add(/mediafile/201005/17/F201005170803181194618522.jpg,,;r.Start();Set as Homepage|Register|Sign InChinese|Big 5|French|Russian|Spanish|Japanese|Arabic|KoreanChina Politics|Special Coverage|PD Online Database|ForumFeedbackRSS   PhotosMilitaryForeign AffairsBusinessSocietyLife&CultureTravelScienceLatest News:  China urges comprehensive understanding of global imbalance
China urges respect for its territorial sovereignty
US launches new probe on Huawei, ZTE
China to further widen VAT reform
Self-developed nuclear reactor ready for export
Rich find spirit of generous giving
Air quality control: 50 years may be too long
Chinese frigates conduct drill, patrol in S. China Sea
The fifteenth Young Singer Grand Prix Peoples Daily Online Team RecruitmentMyjob may bid for ChinaHR.comEnglishForeign AffairsChina urges respect for its territorial sovereignty(Xinhua)09:47, February 02, 2013BEIJING, Feb. 1 (Xinhua) — A Chinese Foreign Ministry spokesman has slammed “obviously inaccurate” reports regarding former U.S. Deputy Secretary of State Richard Armitages visit to Beijing in October 2012, urging respect for its territorial sovereignty.In a recent interview regarding the Diaoyu Islands issue with NHK, a Japanese media group, Armitage reviewed a meeting with the Chinese side during the Beijing visit, which was also attended by some former U.S. politicians and academics.Some other media also reported the interview.”Relevant reports are obviously inaccurate,” spokesman Hong Lei said Friday.He stressed that the Chinese leaders have repeatedly explicitly told guests from various countries including the United States that the Diaoyu Island and its affiliated islets are Chinas inherent territory, which is an undeniable fact backed up by historical records and laws.The spokesman said that Chinas stance on the Diaoyu Islands issue is consistent and clear.The U.S. side should respect history and fact on issues regarding Chinas territorial sovereignty and not send wrong messages, said the spokesman. We recommend:Chinese submarines cruise South China SeaY-20 marks transformation of PLA air forceSpecial operation members in military trainingPLA air force conducts air raid drill in S. ChinaSoldiers take part in emergency military drillNavy innovate torpedo rapid-support methodsEmail|Print|Comments(Editor:叶欣、张茜)Increases the bookmarktwitterfacebookSina MicroblogdiggGoogleDeliciousbuzzfriendfeedLinkedindiigoredditstumbleuponQzoneQQ MicroblogRelated ReadingXi urges addressing sensitive issues between China, JapanIce between China, Japan can only be melted by sincere dialogueTaiwan fishing vessel sails to Diaoyu IslandMore visits bring opportunities to Sino-Japanese tiesUS dangerous stanceDetailed survey of Chinas islands to be conductedChina not fear troubles regarding Diaoyu Islands: officialASEAN Summit should not deviate from the theme due to anxietyJapan should blame Ishihara for loss in ChinaHot NewsChinese diplomacy achieves new progress in 2012: envoy
UN Security Council gets Syrian letter on reported Israeli attack: president
Kindergarten teacher accused of cutting childs nose
Fourteen plead guilty to inciting violence
Deliveries halt despite orderduringSpring FestivalBeijing denies rumor about property tax
Buddhist music a universal language
West gets lesson in Chinese operaLeave your comment0 commentsName  Selections for youSnipers training before Spring Festival
“Yantai” guided missile frigate
Afghan soldiers attend graduation ceremonyHigh school admissions a priority in Xinjiang
Rain, snow cause accidents
A Taiwan students adventure in Beijing
Huishan clay figurine snake
Old photos of Song Qingling
A shares tipped to rebound
Chinese to invest more in EUMost PopularWedding for two old men in BeijingWorld hopes China to show its leadershipOld men in Beijing announce marriageBeijing hopes to meet Tokyo halfway i…Launch of Naro complicates Korean Penin…Chinese navys shore-based missile regi…Cross-Strait compatriots share responsi…Xis remarks reflect Chinas aspiration…”Red Army” division conducts winter tra…Homecoming interrogations trouble young…OpinionsRice imports not a threat to food security
Getting workers their wages on time
Clean Your Plate CampaignOn the Road to Recovery
The Internet needs a safety net
Pollution prompts concern
System needed to help patients
Chinas reliance on oil-gas imports growing
China needs strategic balance in Asia-Pacific
Frugal wining and diningWhat’s happening in ChinaWedding for two old men in BeijingAir pollution prompts Beijing to limit fireworks
Hitchhiking to ease holiday travel burden
Chongqing police detain 3 women in sex scandal
Fourteen plead guilty to inciting violence
Teacher accused of cutting childs nose12345678910111213141516171819202122232425262728293031JanFebMarAprMayJunJulAugSepOctNovDec2007年2008年2009年2010年2011年2012年2013年{resetselect()}About Us| Contact Us| Site Map| Advertise on site| Job OfferCopyright by Peoples Daily Online, All Rights ReservedBingCW.Init({AppID:””,ContentArea:”p_content,p_title”,MachineTranslation:true,WebDefinition:true})


邮箱地址不会被公开。 必填项已用*标注

1 × 2 =

No Related Post