This link has been bookmarked by 77 people . It was first bookmarked on 27 Apr 2006, by netklon.
-
23 Feb 11
-
10 Mar 09
-
12 Dec 08
-
06 Feb 08
-
05 Nov 07
-
26 Oct 07
-
The front end of a website consists of three layers. XHTML forms the structural layer, which contains structural, semantic markup and the content of the site. To this layer you can add a presentation layer (CSS) and a behavior layer (JavaScript) to make your website more beautiful and user-friendly. These three layers should remain strictly separate. For instance, it should be possible to rewrite the entire presentation layer without touching either the structural or the behavior layer.
-
-
08 Sep 07
-
02 Aug 07
-
01 Jan 07
-
14 Nov 06
-
21 Jul 06
-
15 Jul 06
-
05 Jul 06
-
04 Jul 06
-
23 May 06
-
27 Apr 06
-
13 Apr 06
-
11 Apr 06
-
29 Mar 06
toddproutyUsing non-standard tag attributes as JavaScript triggers, and customizing a DTD to make them valid.
-
28 Feb 06
-
25 Feb 06
-
22 Jan 06
-
10 Jan 06
-
12 Oct 05
-
12 Sep 05
-
22 Aug 05
-
10 Aug 05
-
08 Aug 05
-
19 Jul 05
-
14 Jul 05
huangyuching使用 getElementsByTagName()來取得指定類型的 tags 。如要取得 tag 之屬性,可用 getAttribute("屬性名稱"),唯一例外的是 class 屬性,要用 tag.className 才行。
-
06 Jul 05
-
22 Jun 05
-
19 May 05
-
23 Mar 05
-
17 Mar 05
-
12 Mar 05
-
10 Mar 05
-
24 Feb 05
-
In my opinion this solution is easy to implement and consistent with the form JavaScript triggers may take: a name/value pair where the presence of the name triggers the behavior and the value gives the script extra information, allowing you to customize the behavior for each individual element. Finally, adding these triggers to the XHTML would be extremely simple even for novice webmasters.
-
-
18 Feb 05
-
16 Feb 05
Triple EntendreCreate JavaScript triggers with custom attributes.
ideas web-development javascript triggers content-separation
-
15 Feb 05
-
13 Feb 05
-
11 Feb 05
-
07 Feb 05
-
03 Feb 05
-
Daniel SteinbockHow to separate Javascript behavior layer from html structure (avoid onClick, etc.)
-
02 Feb 05
-
diplixThe front end of a website consists of three layers. XHTML forms the structural layer, which contains structural, semantic markup and the content of the site. To this layer you can add a presentation layer (CSS) and a behavior layer (JavaScript) to make y
dev js css javascript triggers design dom howto webdesign xhtml xml delicoius
-
-
he behavior layer should function in exactly the same way. We should separate behavior and structure by discarding inline event handlers like onmouseover="switchImages('fearful',6,false)". Instead, as with CSS, we should use triggers to tell the script where to deploy the behavior. The simplest JavaScript trigger is the id attribute...
-
-
01 Feb 05
James Tinskycomputers.web.javascript.triggers
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.