çªç¶ã§ãããWikiWikiã£ã¦ä¾¿å©ã§ãããã
èªåã¯ãå人çãªã¡ã¢ã¯ PukiWikiã«ã¡ã¢ã£ã¦ãã¾ããä»ã ã£ãããGoogle Documentã¨ãã«Evernoteã«ã¡ã¢ãã¨ããã®ãã¢ãªãªãã§ããããã©ã貧弱ãªãã·ã³ã«ã¯ ã¡ã¨ãªããéããããã¢ã¯ã»ã¹ç®¡çãèªåã§ç®¡çã§ããã®ã§ããã使ã£ã¦ãã¾ãã
ã§ããã使ãPukiWikiãªãã§ãããææããããããã¨å«ã¶äºãããã¾ãã
ããã¯ãæ·»ä»ãã¡ã¤ã«ã®ãã¹æå®ã®æãªãã§ãã
â¦ä½ã§ãã¢ãããã¼ããããã¡ã¤ã«ãããã¡ã¤ã«å
¥åæ¬ã«ãã©ãã°ï¼ããããããã¦ãããªãã®ï¼
1 posted by (C)wacky
ã»ãã¥ãªãã£ã¨ãè¨ãããããã¾ãç´å¾ããããç¡ããã§ãããGoogleã®ã¦ã§ãã¢ã«ãã ã§ã¯ãããããã¨ãªã¢ã«ãã¡ã¤ã«ããã©ãã°ï¼ãããããã¦ãã¢ãããã¼ãåºæ¥ããã§ããã
2 posted by (C)wacky
ããã ããããããããããã ãï¼
ä¸ã
ãã¡ã¤ã«ãã¤ã¢ãã°ãéãã¦ãã¢ãããã¼ããããã¡ã¤ã«ããã³ãã³é¸æãã¦ãããªãã¦ãåæ代çãªç似㯠ãããããªããã ãã
ã¤ãã§ã«è¨ãã¨ãä»ä½¿ã£ã¦ãããã©ã¦ã¶ã§ãããããããããã ãã
HTML5ãªããã¨ãã足åãã¯åå¼ãã¦ã¡ãã¼ã ãã
ã¨ãã訳ã§ãã©ãããã°åºæ¥ããã奮éãã¦ã¿ã¾ããã
æ å ±åé
ä½è«ã§ããããã®ãã¡ã¤ã«å
¥åæ¬ã¸ã®ãã©ãã°ï¼ããããã§ãããChromeã ã¨ããã©ã«ãã§åºæ¥ã¡ããã¾ãã
ãªã®ã§ãä»åã®ãã¿ã¯IEãªã³ãªã¼ã§ãã(FireFoxããææ°çã ã¨åºæ¥ãã¿ããã ãã)
ã¾ãã¯ãGoogleã®ã¦ã§ãã¢ã«ãã ã§ãããã½ã¼ã¹ãçºãã¦ã¿ãã¨ãã©ãããããããã¨ãªã¢ã¯ãActiveXã³ã³ããã¼ã«ã£ã½ãã§ãã
ä»ã«æ¹æ³ãç¡ãã®ãï¼ã¨è¨ãã¨ãâãã®Web siteã§ã®æ¤è¨¼ã§ã¯ãActiveXã¨FTPãã¯ãªãããã¼ããããããç¡ã模æ§ã
- ãã©ã¦ã¶UIã«ãããå¹çã®ãããã¡ã¤ã«ã¢ãããã¼ãï½blogï½ããã¿ã©ã
http://www.tatamilab.jp/rnd/archives/000127.html
FTPã®ä»£ããã«ãWebDAVã使ãèªä½ãã©ã°ã¤ã³ããPukiWikiã®ãªãã£ã·ã£ã«ãµã¤ãã«ããã¾ãã
- èªä½ãã©ã°ã¤ã³/dav.php - PukiWiki-official
http://pukiwiki.sourceforge.jp/?%E8%87%AA%E4%BD%9C%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%2Fdav.php
ä»ã«ã¯ããªãã£ã·ã£ã«ãµã¤ãã«ãè¤æ°ãã¡ã¤ã«ãã¢ã¼ã«ã¤ããããã¡ã¤ã«ãã¢ãããã¼ãããäºã§ããµã¼ãã¼å
ã§å±éãã¦æ ¼ç´ãã¦ããããã¨ããèªä½ãã©ã°ã¤ã³ãããããã§ããããã¯ãèãæ¹ã®åå©ã¨ãã奴ã§ããã
æ¹é決å®
å ã®ãªãã£ã·ã£ã«ãµã¤ãã®èªä½ãã©ã°ã¤ã³ãæ¤è¨ããã®ã§ããããã£ã±ãããã©ãã°ï¼ãããããããããããããã¨ããäºã§ãActiveXãè²¼ãä»ãã¦ããããããã¹ãã²ããããæ¹æ³ãæ¤è¨ãã¾ãã
æ«ãã°ã°ãã¨ããã®ãã®ãºããªãªãã®ãè¦ã¤ããã¾ããã
- Tip: Drag & Drop Files into I.E. (JScript/OLE) - CodingForums.com
http://codingforums.com/showthread.php?t=36896
ã³ã¼ãã®ãã¢ã¯ãobjectã¿ã°ã§ActiveXã³ã³ããã¼ã«ãè²¼ãä»ããéãOleDropMode ããããã£ãæå¹ã«è¨å®ããäºã¨ãOLEDragDropã¤ãã³ãã§ãã£ãããããããã¹æ å ±ãåå¾ããæã¿ããã§ãã
<object id="IAnimation" classid="clsid:B09DE715-87C1-11D1-8BE3-0000F8754DA1"> <param name="OleDropMode" value="1"> </object> <script type="text/JScript"> function IAnimation::OLEDragDrop(Data){ if(Data.GetFormat(15)){ var O = ""; var e = new Enumerator(Data.Files); while(!e.atEnd()){ O += e.item() + "\n"; e.moveNext(); } output.value = O; BackColor=0x80000003;} }
âä¸ã§ä½¿ã£ã¦ããActiveXã¯Animationã³ã³ããã¼ã«ã®ããã§ãããã調ã¹ã¦ããã¨ãæè¿ã®Windowsã®ãããã§ããã®ã³ã³ããã¼ã«ãWebä¸ã§ä½¿ããªããã Kill Bitæå®ããã¦ããããã§ãã
ä»ã«ãOleDropModeã§ãããããªActiveXãç¡ããã®ãï¼ã¨èª¿ã¹ã¦ããã¨ãææ²ç¤ºæ¿ã§ã°ãããªæ å ±ãè¨è¼ããã¦ãã¾ãããã¾ãã¾ã
- HTAããã£ã¨æµè¡ãããè¨ç»
http://mimizun.com/log/2ch/tech/1124559962/833
833 ï¼ããã©ã«ãã®åç¡ãããï¼2008/05/29(æ¨) 23:01:44 ããã¹ãã³ Clipboard.HTAã£ã¦ã¦ã£ã³ãã¦ã«D&Dãããã¡ã¤ã«ãã¯ãªãããã¼ãã«ã³ãã¼ããã¹ã¯ãªãããªãã ãã© ãã®ãD&Dãããã¡ã¤ã«ãæ¾ãæ¹æ³ã以å¤ã«ç¡ãã®ï¼ãã£ã¦äº Clipboard.HTAããæä½éå¿ è¦ãªé¨åã ããåãåã㨠<object id="dd_1c" classid="CLSID:8E3867A3-8586-11D1-B16A-00C0F0283628" > <PARAM NAME="OLEDropMode" VALUE="1"><PARAM NAME="Style" VALUE="1"><PARAM NAME="Simpletext" VALUE="ããã«ï¼¤ï¼ï¼¤"> </object> function dd_1c::OLEDragDrop(Data,e){ //Data.Files.;DDãããã¡ã¤ã«ã®æ° //Data.Files.Item(n);nï¼1ãã§DDãããã¡ã¤ã«ã®ãã«ãã¹ if(e==7){ //ãã£ã¡ã¯ãã¡ã¤ã«ã§ã }else{ //ãã£ã¡ã¯ãã¡ã¤ã«ä»¥å¤ã®ä½ã } } ã§ãobjectã«ãã¡ã¤ã«ãD&Dããã¨Data.Files.Item(n)ã«D&Dãããã¡ã¤ã«ã®ãã¹ãåå¾åºæ¥ããã ãã© ãã®æ¹æ³ãããªãã¸ã§ã¯ãã«D&Dãããã¡ã¤ã«ãæ¾ããäºããåºæ¥ãªãããã ããã®ããã¹ãããã¯ã¹ã«ãã¡ã¤ã«ãD&Dãããâ¦ãã£ã¦äºã¯åºæ¥ãªããã ã ã ããä»ã®æ¹æ³ç¡ãããªã£ã¦
ä¸ã®æ
å ±ãçµã¿åããã¦ã¿ãã¨ããã¼ã«ã«ãã¡ã¤ã«ããIEã«ãã©ãã°ï¼ãããããã¦ãã¡ã¤ã«ãã¹ãå¾ãããäºãå¤ãã¾ããã
è¶ããããªãå£
ãã¡ã¤ã«ãã¹ãå¾ãããããINPUTã¿ã°ã®ãã¡ã¤ã«å
¥åæ¬ã«ãã¹ã¯ãªããã§æ¸ãè¾¼ãã°å®äºã ãã¨æã£ãã®ã§ããã
ããããã¯åå±ãå¸ããªãããã§ãTYPE='FILE'æå®ã®ããã£ããã®ã¯ãã¹ã¯ãªããã§è¨å®åºæ¥ãªã模æ§ã
確ãã«ãç´æ¥ãã¡ã¤ã«å
¥åæ¬ã«ãã¼å
¥åãããã¨ãã¦ããå
¥åããããã¦ãããªãâ¦ã
調ã¹ã¦ããã¨ãæã¯ã¯ãªãããã¼ãçµç±ã§INPUTã¿ã°ã«å
¥ããäºãåºæ¥ãããã§ãããç¾å¨ã¯ ãããé©ããªã模æ§ã
ã»ãã¥ãªãã£å³ãããªããâ¦ã¾ããå½ç¶ãã
TYPE='TEXT'æå®ã«å¤ãã¦ãéããæãèããã®ã§ãããä»ã«å¼ããªãã¨ãããªãã³ã¼ããå¤ãäºã«æ°ä»ãã¦ãããå
«æ¹å¡ãã«é¥ãã¾ãããorz
(PHPã®è¨èªä»æ§ç¥ããªããã)
æ«æ
ã¨ãã訳ã§ã
- IEã«ãã¼ã«ã«ãã¡ã¤ã«ããã©ãã°ï¼ããããããã¨ããã¡ã¤ã«ãã¹ãã¯ãªãããã¼ãã«ã³ãã¼ãã
- ãã¡ã¤ã«ãã¤ã¢ãã°ããã¨ããããéãã ãè¡ã
ã¾ã§ã¯ãå®ç¾ããäºã«ãããã®å¾ã¯
- 人éã®æã§è²¼ãä»ãï¼éããï¼ã¢ãããã¼ããè¡ã£ã¦ãããã
ã¨ããä¸éå端ãªå¯¾å¿ã¨ãªãã¾ããã
以ä¸ã«ãplugin/attach.inc.php ãã©ã°ã¤ã³ã«å¯¾ããããããã³ã¼ãã示ãã¾ãã(1.4.7ã§ç¢ºèªæ¸ã¿)
--- F:\Wacky\Test\pukiwiki\attach.inc.php 2010-09-05 17:07:25.281250000 +0900 +++ F:\Wacky\Test\pukiwiki\attach.inc.php.new 2010-09-05 17:07:33.578125000 +0900 @@ -419,11 +419,32 @@ <span class="small"> $msg_maxsize </span><br /> - <label for="_p_attach_file">{$_attach_messages['msg_file']}:</label> <input type="file" name="attach_file" id="_p_attach_file" /> + <label for="_p_attach_file">{$_attach_messages['msg_file']}:</label> <input type="file" name="attach_file" id="_p_attach_file"/> $pass <input type="submit" value="{$_attach_messages['btn_upload']}" /> </div> </form> +<!-- IE only --> +<object id="DnD_Box" classid="clsid:8E3867A3-8586-11D1-B16A-00C0F0283628" width="350" height="100"> + <param name="OleDropMode" value="1"> + <param name="Style" value="1"> + <param name="SimpleText" value="In this area, please do Drag & Drop of a file."> + <param name="allowScriptAccess" value="always"> +</object> +<script type="text/JScript"> +function DnD_Box::OLEDragDrop(Data){ + if(Data.GetFormat(15)){ + var O = ""; + var e = new Enumerator(Data.Files); + O = e.item(); + //alert(O); + DnD_Box.SimpleText = O; + clipboardData.setData("Text", O); // ãã¡ã¤ã«ãã¹ãã¯ãªãããã¼ã㸠+ //document.getElementById("_p_attach_file").value = clipboardData.getData("Text"); + document.getElementById("_p_attach_file").click(); // ãã¡ã¤ã«ãã¤ã¢ãã°ãéãã ã + } +} +</script> EOD; }
æå¾ã«
ã¨ãã訳ã§ãä»åã¯éä¸æ«æã¨ããçµæã«é¥ãã¾ããã
ãããHTMLã«è©³ããæ¹ãå±
ããã¾ããããå®å
¨çãä½ã£ã¦é ããªãããªï¼ã¨æã次第ã§ããã¾ããã¾ãã