css.htm 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!--{block return}-->
  2. <style type="text/css">
  3. a.ftn_qqdl{
  4. color:#369 !important;
  5. text-decoration:none;
  6. }
  7. .ftn_qqdl {
  8. font-size:12px;
  9. padding:1px 0 3px 20px;
  10. margin:2px 0 0 4px;
  11. background:url("./source/plugin/xf_storage/template/ftn.png") no-repeat 0 1px;
  12. }
  13. .ftn_buttondiv {
  14. text-align:left;margin:5px 0 5px 22px;
  15. }
  16. </style>
  17. <script type='text/javascript'>
  18. appendscript('http://x.soso.com/js/xf/xflib.js','','','utf-8');
  19. try {
  20. changeOrigin();
  21. } catch(e) {
  22. }
  23. function updateDownload(aidEncode, obj) {
  24. date = new Date();
  25. imgLink = 'forum.php?mod=attachment&aid=' + aidEncode + 't=' + date.getTime();
  26. imgCode = '<img width="0" height="0" src="' + imgLink + '" />';
  27. $('ft').innerHTML = $('ft').innerHTML + imgCode;
  28. setTimeout(function() {OnDownloadClick_Simple(obj, window.event, 21504);}, 100);
  29. }
  30. function changeOrigin() {
  31. $('e_btn_attachlist').getElementsByTagName('a')[0].innerText = '{lang xf_storage:attachlist}';
  32. $('e_attachlist').getElementsByTagName('div')[0].parentNode.removeChild($('e_attachlist').getElementsByTagName('div')[0]);
  33. $('attach_confirms').style.display='none';
  34. }
  35. </script>
  36. <!--{/block}-->