2013年8月30日 星期五

html-header


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">

html-acl

menu control in html


html-acl

<div id="menu_sub_00" class="sub_menu">
<ul>
<li><a href="http://report/a.html" title="GS MTD">GS MTD</a></li>
<li><a href="http://report/b.html" title="GS YTD">GS YTD</a></li>
<li><a href="http://report/c.html" title="GS By Month">GS By Month  [10]</a></li>
<li><a href="http://report/d.html" title="GS By Cust. Group MTD">GS By Cust. Group MTD </a></li>
<li><a href="http://report/e.html" title="GS By Cust. Group YTD">GS By Cust. Group YTD</a></li>
</ul>
</div>


<script>
var authorize="Cust.,MTD,[10]";
var authorizes=authorize.split(",")
$(function() {
$( "a" ).each(function (i) {
s=$(this).text();
for (x in authorizes){if (s.indexOf(authorizes[x])>0){this.style.color = "black";}}
});

$( "a" ).each(function (i) {
if (this.style.color!="black"){
this.href="#"
}
});
});
</script>

download-tools



http://notepad-plus-plus.org/


html grid edit

html grid edit

<input type="button" id="Detail" value="_Detail2" onclick="__3V916VIMLc();document.getElementById('__3V916VIMLf').contentDocument.location.reload(true);ModalDialog_Show(&#39;_3V916VIMLd&#39;, 700); "/>

html 2 form communication


2 html communication

fire side

