User Tools

Site Tools


century:separation_of_concerns_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
century:separation_of_concerns_example [2012/07/23 14:57] – [Separation of concerns example] mithatcentury:separation_of_concerns_example [2012/07/23 15:16] (current) – [Javascript; behavior] mithat
Line 1: Line 1:
 ====== Example ====== ====== Example ======
  
-===== XHTML =====+===== XHTML: semantics =====
 <code html><a href="foo.html" <code html><a href="foo.html"
   class="foolinks"   class="foolinks"
   onclick="fooFunc()">Click me!</a></code>   onclick="fooFunc()">Click me!</a></code>
  
-===== CSS ===== +===== CSS: presentation =====
 <code css>.foolinks { <code css>.foolinks {
   color: green;   color: green;
Line 13: Line 12:
 }</code> }</code>
  
-===== Javascript ===== +===== Javascript: behavior =====
 <code javascript>function fooFunc() { <code javascript>function fooFunc() {
  popupWin = window.open(this.getAttribute('href'), '_foowindow');  popupWin = window.open(this.getAttribute('href'), '_foowindow');
 }</code> }</code>
century/separation_of_concerns_example.1343055478.txt.gz · Last modified: 2012/07/23 14:57 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki