4/20/2020

ReNamer v6.7 超強改檔名工具(檔案批次重命名)

ReNamer v6.7 超強改檔名工具(檔案批次重命名)

ReNamer 是個功能非常完整、相當實用的專業級檔案重命名軟體可以幫我們將整個資料夾的全部檔案一次重新命名成你要的樣子。

支援的命名功能包含從前面或後面插入指定文字、在指定位置(字數)插入文字、刪除前面/後面指定數量的文字、搜尋並移除/替換檔名中的指定文字、重新排列原本的檔名文字順序、修改大小寫、加入流水編號、去除括號或其他特殊符號… 與其他進階功能還可支援 Scripts 編寫與自動化操作。

ReNamer 比起其他類似軟體多了很多超實用的功能,
同一個任務可以同時加入多個命名規則並可任意調整執行順序對於檔名問題比較複雜的情況相當好用。

官方網站

4/09/2020

Node.removeChild() Node.replaceChild() Node.appendChild() Node.insertBefore() Node.hasChildNodes() createElement()

createElement() 方法通過指定名稱創建一個元素

00
00
00
00
00
00

4/05/2020

input range option label

input range option label
input range拖動實時觸發事件

00
00
00
00
#html input range option label#html input range拖動實時觸發事件

input radio Checkboxes

input radio/Checkboxes 選擇框

00
00
00
00
00
00
00
#html input radio Checkboxes#html input radio#html input Checkboxes#html 選擇框

HTML input text 文字輸入欄位用來讓網友輸入文字

HTML input text 文字輸入欄位用來讓網友輸入文字

<input type="text" size="20" value="123456" />
<input type="text" size="20" value="123456" onclick="this.select()"   />
<input type="text" size="20" value="123456" onmouseover="this.select()"   onmouseout="this.blur();" /> 
<input type="text" size="20" value="123456" onchange="this.select()" onclick="this.select()"  />
<input type="text" size="20" value="123456" maxlength="10"/>
<input type="text" size="20" value="123456" readonly />
<input type="text"  size="20"  value="123456" disabled />
<input type="password" size="20" value="123456"  />
<input onfocus="this.value='焦點在此" onblur="this.value='焦點移開'"  size="20" type="text" value="焦點移開" />
<input type="number" size="20"  value="123456"  />
<form>  <input type="text">  <input type="reset" value="清除表單"> </form>
  
<input type="color" onchange="alert(this.value)">
<input type="date">
<input type="datetime-local">
<form action="demo_form.asp"> <input type="email" />   <input type="submit" /> </form>
<input type="month" >
<form action="demo_form.asp"> Quantity (between 1 and 5): <input max="5" min="1" name="quantity" type="number" />   <input type="submit" />
Quantity (between 1 and 5):
<input type="time" >
<input type="week" >
<input type="file" multiple >
#html input#html datalist #html input radio#html tickmarks

4/02/2020

script alert() prompt() confirm() 彈出來的是對話視窗

Javascript alert() / prompt() / confirm() 彈出來的是對話視窗 函式

alert()   彈出個提示框 (確定),無返回值。
confirm() 彈出個確認框 (確定,取消),按確定,返回true; 按取消返回false。
prompt() 彈出個輸入框 讓你輸入東西,返回 用戶輸入的值。

alert(顯示警告框的信息) :

confirm(顯示警告框的信息) :

prompt("信息" , 顯示輸入框的默認值 ) :




<button onclick="alert( 'ⓐⓑⓒⓓⓔⓕⓖ \n ⒶⒷⒸⒹⒺⒻ' )">我是按鈕</button>



<button onclick="myFunction()">Try it</button>

<span id="demo1"></span >
<script>
function myFunction() {
  if (confirm("Press a button!")) { demo1.innerHTML = "You pressed OK!";  }
                                           else { demo1.innerHTML = "You pressed Cancel!";  }
}
</script >