function_3V9175OVO()     {
if (window.showModalDialog) {
var returnTarget=window.showModalDialog
("Customer_List.php",this,
"dialogWidth:600px;dialogHeight:400px;
resizable:0;scroll:0;");
} else  {
var returnTarget=window.open("Customer_List.php",this,
"height=400px,width=600px,toolbar=no,
directories=no,status=no,memubar=no,
modal=yes,location=no,resizable=no,
menubar=no,scrollbars=no,copyhistory=no");
}
cookiefunction_3V9175OVO()}


function cookiefunction_3V9175OVO(){
returnTarget=$.cookie("example");
$.cookie("example", null);
if(returnTarget != undefined && returnTarget.length > 1)
{
}}





 function function_3V9175OVP()     {
if (window.showModalDialog) {
var returnTarget=window.showModalDialog("InvoiceList.php",this,
"dialogWidth:600px;dialogHeight:400px;resizable:0;scroll:0;");
} else  {
var returnTarget=window.open("InvoiceList.php",this,
"height=400px,width=600px,toolbar=no,directories=no,
status=no,memubar=no,modal=yes,location=no,
resizable=no,menubar=no,scrollbars=no,copyhistory=no");
}


Source Side


<tr
onClick="thisrecno('<?php echo $i;?>');"
class="row"
onDblClick="winexit('
<?php echo
"<datetimer>".$datetimer[$i]."</datetimer>".
"<invoice>".$invoice[$i]."</invoice>".
"<date>".$date[$i]."</date>".
"<customer>".$customer[$i]."</customer>";?>');" >







linux-delete-empty-line

linux-delete-space-line

grep -v '^ *$' source.file > target.file



2013年8月29日 星期四

note plus plus shortcut

http://www.keyxl.com/aaacd5a/43/Notepad-Plus-text-editor-software-keyboard-shortcuts.htm
note++ shortcut
inf : http://www.shortcutworld.com/en/win/Notepad-plus-plus_5.9.html

2 tabs is not good in mysql procedure. The program should not have space line.
alt+d compare to file , note: plug in beore



Ctrl-LDelete Current Line
ctrl-GLaunch GoToLine Dialog



minus1. Basic File Management
ctrl+nCreate new document.
ctrl+pDisplay Print... dialog box.
ctrl+oDisplay Open File... dialog box.
ctrl+sSave current document.
ctrl+alt+sDisplay Save As... dialog box.
ctrl+shift+sSave all open documents.
ctrl+wClose current document.
alt+F4Exit Notepad++
▲ up
minus2. Edit
alt+cColumn editor
minusIndent
tabIncrease line indent
shift+tabDecrease line indent
minusConvert case to
ctrl+shift+uConvert to upper case
ctrl+uConvert to lower case
minusLine Operations
ctrl+dDuplicate current line
ctrl+iSplit lines
ctrl+jJoin lines
ctrl+shift+downMove down current line
ctrl+shift+upMove up current line
minusComment / uncomment
ctrl+qToggle block comment
ctrl+kBlock comment
ctrl+shift+kBlock uncomment
ctrl+shift+qStream comment
minusAuto-completion
ctrl+spacebarFunction completion
ctrl+enterWord completion
ctrl+shift+spacebarFunction parameter hint
▲ up
minus3. Search
ctrl+fFind
ctrl+shift+fFind in files...
f3Find next
shift+f3Find previous
ctrl+f3Select and find next
ctrl+shift+f3Select and find previous
ctrl+alt+f3Find (volatile) next
ctrl+alt+shift+f3Find (volatile) previous
ctrl+hReplace...
ctrl+alt+iIncremental search
f7Search results window
f4Next search result
shift+f4Previous search result
ctrl+gGo to...lineNum
ctrl+bGo to matching brace
minusJump up
ctrl+shift+11st style
ctrl+shift+22nd style
ctrl+shift+33rd style
ctrl+shift+44th style
ctrl+shift+55th style
ctrl+shift+oFind style
minusJump down
ctrl+11st style
ctrl+22nd style
ctrl+33rd style
ctrl+44th style
ctrl+55th style
ctrl+oFind style
minusBookmark
ctrl+f2Toggle bookmark
f2Next bookmark
shift+f2Previous bookmark
▲ up
minus4. View
ctrl+alt+rText direction RTL
ctrl+alt+lText direction LTR

▲ up




Ctrl-CCopy
Ctrl-XCut
Ctrl-VPaste
Ctrl-ZUndo
Ctrl-YRedo
Ctrl-ASelect All
Ctrl-FLaunch Find Dialog
Ctrl-HLaunch Find / Replace Dialog
Ctrl-DDuplicate Current Line
Ctrl-LDelete Current Line
Ctrl-TSwitch the current line position with the previous line position
F3Find Next
Shft-F3Find Previous
Ctrl-Shft-FFind in Files
Ctrl-F3Find (volatil) Next
Ctrl-Shft-F3Find (volatil) Previous
Ctrl-Shft-IIncremental Search
Ctrl-SSave File
Ctrl-Alt-SSave As
Ctrl-Shft-SSave All
Ctrl-OOpen File
Ctrl-NNew File
Ctrl-F2Toggle Bookmark
F2Go To Next Bookmark
Shft-F2Go To Previous Bookmark
Ctrl-GLaunch GoToLine Dialog
Ctrl-WClose Current Document
Alt-Shft-Arrow keys or Alt + Left mouse clickColumn Mode Select
F5Launch Run Dialog
Ctrl-SpaceLaunch CallTip ListBox
Alt-SpaceLaunch Word Completion ListBox
Tab (selection of several lines)Insert Tabulation or Space (Indent)
Shft-Tab (selection of several lines)Remove Tabulation or Space (outdent)
Ctrl-(Keypad-/Keypad+) or Ctrl + mouse wheel buttoZoom in (+ or up) and Zoom out (- or down)
Ctrl-Keypad/Restore the original size from zoom
F11Toggle Full Screen Mode
Ctrl-TabNext Document
Ctrl-Shft-TabPrevious Document
Ctrl-Shft-UpMove Current Line Up
Ctrl-Shft-DownMove Current Line Down
Ctrl-Alt-FCollapse the Current Level
Ctrl-Alt-Shft-FUncollapse the Current Level
Alt-0Fold All
Alt-(1~8)Collapse the Level (1~8)
Alt-Shft-0Unfold All
Alt-Shft-(1~8)Uncollapse the Level (1~8)
Ctrl-BackSpaceDelete to start of word
Ctrl-DeleteDelete to end of word
Ctrl-Shft-BackSpaceDelete to start of line
Ctrl-Shft-DeleteDelete to end of line
Ctrl-UConvert to lower case
Ctrl-Shft-UConvert to UPPER CASE
Ctrl-BGo to matching brace
Ctrl-Shft-RStart to record /Stop recording the macro
Ctrl-Shft-PPlay recorded macro
Ctrl-QBlock comment/uncomment
Ctrl-Shft-QStream comment
Ctrl-Shft-TCopy current line to clipboard
Ctrl-PPrint
Alt-F4Exit
Ctrl-ISplit Lines
Ctrl-JJoin Lines
Ctrl-Alt-RText Direction RTL
Ctrl-Alt-LText Direction LTR
F1About