Tutorials to .com

Tutorials to .com » Website » Strategy » Website Strategy

Website Strategy Articles


261: Javascript several small tools
/ / Determine whether the data is the date of function isDate (dateVal) ( var a1 = dateVal.replace (/ - / g ,"/"); var dd = new Date (a1); var ss = dd.getYear (); if (isNaN (ss)) return false; else return true; ) / / Retain the ...

262: Javascript browser menu command to achieve
Whenever we see someone else on the page to open, print, forward, save as, back, close the window, disable the browser right order to achieve such a link, and when their suffering can not be achieved, is not very much regret? Is not also want to ach...

263: Using JavaScript to achieve the text box cursor position
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content...

264: "JavaScript calendar to do" to improve the version
This is the original calendar control to do to improve before more in line with the habits of the Chinese people. Improved, such as the following code will be saved as its rl.asp need to call and then add the file <!--# INCLUDE file = "rl.as...

265: Achieved using JavaScript calendar
calendar.css: . cal ( background-color: # ffffff; ) . head ( color: # bb0000; font-family: Arial; font-weight: bold; text-align: left; ) . days ( color: # 0000bb; font-family: Arial; font-weight: bold; text-align: right; ) . grey ( ...

266: JavaScript regular expression test page
Javascript regular expression test page Usually you how to test regular expressions? Directly write the code in the paragraph, and then wait for program to run there, and then alert the result will be displayed? Or write a temporary page, the test ...

267: General JavaScript library
WEB Programming in JavaScript can play a significant role in the function of some common class library written in JavaScript. Save the following code Common.js Library functions: 1.Trim (str) - string to remove spaces on both sides 2.XMLEncode (...

268: Finally, select a datagrid to change the Color of javascript
var Supplier_LastSelectRowId = ""; function Supplier_selectRow (sender) (If (Supplier_LastSelectRowId! = "") (Var lastSelectRow = window.document.getElementById (Supplier_LastSelectRowId); if (lastSelectRow! = Null) (lastSelect...

269: Using JavaScript to add the date of the page
Many users should visit the website will find many pages showing the time and date function, this is not difficult, the use of visualization software Dreameaver page can be directly inserted into the time and date. Today, however, the use of JavaScr...

270: Scroll shows examples of the realization of JavaScript
A friend many web pages are often the production of bulletin boards, information windows, often in order to achieve full-page scroll pages and images displayed to worry about, do not worry, there is a simple way to achieve Scroll display. We do not ...

271: JavaScript example of the title bar text scrolling effects
We like to insert in the page a variety of animation, to make their own website has become a vivid, lively, the status bar can also set dynamic subtitles. In that case, can set the title bar of this animation? Of Course! We just need a web page by ...

272: Javascript linked to achieve the drop-down list, tips: Array not defined
Have an application, asking for a drop-down list (class1) to rely on another to trigger changes in the list (class2) changes. Reference to "drop-down box linked (database version)", the following procedure fragment: <% Sql = "sele...

273: The use of JavaScript to improve the framework of your
Two page designers: like to use the framework (Frame) and do not like. The use of the framework do not like people always complained that the framework makes the page more complicated, increasing the downloading burden, and will reduce your page by ...

274: Javascript interesting procedure: I grasp
You need only to cut and paste this code into your own pages inside <head> section: <script language="JavaScript"> <! -- / * Elusive image script by Paul Anderson, copyright 2001 CNET Builder.com. May be freely used with...

275: Javascript object of history
Javascript object of history history are the properties of window object, history did not object, but there are four attributes are as follows: current window shows the current document's URL lengh it said the length of the history of table ...

276: Filtering link in the table (use javascript data extraction form)
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <TABLE Class=clsSysTab cellSpacing=0 borderColorDark=#ccffcc cellPadding=0 width="100%" align=center borderColorLight=#396942 border=1> ...

277: Trim Function in JavaScript
TrimAll () ( var objRegExp = / ^ (\ s *)$/; / / Check for all spaces if (objRegExp.test (strValue)) ( strValue = strValue.replace (objRegExp,''); if (strValue.length == 0) return strValue; ) / / Check for leading & trailing spa...

278: three trim function (javascript)
function LTrim (s) ( for (var i = 0; i <s.length; i + +) if (s.charAt (i)! = '') return s.substring (i, s.length); return ""; ) function RTrim (s) ( for (var i = s.length-1; i> = 0; i -) if (s.charAt (i)! = '...

279: Using javascript to achieve the interception of float number of decimal places and rounding
Have done before one thought of rounding, and now the code to improve it, as follows: /************************************************* ********** Function formatnumber (value, num) Written by zergling FormatNumber version of the javascript fun...

280: Word document using javascript call
<HTML> <script language=javascript> var wrd = new ActiveXObject ( "Word.Application") wrd.visible = true alert ( "Your" + wrd.Application.Caption + "installation path to: \ n" + wrd.Application.Path + &q...


Page 14 of 15
[1]   [2]   [3]   [4]   [5]   [6]   [7]   [8]   [9]   [10]   [11]   [12]   [13]   [14]   [15]