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;//初始化显示区域this._img.style.visibility = "hidden";//第一次变换时不显示红x图this._img.style.width = this._img.style.height = "100%"; this._img.style.border = 0;this._img.onmouseover = Bind(this, this.Stop);this._img.onmouseout = Bind(this, this.Start);isIE && (this._img.style.filter = "revealTrans()");this._a.target = "_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.style.visibility = "";//设置图片属性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,,http://english.people.com.cn/102775/205557/index.html);r.Start();r.Add(/mediafile/201204/16/F201204161541533265025480.jpg,,http://english.people.com.cn/102775/100668/204459/index.html);r.Start();r.Add(/mediafile/201112/31/F201112311327216291559115.jpg,,http://english.people.com.cn/102775/203908/index.html);r.Start();r.Add(/mediafile/201005/17/F201005170803181194618522.jpg,,http://en.ynta.gov.cn/default.aspx);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:  At least 23 killed in separate attacks in Iraq
2 jailed for selling fake branded dresses
Fireworks outlets to be slashed
Women spot the mischief behind glass skywalk
Beijing storm leaves passengers stranded
Saddam Husseins half-brother dies in Baghdad
42 dead in violence in Egyptian capital: Health Ministry
KSE surges 0.84 pc as Moodys hails Pak-IMF deal
Son of Chinese tenor charged with rape
Chinese VP vows strong ties with LesothoEnglishChina SocietyWomen spot the mischief behind glass skywalkBy Xu Chi  (Shanghai Daily)08:00, July 09, 2013A transparent skywalk in a newly opened department store has the ladies fuming.The glass skywalk, about 30 meters long and 6 meters wide, on the fourth floor of Global Harbor, a new shopping mall on Zhongshan Road N., has been a major hit with the men but women are not finding it funny. Guys dont venture up to the fourth floor but have been clicking away at will from a floor below and posting pictures of women on their microblogs - their innerwears being the major focus of their attention.And with the weather being what it is lately, the shutterbugs are having a field day. Understandably, the see-through skywalk has been dubbed as the "bridge of accidental exposures" by netizens."It is so sickening to see the peeping toms taking pictures," wrote a netizen "Sarah.""But it is also so inconsiderate of the shopping mall to design a bridge that embarrasses female customers," she said.Another netizen "Elsa Xu" penned: "The decorations of the shopping mall are quite impressive and the food is not bad. But girls, do not dare to go across the skywalk in skirts.""You would better wear pants as the glass bridge may easily get you exposed. And very often customers can be seen taking pictures from below," said Xu. But there have been other complaints as well which make it a rough opening for the people behind the mall. Many shops and restaurants were not yet open, prompting a barrage of complaints on the microblogs.A blogger complained that a Japanese restaurant offered a 50 percent discount on Saturday but there was no sign of the store when she arrived. She said many stores were still working on their interior decor, the cell phone signal was low, traffic around the mall was too heavy and the mall smelled of strong paint.The shopping mall operator said on its official microblog that it will make more parking spaces available this month and said all the restaurants will be open by the end of this year.But it has stayed away from commenting on the skywalk.We Recommend:Chinas weekly story (2013 6.15-6.21)Nightclub girls: Living at nightPhoto story: Chinese crowdsExperiences of hazy life in BeijingTechnology to crack down on fake productsDog carrying cat down streetWait and See! I can catch you, ratsA university graduates shepherd careerTerraced fields in southwest ChinaEmail|Print|Comments(Editor:GaoYinan、Wang Jinxue)Increases the bookmarktwitterfacebookSina MicroblogdiggGoogleDeliciousbuzzfriendfeedLinkedindiigoredditstumbleuponQzoneQQ MicroblogRelated Reading"Follow Me" photo series going viral onlineTo capture spirit as well as great faces in pairsMost scary fishes on our planet All types of pets seen on Pet Expo 2013 in Vancouver Old photos of China in the Republican era Hungry foxes seek food from oil workers in NW China Insect on a flower petal, Jingzhe in photosWorlds longestkebab reaches 150.6 metersHot NewsEgypt at crossroads amid uncertainty over political crisis
Nigerian state closes all secondary schools after massacre
Natural disasters on Chinese mainland kill 782
Taobao offers option to hire someone to visit parents
Need for structural reform seen growing
High hopes for upcoming China-US talks
Strongman contestants visit Shaolin Temple
Chime bells unearthed in Yejiashan graveyardLeave your comment0 commentsName  Selections for you5 Taliban fighters killed in army operationsAfghan forces participate in operation against Taliban
Boeing 777 plane from ROK crashes
Underwater kissing competition
Citizens beat heat in waterside leisure zone
National cat tour competition in Harbin
List of top ten Chinese noodles released
Murray beats Djokovic to win Wimbledon title
Central bank: Fake note can be identified
Dreamliner to serve Beijing-Haikou routeMost PopularTwo Chinese women killed in Asiana jet …Chinese president offers condolences, o…Chinese Navy Shijiazhuang guided-missil…Sino-Swiss free trade pact signed in Be…The Boeing 777 Passenger mumbled a pra…Peng Shuai, Su-Wei Hsieh win Wimbledon …61 Chinese workers return after disputeJiaxing-Shaoxing Sea Bridge in E China Gold import picks up despite price decl…Six highlights of China-Russia maritime…OpinionsHospitals should be citys priority
Job seekers should be cautious abroad
Comment: Lessons from Egyptian irony
Thinking small begins to yield results
Need for structural reform seen growing
Time to set past differences by the wayside
Netizens argue validity of top 10 Chinese noodles
Chinese-Swiss FTA, a model for cooperation with EU
Witnesses account of Xinjiang terror attacks
Culture facilities should be better managed: ministerWhat’s happening in ChinaRelatives of Chinese victims in Asiana jet crash head for U.S.Son of Chinese tenor charged with rape
Parents of plane crash victims leave for U.S.
Booming security industry needs skilled youth
Convicted tycoon asks court for help
Black lung sufferers receive govt damages12345678910111213141516171819202122232425262728293031JanFebMarAprMayJunJulAugSepOctNovDec2007年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:"http://english.peopledaily.com.cn/",ContentArea:"p_content,p_title",MachineTranslation:true,WebDefinition:true})

Leave a Reply

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

four + 8 =