• Useful code for web production


    How to remove the scroll bar on the right side of the home page?<body scroll=”no”><body style=”overflow-y:hidden”>********************************How not to use the page's cache? That is, every time the page is opened, the cache is not called<META HTTP-EQUIV=”Pragma” CONTENT=”no-cache”>********************************How can I ignore the right button?<body oncontextmenu=”return false”>********************************How to control CSS properties of different links within the same […]

  • Understanding of innerHTML


    Related Articles: innerHTMLHTML DOM insertRow() methodDefinition and UsageDefinition and UsageThe insertRow() method is used to insert a new row in a specified position in a table.The insertRow() method can be used to insert a new row into the specified position in the tableSyntax syntaxtableObject.insertRow(index)//Index, add a new row——————————————————————————–Example<html><head><script type=”text/javascript”>function insRow(){document.getElementById('myTable').insertRow(0)//Find controls in the document}</script></head><body><table id=”myTable” […]

  • Linux commands for viewing folder size


    View the size of the Linux file directory and the number of files contained in the folderStatistics total size du -sh xmldb/Du – SM * | sort – N / / count the current directory size and sort by size du -sk * | sort -nDu – SK * | grep guojf / / depending […]

  • Method of Linux entering graphical interface


    installIf there is a graphical interface, start Linux and input: startx operationInterface.If you want it every timeAutomatically enter xwindos。。inittabDocuments.vi /etc/inittabfindid:3:initdefault:This lineiEnter edit mode,Change 3 to 5。escExit editing.qw—Input includes’: ‘Multi user modeReplace with: id:3:initdefault: #1 – single user mode / / single user mode#2 – multiuser, without NFS (the same as 3, if you do not have Networking) […]

  • Add a new hard disk under Linux system


    Fdisk -l ## here is to check how many hard disks are currently on the system Disk /dev/sda: 36.4 GB, 36401479680 bytes 255 heads, 63 sectors/track, 4425 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 255 2048256 83 Linux /dev/sda2 256 1530 […]

  • How to install WordPress locally


    Keyword Description: how to install the local WordPress download environment / / version of windows How to install WordPress in the last tutorial? The installation process of WordPress is finished. This time, I should explain the use of WordPress. But before we talk about the use of WordPress, let’s talk about how to install WordPress […]

  • How to install WordPress, WordPress installation process


    Keyword Description: how is the installation process WordPress & nbsp / / directory define file Preparations before WordPress installation. Now let’s start to install WordPress. Configure the WordPress database Last time we talked about that, we need to download and decompress WordPress. Now open and enter the decompressed WordPress folder, open the wp-config-sample.php file with […]

  • Installing OpenSSH through posts


    install # cd /usr/ports/security/openssh # make install clean   # echo “sshd_enable=YES” >> /etc/rc.conf   # /etc/rc.d/sshd start

  • XMLHTTPRequest Object – XML/XSLT


    XmlHttp is a set of APIs that can transmit or receive XML and other data through HTTP protocol in Javascript, VbScript, Jscript and other scripting languages. The greatest use of XmlHttp is that it can update part of the content of a web page without refreshing the entire page.1、XMLWhat is an HTTPRequest object?The most common […]