隨筆-179  評論-666  文章-29  trackbacks-0

          < HTML >
          < HEAD >
          < TITLE > ?New?Document? </ TITLE >
          < META? NAME ="Generator" ?CONTENT ="EditPlus" >
          < META? NAME ="Author" ?CONTENT ="" >
          < META? NAME ="Keywords" ?CONTENT ="" >
          < META? NAME ="Description" ?CONTENT ="" >
          </ HEAD >

          < BODY >
          < table? width ="728" ?border ="0" ?cellpadding ="0" ?cellspacing ="0" ?bgcolor ="#ffffff" > ??
          ??
          < tr > ??
          ????
          < td? align ="left" >  英文短句 </ td > ??
          ???
          </ tr > ??
          < tr >< td > ??
          < script > ??

          // 這里配置滾動字幕的屬性??
          var ?scrollerwidth = 728 ??
          var ?scrollerheight = 30 ??
          var ?scrollerbgcolor = " #ffffff " ??
          var ?scrollerbackground = " scrollerback.gif " ??

          // 修改下面的文字及文字所指向的鏈接??
          var ?messages = new ?Array()??
          messages[
          00 ] = " <font?face='Arial'><a?>What?are?you?up?to??你在忙什么呢?</a></font> " ??
          messages[
          01 ] = " <font?face='Arial'><a?>Whatever?you?think?is?fine?with?me.?我隨你。</a></font> " ??
          messages[
          02 ] = " <font?face='Arial'><a?>What?are?you?talking?about??你在說什么?</a></font> " ??
          messages[
          03 ] = " <font?face='Arial'><a?>Where?do?you?live??你住在哪兒?</a></font> " ??
          messages[
          04 ] = " <font?face='Arial'><a?m?glad?you?enjoyed?it.?你喜歡我就高興。</a></font> " ??
          messages[
          05 ] = " <font?face='Arial'><a?>Absolutely.?(用于答話)是這樣;當然是;正是如此;絕對如此。</a></font> " ??
          messages[
          06 ] = " <font?face='Arial'><a?>Absolutely?impossible!?絕對不可能的!</a></font> " ??
          messages[
          07 ] = " <font?face='Arial'><a?ll?do?my?best.?我將會盡我最大努力。</a></font> " ??
          messages[
          08 ] = " <font?face='Arial'><a?t?work.?行不通。</a></font> " ??
          messages[
          09 ] = " <font?face='Arial'><a?>Maybe?it?will?work.?也許這個辦法會有效。</a></font> " ??
          messages[
          10 ] = " <font?face='Arial'><a?>How?long?will?it?take?me?to?get?there??到那兒要多長時間?</a></font> " ??
          messages[
          11 ] = " <font?face='Arial'><a?ll?see?what?I?can?do.?我看一看能怎么辦。</a></font> " ??
          messages[
          12 ] = " <font?face='Arial'><a?>My?phone?was?out?of?order.?我的電話壞了。</a></font> " ??
          messages[
          13 ] = " <font?face='Arial'><a?s?go?visit?them.?讓我們去拜訪他們吧。</a></font> " ??
          messages[
          14 ] = " <font?face='Arial'><a?>Do?you?have?some?change??你有零錢嗎?</a></font> " ??
          messages[
          15 ] = " <font?face='Arial'><a?>You?deserve?it.?這是你應得的。?</a></font> " ??
          messages[
          16 ] = " <font?face='Arial'><a?>Do?you?have?any?hobbies??你有什么愛好嗎?</a></font> " ??
          messages[
          17 ] = " <font?face='Arial'><a?>Do?you?have?a?room?available??你們有空房間嗎?</a></font> " ??
          messages[
          18 ] = " <font?face='Arial'><a?>You?are?just?saying?that.?你只是說說而已。</a></font> " ??
          messages[
          19 ] = " <font?face='Arial'><a?s?your?job??你做什么工作?</a></font> " ??

          // /////不要修改下面的內容///////////////////////??

          if ?(messages.length > 1 )??
          i
          = 2 ??
          else ??
          i
          = 0 ??

          function ?move1(whichlayer) {??
          tlayer
          = eval(whichlayer)??
          if ?(tlayer.top > 0 && tlayer.top <= 5 ) {??
          tlayer.top
          = 0 ??
          setTimeout(
          " move1(tlayer) " , 6000 )??
          setTimeout(
          " move2(document.main.document.second) " , 6000 )??
          return ??
          }
          ??
          if ?(tlayer.top >= tlayer.document.height *- 1 ) {??
          tlayer.top
          -= 5 ??
          setTimeout(
          " move1(tlayer) " , 200 )??
          }
          ??
          else {??
          tlayer.top
          = scrollerheight??
          tlayer.document.write(messages[i])??
          tlayer.document.close()??
          if ?(i == messages.length - 1 )??
          i
          = 0 ??
          else ??
          i
          ++ ??
          }
          ??
          }


          function ?move2(whichlayer) {??
          tlayer2
          = eval(whichlayer)??
          if ?(tlayer2.top > 0 && tlayer2.top <= 5 ) {??
          tlayer2.top
          = 0 ??
          setTimeout(
          " move2(tlayer2) " , 6000 )??
          setTimeout(
          " move1(document.main.document.first) " , 6000 )??
          return ??
          }
          ??
          if ?(tlayer2.top >= tlayer2.document.height *- 1 ) {??
          tlayer2.top
          -= 5 ??
          setTimeout(
          " move2(tlayer2) " , 200 )??
          }
          ??
          else {??
          tlayer2.top
          = scrollerheight??
          tlayer2.document.write(messages[i])??
          tlayer2.document.close()??
          if ?(i == messages.length - 1 )??
          i
          = 0 ??
          else ??
          i
          ++ ??
          }
          ??
          }
          ??

          function ?move3(whichdiv) {??
          tdiv
          = eval(whichdiv)??
          if ?(tdiv.style.pixelTop > 0 && tdiv.style.pixelTop <= 5 ) {??
          tdiv.style.pixelTop
          = 0 ??
          setTimeout(
          " move3(tdiv) " , 6000 )??
          setTimeout(
          " move4(second2) " , 6000 )??
          return ??
          }
          ??
          if ?(tdiv.style.pixelTop >= tdiv.offsetHeight *- 1 ) {??
          tdiv.style.pixelTop
          -= 5 ??
          setTimeout(
          " move3(tdiv) " , 200 )??
          }
          ??
          else {??
          tdiv.style.pixelTop
          = scrollerheight??
          tdiv.innerHTML
          = messages[i]??
          if ?(i == messages.length - 1 )??
          i
          = 0 ??
          else ??
          i
          ++ ??
          }
          ??
          }
          ??

          function ?move4(whichdiv) {??
          tdiv2
          = eval(whichdiv)??
          if ?(tdiv2.style.pixelTop > 0 && tdiv2.style.pixelTop <= 5 ) {??
          tdiv2.style.pixelTop
          = 0 ??
          setTimeout(
          " move4(tdiv2) " , 6000 )??
          setTimeout(
          " move3(first2) " , 6000 )??
          return ??
          }
          ??
          if ?(tdiv2.style.pixelTop >= tdiv2.offsetHeight *- 1 ) {??
          tdiv2.style.pixelTop
          -= 5 ??
          setTimeout(
          " move4(second2) " , 200 )??
          }
          ??
          else {??
          tdiv2.style.pixelTop
          = scrollerheight??
          tdiv2.innerHTML
          = messages[i]??
          if ?(i == messages.length - 1 )??
          i
          = 0 ??
          else ??
          i
          ++ ??
          }
          ??
          }
          ??

          function ?startscroll() {??
          if ?(document.all) {??
          move3(first2)??
          second2.style.top
          = scrollerheight??
          second2.style.visibility
          = 'visible'??
          }
          ??
          else ? if ?(document.layers) {??
          document.main.visibility
          = 'show'??
          move1(document.main.document.first)??
          document.main.document.second.top
          = scrollerheight + 5 ??
          document.main.document.second.visibility
          = 'show'??
          }
          ??
          }
          ??

          window.onload
          = startscroll??

          </ script > ??
          < ilayer? id ="main" ?width =&{scrollerwidth};? height =&{scrollerheight};? bgColor =&{scrollerbgcolor};? background =&{scrollerbackground};? visibility =hide > ??
          < layer? id ="first" ?top =1? width =&{scrollerwidth}; > ??
          < script > ??
          if ?(document.layers)??
          document.write(messages[
          0 ])??
          </ script > ??
          </ layer >< layer? id ="second" ?top =0? width =&{scrollerwidth};? visibility =hide > ??
          < script > ??
          if ?(document.layers)??
          document.write(messages[
          1 ])??
          </ script > ??
          </ layer ></ ilayer >

          < script > ??
          if ?(document.all) {??
          document.writeln('
          < span?id = " main2 " ?style = " position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hiden;background-color:'+scrollerbgcolor+'?;background-image:url('+scrollerbackground+') " > ')??
          document.writeln('
          < div?style = " position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0?'+scrollerwidth+'?'+scrollerheight+'?0);left:5;top:0 " > ')??
          document.writeln('
          < div?id = " first2 " ?style = " position:absolute;width:'+scrollerwidth+';left:5;top:1; " > ')??
          document.write(messages[
          0 ])??
          document.writeln('
          </ div > ')??
          document.writeln('
          < div?id = " second2 " ?style = " position:absolute;width:'+scrollerwidth+';left:5;top:0;visibility:hidden " > ')??
          document.write(messages[
          1 ])??
          document.writeln('
          </ div > ')??
          document.writeln('
          </ div > ')??
          document.writeln('
          </ span > ')??
          }
          ??
          </ script > ??
          </ td ></ tr > ??
          </ table > ?

          </ BODY >
          </ HTML >
          posted on 2006-10-18 10:47 Alpha 閱讀(3066) 評論(0)  編輯  收藏 所屬分類: JavaScript
          主站蜘蛛池模板: 修水县| 马公市| 寻乌县| 民权县| 淳化县| 台中县| 屏山县| 安仁县| 页游| 大余县| 凤凰县| 封开县| 马公市| 乌兰察布市| 玉屏| 垫江县| 泽库县| 名山县| 方正县| 辽宁省| 成安县| 汽车| 梁河县| 从江县| 卢龙县| 西林县| 鞍山市| 蓝山县| 山丹县| 东阳市| 同心县| 永济市| 张家界市| 行唐县| 湖口县| 信丰县| 赣州市| 栖霞市| 婺源县| 柘城县| 徐汇区|