<script>
function myFunction() {
  var person = prompt("Please enter your name:", "Harry Potter");
        if (person == null || person == "") { demo2.innerHTML  = "User cancelled the prompt."; }
                           else {  demo2.innerHTML = "Hello " + person + "! How are you today?"; }
 }
</script>

#Javascript alert()#Javascript prompt()#Javascript confirm()#html 彈出對話視窗#alert()#prompt()#confirm()

文字 水平置中 垂直置中

文字 水平置中 垂直置中

<div style="background-color: #c7ff91; height: 100px;
line-height: 100px; text-align: center; width: 300px;">
       測試文字垂直置中
</div>

 測試文字垂直置中
<div style="background-color: #c7ff91; height: 100px; width: 300px; 
display:table-cell;vertical-align: middle;text-align: center;">
垂直置中
</div>
測試文字垂直置中

<p>1234</p>
<center>
        <p>5678</p>
</center>

1234

5678

#html 文字 水平置中 垂直置中文字 水平置中 垂直置中#html center

marquee 跑馬燈

marquee 跑馬燈

<marquee behavior=alternate>內容</marquee>左 右 移動
內容
<marquee hspace="70">左、右空白70xp</marquee>
左、右空白70xp
<marquee loop="0">執行無限次</marquee>
執行無限次

<marquee loop="3">執行3次 </marquee>
執行3次

<marquee scrolldelay="100">間隔時間</marquee>
間隔時間

><marquee scrolldelay="500">間隔時間</marquee>
間隔時間

<marquee scrollamount="50">移動50xp</marquee>
移動50xp

<marquee scrollamount="1">移動1xp</marquee>
移動1xp

<marquee behavior="slide">內容</marquee>
內容

<marquee direction="right">內容</marquee>
內容

<marquee direction="up">內容</marquee>
內容

<marquee direction="down">內容</marquee>
內容

<marquee onmouseover="this.stop(); " onmouseout="this.start();">滑鼠到此</marquee>
滑鼠到此

<marquee scrollamount="40" style="width:40px" ><b>內容</b></marquee>
內容
<marquee vspace="30">上下空白30xp</marquee>
上下空白30xp
This text will bounce

<marquee direction="down" width="100%" height="200" behavior="alternate" >
      <marquee behavior="alternate">
           This text will bounce
      </marquee>
</marquee>

<marquee style="vertical-align:middle;" scrollamount="5" width="40">&lt;&lt;&lt;</marquee>
ABCDE
<marquee style="vertical-align:middle;" direction="right" scrollamount="5" width="40">&gt;&gt;&gt;</marquee> <<<ABCDE >>>
#html marquee#html scrollamount #html onmouseout #html direction #html onmouseover #html 跑馬燈#html scrolldelay #html marquee

button input

button input onchange onfocus width height


HTML button 屬性
disabled : 不能夠動作的按鈕,僅能看不能按。
name : 按鈕的名稱 。
type : 按鈕的類型 button單純按鈕/reset清空表單/submit送出表單。
value : 就是按鈕的値 。
autofocus : 規定當頁面加載時按鈕應當自動地獲得焦點。

HTML button 事件
用來觸發某種 JavaScript 動作,例如 onclick="function ()"
onclick="{javascript}"

<input onclick="alert('你按動了我')" type="button" value="按我" />

<button class="Bt" type="button">我是按鈕</button>   

<style> 
.Bt { background-color:silver;border: 3px outset #d5d5d5;
        color: black; cursor: pointer; font-size: 20px; width: 150px; height:50px; }
