提示消息-ThinkPHP "notice" > "width:100%;text-align:left;padding-left:10px;padding-right:10px" > echo $e [ message ];?> "font:italicbol"/>
PHP头条
热点:

ThinkPHP中自定义错误页面和提示页面


  1.  
  2.  
  3. "Content-Type" content="text/html; charset=utf-8" /> 
  4. 提示消息 - ThinkPHP 
  5.  
  6. "text/css"
  7. body { font: 75% Arail; text-align: center; } 
  8. #notice { width: 300px; background: #FFF; border: 1px solid #BBB; background: #EEE; padding: 3px; 
  9. position: absolute; left: 50%; top: 50%; margin-left: -155px; margin-top: -100px; } 
  10. #notice div { background: #FFF; padding: 30px 0 20px; font-size: 1.2em; font-weight:bold } 
  11. #notice p { background: #FFF; margin: 0; padding: 0 0 20px; } 
  12. a { color: #f00} a:hover { text-decoration: none; } 
  13.  
  14.  
  15.  
  16. "notice"
  17. "width:100%;text-align:left;padding-left:10px;padding-right:10px"
  18. echo $e['message']; ?> 
  19.  
  20. "font: italic bold 2cm cursive,serif; color:red"
  21. × 
  22.  
  23.  
  24.  

  25. 在( "sec" style="color:blue;font-weight:bold">3 )秒后自动跳转,或直接点击 "javascript:window.location=''">这里 跳转
     
  26. "display:block;text-decoration:underline;cursor:pointer;line-height:25px" onclick="stop(this)">停止 
  27.  
  28.  
  29. 《script》 
  30. var seco=document.getElementByIdx_x("sec"); 
  31. var time=3; 
  32. var tt=setInterval(function(){ 
  33. time--; 
  34. seco.innerHTML=time; 
  35. if(time<=0){ 
  36. window.location='' 
  37. return
  38. }, 1000); 
  39. function stop(obj){ 
  40. clearInterval(tt); 
  41. obj.style.display="none"
  42. 《script》 
  43.  
  44.  

www.phpzy.comtrue/phpkj/588.htmlTechArticleThinkPHP中自定义错误页面和提示页面 "Content-Type" content= "text/html;charset=utf-8" /> 提示消息-ThinkPHP "notice" > "width:100%;text-align:left;padding-left:10px;padding-right:10px" > echo $e [ message ];?> "font:italicbol...

相关文章

相关频道:

PHP之友评论

今天推荐