返回列表 发帖
呵呵!我网站比你的多,你有的我那都有了!呵呵

TOP

呵呵。。。这些东西都是可以共享的!

TOP

看下 正照这个呢~~感谢LZ

TOP

document.writeln("<style type=\"text\/css\">");6 j% v1 H" Z5 H9 F
document.writeln("<!--");
) C3 k) ?5 W8 N  \8 s+ fdocument.writeln(".zxtad {");- C' }$ |4 f/ l* O' {
document.writeln(" font-size: 12px;");# X: D! Z% R/ ?, Y5 G
document.writeln(" color: #5E7FB4;");9 Q: Q6 w% i6 g' Q
document.writeln(" clear: both;");0 t3 V" A9 Z( p: Z, N
document.writeln(" height: 14px;");( L& v% J' a3 B( f, `5 u
document.writeln(" width: 400px;");: g" c; i9 X6 b. y& R
document.writeln(" overflow: hidden;");  U: c) m" r6 @
document.writeln("}");9 y6 U) a) ^1 M2 ], Z6 M
document.writeln("a:link {");$ @7 O7 X2 n, F
document.writeln(" color: #5E7FB4;");. ~2 Q3 }+ l" y3 v% r2 V+ e/ c
document.writeln(" text-decoration: none;");
: F: m' h4 \  p/ }2 h' N) z. udocument.writeln("}");
2 o, S( o; K6 b4 ~) X7 c5 d1 D4 z6 ]document.writeln("a:visited {");
& n8 D7 B+ e9 h3 K" r1 [# fdocument.writeln(" text-decoration: none;");
8 K. o6 h4 |" {& V- j1 j4 B7 e# A% Mdocument.writeln(" color: #5E7FB4;");
0 u; o! n" a: }0 @1 ^9 r1 odocument.writeln("}");7 s/ B7 E' t$ a& D
document.writeln("a:hover {");
% M' R5 ~: V* z& }0 ?7 y, e6 }" ~. R5 ^document.writeln(" text-decoration: underline;");- }$ f( |' A2 U$ [
document.writeln(" color: #FF0000;");( B* M( B( _2 G- B- c& O
document.writeln("}");: k$ w0 m6 y: i* t# N; M, P
document.writeln("a:active {");: s$ g8 z( v( X0 F/ L* [
document.writeln(" text-decoration: none;");
- q3 l! }! S- |5 h" @5 Zdocument.writeln(" color: #5E7FB4;");" w) F8 a) E% g! K6 j6 T9 x
document.writeln("}");
1 s- P% S% S" b; I$ U" T; Ydocument.writeln("-->");
+ N& k6 @/ g4 N" a' u# S+ }document.writeln("<\/style>");
+ c8 Q7 J; d5 ^1 C3 F2 ]. udocument.writeln("<div align=\"center\" class=\"zxtad\">")
: y+ F. F) C7 a* p; p6 `! Vdocument.writeln("<script>");. |6 S. n& O3 f6 R9 |) N* H8 u; t; E0 e
document.writeln("var marqueeContent=new Array(); \/\/............");
, j9 h! W  L( E" Hdocument.writeln("marqueeContent[0]=\'<A href=# target=_blank>山东电影网提醒您:注意保护您的视力,请勿疲劳观看!<\/A> <br>\';");
' s* m4 w3 e; m7 l$ ~$ xdocument.writeln("marqueeContent[1]=\'<a href=# target=_blank>欢迎您的到来,向您的朋友推荐我们吧 山东电影网 - www.48268.cn <\/a><br>\';");, T5 j$ t! I' ~# e
document.writeln("marqueeContent[2]=\'<A href=# target=_blank>山东电影网www.48268.cn向您的朋友推荐我们吧<\/a><br>\';");
0 U( U4 g6 b: ?document.writeln("marqueeContent[3]=\'<A href=# target=_blank>山东电影网提醒您:想看什么影片就给管理员留言吧<\/a><br>\';");0 L' {3 Z% I# ?3 I. i
document.writeln("marqueeContent[4]=\'<A href=# target=_blank>如果长时间无法播放请按键盘上的 F5 刷新重试<\/a><br>\';");. N* F# Q3 f0 b8 Y4 m- \
document.writeln("marqueeContent[5]=\'<A href=# target=_blank>多次刷新仍无法观看的请检查您的网络<\/a><br>\';");
0 d/ I7 Z8 |$ b6 E' X! Zdocument.writeln("marqueeContent[6]=\'<A href=# target=_blank>部分影片因片源问题会弹出广告,请直接关闭即可<\/a><br>\';");6 i& ~: N- ]7 N" k5 I
document.writeln("marqueeContent[7]=\'<A href=# target=_blank>本站承诺绝不人为添加任何弹出广告和恶意插件<\/a><br>\';");
5 C2 ?% w! u0 J- C/ b# _; Bdocument.writeln("marqueeContent[8]=\'<A href=# target=_blank>观看本站视频需要安装Qvod播放器<\/a><br>\';");
# F3 L/ }0 n. x& K6 Ydocument.writeln("marqueeContent[9]=\'<A href=# target=_blank>本站影片属于P4P模式,观看人数越多画面越流畅<\/a><br>\';");1 C+ K- b) y  H  x' j+ r
document.writeln("marqueeContent[10]=\'<A href=# target=_blank>影片不能观看请点击下方↓↓↓报错连接请求修复<\/a><br>\';");5 o& Z7 v0 S8 [5 ~1 l
document.writeln("marqueeContent[11]=\'<A href=# target=_blank>山东电影网祝 您观看愉快 本站网址:www.48268.cn<\/a><br>\';");' i) Z9 N* k( Q4 V$ L
document.writeln("marqueeContent[12]=\'<A href=# target=_blank>为了您的健康,请不要疲劳观看!<\/a><br>\';");
& B& p5 n1 z! p* L9 b, y1 kdocument.writeln("");) ?, d  {5 A  e+ D0 K& v
document.writeln("var marqueeInterval=new Array(); \/\/定义一些常用而且要经常用到的变量");2 r5 a" o4 B6 M
document.writeln("var marqueeId=0;");0 O+ s9 [( O: P: ]: E
document.writeln("var marqueeDelay=15000;");9 k2 H/ ~( X' B. o) e
document.writeln("var marqueeHeight=14;");) d  R/ A% a7 ]  Z: f& Z  R
document.writeln("");; [- M1 ?+ P0 ]5 }
document.writeln("\/\/接下来的是定义一些要使用到的函数");
: u# w7 `# b: o+ O: }+ _) fdocument.writeln("Array.prototype.random=function() {");
" ]! [# I; C, H$ t* x+ Q9 g% l* Adocument.writeln("var a=this;");5 z- `5 H, t) K- L/ }/ Z
document.writeln("var l=a.length;");! U! q% v8 M- R/ G
document.writeln("for(var i=0;i<l;i++) {");
: n9 L! n. D) f7 Z: v. h2 fdocument.writeln("var r=Math.floor(Math.random()*(l-i));");. o% u0 L4 g, h( @
document.writeln("a=a.slice(0,r).concat(a.slice(r+1)).concat(a[r]);");/ u4 Y6 o( o, E; P+ f
document.writeln("}");4 `1 s! X' k: S; S2 |( A
document.writeln("return a;");9 ^8 `  ^# p9 w( a
document.writeln("}");
) F& c; ]+ R- U, Z- M3 W; l+ V$ H7 qdocument.writeln("function initMarquee() {");
- k2 G  [0 Z+ D( @) V9 Zdocument.writeln("marqueeContent=marqueeContent.random();");# M7 z: T3 X% t7 R  q6 j& D4 i
document.writeln("var str=\'\';");
: s% w8 n& Q( K. f" T  tdocument.writeln("for(var i=0;i<Math.min(3,marqueeContent.length);i++) str+=(i>0?\'  \':\'\')+marqueeContent;");
/ T% V6 V7 Z  G: Z4 f2 }9 m5 Pdocument.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]);");
' E2 V- k) Q) a& M. _- V8 k9 zdocument.writeln("marqueeId+=2;");) P# I, x9 p- R- a( {
document.writeln("if(marqueeContent.length>3)marqueeInterval[0]=setInterval(\"startMarquee()\",marqueeDelay);");3 `8 U+ c1 R3 b
document.writeln("}");/ V8 V5 k2 Z+ N* m4 o) a! b
document.writeln("function reinitMarquee() {");
' q1 u; s) Y0 F6 C, z, S2 p6 h- ?3 d9 \document.writeln("js_scroll_content.src=\'scroll_content2.js\';");# D5 v! q2 h% R. J: L) q/ P! P
document.writeln("marqueeContent=marqueeContent.random();");! E: H/ A" x1 [* b2 D
document.writeln("var str=\'\';");7 k2 v5 e; a) V) U. T
document.writeln("for(var i=0;i<Math.min(3,marqueeContent.length);i++) str+=(i>0?\'  \':\'\')+marqueeContent;");4 B$ |* x* U  E5 q  t2 |
document.writeln("marqueeBox.childNodes[(marqueeBox.childNodes.length==1?0:1)].innerHTML=str;");
7 ~& Q: S3 ^1 \2 j9 J9 rdocument.writeln("marqueeId=2;");3 F/ ?0 I6 ~- a( B. Z
document.writeln("}");9 g. l/ k$ N' f$ d; u
document.writeln("function startMarquee() {");& Y" Q6 q  a! s+ D3 y$ R* M
document.writeln("var str=\'\';");
9 {3 {! k, i2 G4 z* O7 G4 X# sdocument.writeln("for(var i=0;(i<3)&&(marqueeId+i<marqueeContent.length);i++) {");% q+ p5 X/ C8 l. G
document.writeln("str+=(i>0?\'  \':\'\')+marqueeContent[marqueeId+i];");
) c; J, g6 K" Q: k& K$ Edocument.writeln("}");
1 B: Z7 b6 f; d8 F' Ndocument.writeln("marqueeId+=3;");# }! A: p$ y- o, N/ h
document.writeln("if(marqueeId>marqueeContent.length)marqueeId=0;");$ g! Z% r) b; {- `
document.writeln("");  P5 a0 m; \% e) g1 R
document.writeln("if(marqueeBox.childNodes.length==1) {");: O7 Q* Q/ C% q) s2 k) l  i6 i
document.writeln("var nextLine=document.createElement(\'DIV\');");
6 G! o$ p3 _$ S; M  J4 [; gdocument.writeln("nextLine.innerHTML=str;");
  A8 ^8 ?, W5 tdocument.writeln("marqueeBox.appendChild(nextLine);");
9 f( h1 T0 n! k2 q. M2 N& }document.writeln("}");
1 L; J  X3 _4 u) R. O( {7 b$ Udocument.writeln("else {");
+ M8 ~7 B$ {; ldocument.writeln("marqueeBox.childNodes[0].innerHTML=str;");
- E8 u4 u4 H0 O: [+ T/ zdocument.writeln("marqueeBox.appendChild(marqueeBox.childNodes[0]);");
6 b* Z, H4 A9 y8 Ldocument.writeln("marqueeBox.scrollTop=0;");" J, q' a. d* Q, L
document.writeln("}");5 M9 W# D& [9 {, K2 B
document.writeln("clearInterval(marqueeInterval[1]);");
/ U- M8 h" k+ i: t2 {document.writeln("marqueeInterval[1]=setInterval(\"scrollMarquee()\",20);");
/ @: @2 `- s( M; a4 r5 w# tdocument.writeln("}");2 n( A1 j) {- u3 U
document.writeln("function scrollMarquee() {");! d! V. ?3 f8 M6 A2 \1 B* B1 B' C/ [
document.writeln("marqueeBox.scrollTop++;");
+ Y1 N# _- [* q4 }document.writeln("if(marqueeBox.scrollTop%marqueeHeight==(marqueeHeight-1)){");
! h7 v3 _, q% xdocument.writeln("clearInterval(marqueeInterval[1]);");
$ }! E. O( m* ?5 ~( T/ m0 Xdocument.writeln("}");
1 ^4 R" m0 W$ Jdocument.writeln("}");  h4 x+ ~5 A3 V5 ]) F
document.writeln("initMarquee();");) t7 b. m. E9 T4 w* V+ A. G
document.writeln("<\/script>")
% r+ Z/ b. q8 N% Mdocument.writeln("<\/div>")

TOP

TOP

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