.Bt:active {border: 5px inset #d5d5d5;}
</style> 

<button class="Bt1" type="button">我是按鈕</button>   

<style> .Bt1 { background-color: silver;
 border-radius:50% 50% 50% 50%; border: 3px outset #d5d5d5; color:black;
cursor:pointer; font-size:20px; height:50px; width:150px;}
.Bt1:active {border: 5px inset #d5d5d5;}
</style>

<button class="Bt1" type="button">我是按鈕</button>   

<button class="Bt1" type="button"><marquee scrollamount="5" width="40">&lt;&lt;&lt;</marquee>按我 <marquee scrollamount="5" direction="right" width="40">&gt;&gt;&gt;</marquee></button> 

<button class="Bimg" type="button"></button>

<style>
.Bimg{
    background:url( https://XXX.jpg ) no-repeat;
    cursor:pointer;
    -moz-background-size: contain; 
    -o-background-size: contain; 
    -webkit-background-size: contain;
    background-position: center;      
    background-repeat: no-repeat;    
    border: 5px outset #d5d5d5;
    background-size: cover;
    height: 150px;width:180px }
.Bimg:active { border: 5px inset #d5d5d5; }
</style>

<button class="Bimg1" value="按我"><marquee scrollamount="40" scrolldelay="600" style="width:120px" >按我</marquee></button>
<style>
.Bimg1 {background-color: silver; 
        border: 3px outset #d5d5d5; 
        color: black; 
        cursor: pointer; 
        font-size: 20px; 
        height: 50px; width: 150px;}
.Bimg:active { border: 5px inset #d5d5d5; }
</style>

#html <button>#html <button> onclick#html <button> autofocus#html <button> type

HTML 標籤 dl 排版技巧

HTML 標籤 <dl> <dt> <dd> 排版技巧

00
00
00
#html dl #html 排版技巧

CSS display 標簽 區塊 @ div,

CSS display 屬性

CSS display 屬性 : 設定網頁元素的顯示類型,HTML 元素本身的顯示類型就是預設的,而且每一種不同的元素都會有自己的預設值,常見的顯示類型有「區塊元素」與「內行元素」。
display:block display:none
描述
none此元素不會被顯示。
block此元素將顯示為塊級元素,此元素前後會帶有換行符。
inline默認。此元素會被顯示為內聯元素,元素前後沒有換行符。
inline-block行內塊元素。(CSS2.1 新增的值)
list-item此元素會作為列表顯示。
run-in此元素會根據上下文作為塊級元素或內聯元素顯示。
compactCSS 中有值 compact,不過由於缺乏廣泛支持,已經從 CSS2.1 中刪除。
markerCSS 中有值 marker,不過由於缺乏廣泛支持,已經從 CSS2.1 中刪除。
table此元素會作為塊級表格來顯示(類似 <table>),表格前後帶有換行符。
inline-table此元素會作為內聯表格來顯示(類似 <table>),表格前後沒有換行符。
table-row-group此元素會作為一個或多個行的分組來顯示(類似 <tbody>)。
table-header-group此元素會作為一個或多個行的分組來顯示(類似 <thead>)。
table-footer-group此元素會作為一個或多個行的分組來顯示(類似 <tfoot>)。
table-row此元素會作為一個表格行顯示(類似 <tr>)。
table-column-group此元素會作為一個或多個列的分組來顯示(類似 <colgroup>)。
table-column 此元素會作為一個單元格列顯示(類似 <col>)
table-cell此元素會作為一個表格單元格顯示(類似 <td> 和 <th>)
table-caption此元素會作為一個表格標題顯示(類似 <caption>)
inherit規定應該從父元素繼承 display 屬性的值。
00
00
00
00
#CSS display#CSS 標簽 區塊#html標簽 區塊#CSS div#html div

jquery get css

jquery get css

00
00
00
00
00

parentElement children 子父元素

parentElement 獲取物件層次中的父物件。
children 獲取元素物件中的子物件。

元素.parentElement 獲取元素物件層次中的父物件。
元素.parentNode 獲取文件層次中的名稱。

<a id="div1">
      <div id="div2">
             <p id="Myid" onclick="Fparent(this)"></p>
      </div>
</a>

元素.children.length 獲取元素物件有幾多子元素。
元素.parentNode 獲取文件層次中的名稱。

<div id="Cdiv">
           <div></div>
          <pre></pre>
          <a></a>
          <p> </p>
</div>

                    

00
00
#parentElement 父元素#html parentElement#html 父元素#script parentElement#script 父元素

343434 123 456 3434 343434