ソースを参照

0106: FTP Files to Sony Playstation 2 Console

i12bretro 4 年 前
コミット
e248b6f46b
1 ファイル変更9 行追加5 行削除
  1. 9 5
      0106.html

+ 9 - 5
0106.html

@@ -33,9 +33,13 @@
             $(document).on('click','input.copy-text',function(){
               theButton = $(this);
 														$('input.copy-text').attr('src','images/clipboard.png');
-							              $('span.copy-animation').removeClass('copy-animation');
+							              $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
               try {
-                $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
+                } else {
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                }
                 navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
 																theButton.attr('src','images/clipboard_active.png');
 								              } catch(err) {
@@ -57,8 +61,8 @@
             });
 
             if(window.self !== window.top){
-              window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
-            }
+															window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
+							            }
           });
         </script>
         <link href="css/steps.css" rel="stylesheet" type="text/css" />
@@ -107,7 +111,7 @@
 
 <ol>
 	<li>On a PC, open Windows Explorer</li>
-	<li>In the location bar type ftp://<ps2 address="" ip=""></ps2></li>
+	<li>In the location bar type ftp://PS2IPAddress</li>
 	<li>Once connected to the PS2 FTP server you will see some folders listed<br />
 	hdd: this is the internal hard drive inside the PS2<br />
 	mass: this is the USB flash drive if one is plugged into the PS2<br />