分类分类
关注+2004-11-07作者:蓝点
show.php源代码:
<?
if ($action=="cp"){
echo"
滚动菜单资料输入端
文字一:
链接一:
文字二:
链接二:
文字三:
链接三:
文字四:
链接四:
文字五:
链接五:
";exit;}
if ($action=="edit"){
$wname="data.txt";#数据保存文件,属性666
$writeurl="$t1<\ a="">
$t2<\ a="">
$t3<\ a="">
$t4<\ a="">
$t5<\ a="">
";
$fp=fopen($wname,"w");
$ww=fputs($fp,$writeurl);
if ($ww){echo 文件写入成功;}else{echo 写入失败;}
exit;}
$wname="php-bin/data.txt";#由于是在页面调用,这里必须填写页面和程序相对路径或者绝对路径!
$fa=fopen($wname,"r+");
$wwww=fread($fa,filesize($wname));
echo "
var marqueewidth=118 var marqueeheight=104 var speed=1 var marqueecontents='$wwww' if (document.all) document.write(''+marqueecontents+'') function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers){ setTimeout(\"window.onresize=regenerate\",450) intializemarquee() } } function intializemarquee(){ document.cmarquee01.document.cmarquee02.document.write(marqueecontents) document.cmarquee01.document.cmarquee02.document.close() thelength=document.cmarquee01.document.cmarquee02.document.height scrollit() } function scrollit(){ if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){ document.cmarquee01.document.cmarquee02.top-=speed setTimeout(\"scrollit()\",100) } else{ document.cmarquee01.document.cmarquee02.top=marqueeheight scrollit() } } window.onload=regenerate2 " _ue_custom_node_="true"> |
相关文章
更多+相同厂商
热门推荐
点击查看更多
点击查看更多
点击查看更多
说两句网友评论