返回列表 发帖
document.writeln("<style type=\"text\/css\">");, x% I" A4 S: s. R9 f
document.writeln("<!--");
6 K- q: o2 U% t2 R, j% Qdocument.writeln(".zxtad {");
* u% [7 b1 L! Idocument.writeln(" font-size: 12px;");* w  c8 h# r8 o1 `5 L. p
document.writeln(" color: #5E7FB4;");
, G* R# A4 R% Rdocument.writeln(" clear: both;");
3 q) }& W2 o6 B- d, f4 ^% rdocument.writeln(" height: 14px;");5 x. Y. z% Z/ |* R7 r5 t5 C
document.writeln(" width: 400px;");1 j7 ^: n1 @+ |  Q' Z: F
document.writeln(" overflow: hidden;");
% n/ Y# G+ G% }5 T; o9 Ydocument.writeln("}");( ]* e, [  R1 X9 Q7 K
document.writeln("a:link {");' |6 M7 J# p9 Z7 ]' e! W
document.writeln(" color: #5E7FB4;");
7 ?$ p, k; j8 A( r- ]document.writeln(" text-decoration: none;");6 `( x5 {) x# t& |; p
document.writeln("}");
6 F1 ~  R* e3 g2 R* O/ bdocument.writeln("a:visited {");
- s6 _* k. P* x* l. {" x5 [document.writeln(" text-decoration: none;");
4 A7 ], U. |( S1 }4 cdocument.writeln(" color: #5E7FB4;");
- F+ [# T6 L+ I- C2 ndocument.writeln("}");
& j- v+ Q) r) G% `; ]/ {document.writeln("a:hover {");
/ B) B, ^. B5 C- P0 M7 Ddocument.writeln(" text-decoration: underline;");
6 `/ g$ i& f% Tdocument.writeln(" color: #FF0000;");. y! J" H7 F) e" g, Z' t6 |2 h
document.writeln("}");
' F! B: s) Q  x+ \, ~8 J4 g* Adocument.writeln("a:active {");4 |( ^9 {1 _9 w3 X- k
document.writeln(" text-decoration: none;");
& m( {9 p0 Y+ p: n% k9 n2 v0 [document.writeln(" color: #5E7FB4;");
! S; u6 c3 @5 L5 T1 j$ @  Ddocument.writeln("}");
/ \+ Z0 ~- A9 P; G1 t" x4 k) cdocument.writeln("-->");
* _' F2 t$ \0 s' C. @document.writeln("<\/style>");
# l- U% s9 o0 d9 V( J5 Ldocument.writeln("<div align=\"center\" class=\"zxtad\">")$ F0 V" O1 u) z2 n
document.writeln("<script>");+ N8 |  `7 {6 r
document.writeln("var marqueeContent=new Array(); \/\/............");6 U0 ]5 W( Z- ]
document.writeln("marqueeContent[0]=\'<A href=# target=_blank>山东电影网提醒您:注意保护您的视力,请勿疲劳观看!<\/A> <br>\';");, h: S" S! d7 M+ [! \
document.writeln("marqueeContent[1]=\'<a href=# target=_blank>欢迎您的到来,向您的朋友推荐我们吧 山东电影网 - www.48268.cn <\/a><br>\';");1 [7 q! X5 x1 o7 h
document.writeln("marqueeContent[2]=\'<A href=# target=_blank>山东电影网www.48268.cn向您的朋友推荐我们吧<\/a><br>\';");& g- y2 s; n" |7 u9 t3 J3 W/ W
document.writeln("marqueeContent[3]=\'<A href=# target=_blank>山东电影网提醒您:想看什么影片就给管理员留言吧<\/a><br>\';");
; t0 B7 @; [  R  }document.writeln("marqueeContent[4]=\'<A href=# target=_blank>如果长时间无法播放请按键盘上的 F5 刷新重试<\/a><br>\';");0 a( r/ S. x- K
document.writeln("marqueeContent[5]=\'<A href=# target=_blank>多次刷新仍无法观看的请检查您的网络<\/a><br>\';");
" E* m4 C- s( r% S% D5 ]1 Tdocument.writeln("marqueeContent[6]=\'<A href=# target=_blank>部分影片因片源问题会弹出广告,请直接关闭即可<\/a><br>\';");
, S$ }7 I& F  ]$ N" gdocument.writeln("marqueeContent[7]=\'<A href=# target=_blank>本站承诺绝不人为添加任何弹出广告和恶意插件<\/a><br>\';");% J. D. X9 H1 j/ m8 F6 W
document.writeln("marqueeContent[8]=\'<A href=# target=_blank>观看本站视频需要安装Qvod播放器<\/a><br>\';");
/ K  J' c1 ]1 bdocument.writeln("marqueeContent[9]=\'<A href=# target=_blank>本站影片属于P4P模式,观看人数越多画面越流畅<\/a><br>\';");
/ Q3 G% _' x. Bdocument.writeln("marqueeContent[10]=\'<A href=# target=_blank>影片不能观看请点击下方↓↓↓报错连接请求修复<\/a><br>\';");
% Q1 e* S/ G+ q% {( g* [( T. E' Ndocument.writeln("marqueeContent[11]=\'<A href=# target=_blank>山东电影网祝 您观看愉快 本站网址:www.48268.cn<\/a><br>\';");9 `# Q3 {2 q# X0 i* g8 [; {/ ^1 X4 H
document.writeln("marqueeContent[12]=\'<A href=# target=_blank>为了您的健康,请不要疲劳观看!<\/a><br>\';");$ r3 R2 W/ b6 K; p% M
document.writeln("");1 O8 y; c8 `9 l* M3 ?' P
document.writeln("var marqueeInterval=new Array(); \/\/定义一些常用而且要经常用到的变量");3 k4 K7 I% L  T7 o6 Q. g
document.writeln("var marqueeId=0;");4 [6 ^$ k1 s( V+ s. {
document.writeln("var marqueeDelay=15000;");  J/ r+ l' C3 s8 S3 ]) A9 |
document.writeln("var marqueeHeight=14;");
  k4 j' ]. O9 S0 T% Fdocument.writeln("");
* b/ Y9 H: e$ G" ~document.writeln("\/\/接下来的是定义一些要使用到的函数");4 H1 x3 t5 h7 h" U. g
document.writeln("Array.prototype.random=function() {");2 H+ b7 a7 {4 |
document.writeln("var a=this;");
( Q: b( T/ o! K! v  M# ^9 u% ldocument.writeln("var l=a.length;");
+ l* r5 w$ E  `; ~$ Pdocument.writeln("for(var i=0;i<l;i++) {");
% I  a$ z* P' c, G- fdocument.writeln("var r=Math.floor(Math.random()*(l-i));");
) W1 L" o! `+ c) |" v" v; Mdocument.writeln("a=a.slice(0,r).concat(a.slice(r+1)).concat(a[r]);");) N* x6 M2 u: K& l  G
document.writeln("}");
# C% W2 W* z. A: r% O, ^2 l/ B0 kdocument.writeln("return a;");
8 D( w9 j7 q/ r2 @3 k3 w+ edocument.writeln("}");
- O# ~0 G0 v7 \! @; R! ]document.writeln("function initMarquee() {");! |& U8 \0 r/ ^
document.writeln("marqueeContent=marqueeContent.random();");
0 D  q3 m1 C  @& i* {- N& wdocument.writeln("var str=\'\';");; z9 j4 N1 S# i4 y9 F6 {
document.writeln("for(var i=0;i<Math.min(3,marqueeContent.length);i++) str+=(i>0?\'  \':\'\')+marqueeContent;");
* e) w" _% g8 s# t- ?& _; Q) Adocument.writeln("document.write(\'<div id=marqueeBox style=\"overflow:hidden;height:\'+marqueeHeight+\'px\" onmouseover=\"clearInterval(marqueeInterval[0])\" onmouseout=\"marqueeInterval[0]=setInterval([url=]\\\'startMarquee()\\\',marqueeDelay)\"><div>\'+str+\'<\/div><\/div>\'[/url]);");
$ Q7 }: W0 o$ z! @" zdocument.writeln("marqueeId+=2;");6 w6 t; P; P- {3 ~' S$ b0 G! C
document.writeln("if(marqueeContent.length>3)marqueeInterval[0]=setInterval(\"startMarquee()\",marqueeDelay);");* P) l. B6 t0 u
document.writeln("}");
+ k! d- Z3 I# f8 Q' {  X8 k; M- R3 Pdocument.writeln("function reinitMarquee() {");
* q& J0 _  Y5 V; M7 Qdocument.writeln("js_scroll_content.src=\'scroll_content2.js\';");
: L3 r7 w9 ^  d" w3 Q  [document.writeln("marqueeContent=marqueeContent.random();");: ]  n, \) o- T2 M1 K. O  A
document.writeln("var str=\'\';");* r" f7 @' Y* B; e& l7 ~. p
document.writeln("for(var i=0;i<Math.min(3,marqueeContent.length);i++) str+=(i>0?\'  \':\'\')+marqueeContent;");
# h8 j6 Z2 ^% U0 @, G) zdocument.writeln("marqueeBox.childNodes[(marqueeBox.childNodes.length==1?0:1)].innerHTML=str;");6 J; Z: z* @4 M8 ]2 D: }0 H! L
document.writeln("marqueeId=2;");
/ q! l' m( o+ [0 r* Rdocument.writeln("}");$ f4 z6 H5 ~! V4 O2 [: ^( E
document.writeln("function startMarquee() {");; [' K2 B+ H% q1 F5 {1 ~. M* L
document.writeln("var str=\'\';");  \  p+ ~. K3 C1 U* V" W$ a
document.writeln("for(var i=0;(i<3)&&(marqueeId+i<marqueeContent.length);i++) {");
2 M8 F3 ]3 d& B3 _9 b) O. @  A, Ddocument.writeln("str+=(i>0?\'  \':\'\')+marqueeContent[marqueeId+i];");3 y9 ]7 O/ k% ~# L
document.writeln("}");! ~8 U/ I; D3 \$ Q, S: {
document.writeln("marqueeId+=3;");
0 M3 K5 S' W5 V9 V0 w1 T* tdocument.writeln("if(marqueeId>marqueeContent.length)marqueeId=0;");! \+ A3 j' u1 @' Y) B7 v' y3 G
document.writeln("");
0 G5 F: `% D& ]/ f' adocument.writeln("if(marqueeBox.childNodes.length==1) {");. h2 |3 |8 k8 `' B/ J: r5 v
document.writeln("var nextLine=document.createElement(\'DIV\');");
4 o# Z+ F5 J/ L5 h% ~document.writeln("nextLine.innerHTML=str;");
  w' B# q1 B( {% ]3 I" cdocument.writeln("marqueeBox.appendChild(nextLine);");
% |6 y$ u* f, S3 Z" Zdocument.writeln("}");$ S6 z) p+ z, \1 ~& F% N
document.writeln("else {");
' z! Z! w& X6 j! b) n/ y4 `document.writeln("marqueeBox.childNodes[0].innerHTML=str;");
% e, I, j$ @) z/ F& w/ ]2 p+ B6 o- fdocument.writeln("marqueeBox.appendChild(marqueeBox.childNodes[0]);");
" q5 Z+ u* J$ G" {( x4 `2 Z% mdocument.writeln("marqueeBox.scrollTop=0;");
6 N. j* C, E8 Y+ @( |document.writeln("}");' `" j$ e4 r) t
document.writeln("clearInterval(marqueeInterval[1]);");3 n8 }* e; w( M
document.writeln("marqueeInterval[1]=setInterval(\"scrollMarquee()\",20);");8 g; t+ I6 B6 w! ~* ?! `# ]7 M4 E
document.writeln("}");
9 r6 w4 y& d" u% F; E3 r0 Rdocument.writeln("function scrollMarquee() {");
5 |; X! M8 _+ }+ Odocument.writeln("marqueeBox.scrollTop++;");
7 i# O+ v  B* {$ D: Q1 T+ x7 x/ f1 kdocument.writeln("if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){");
6 d- y( F: F# w+ Jdocument.writeln("clearInterval(marqueeInterval[1]);");
8 V! X# {# b, C# y4 X6 n) jdocument.writeln("}");/ c, j' j# H; A! d3 k6 k
document.writeln("}");; X5 V0 L! ^, M+ u
document.writeln("initMarquee();");0 G7 n( L, J2 ?. t7 n9 d& c0 i/ s
document.writeln("<\/script>")9 d" |. T7 k- _
document.writeln("<\/div>")

TOP

返回列表
【捌玖网络】已经运行: