future shock treatment ctrl s svn
play

future shock treatment ctrl+s SVN HTML CSS JavaScript elements - PowerPoint PPT Presentation

future shock treatment ctrl+s SVN HTML CSS JavaScript elements attributes class names IDs HTML body id="users" /users/ body id="users" class="view" /users/username body id="users"


  1. future shock treatment

  2. ctrl+s SVN

  3. HTML CSS JavaScript

  4. elements attributes class names IDs HTML

  5. body id="users" /users/ body id="users" class="view" /users/username body id="users" class="edit" /users/username/edit HTML

  6. site <body> <div class="section"> ... </div><!-- /.section --> .section { width: 60%; }

  7. site-area <body id="users"> <div class="section"> ... </div><!-- /.section --> #users .section { width: 40%; }

  8. site-area-page <body id="users" class="view"> <div class="section"> ... </div><!-- /.section --> #users.view .section { width: 100%; } #users.edit .section { width: 80%; }

  9. element selectors attribute selectors class selectors ID selectors CSS

  10. global styles helper styles page structure styles page-specific styles CSS

  11. typography.css colour.css layout.css CSS

  12. screen.css print.css handheld.css CSS

  13. screen.css <link rel="stylesheet" media="screen" type="text/css" href="screen.css?20090622"> CSS

  14. reset lists tables forms CSS library

  15. CSS framework

  16. JavaScript framework

  17. jQuery “Find stuff and do stuff to it.” CSS selectors

  18. jQuery jQuery(selector).event(function(){ action; }); document .getElementById('foo') .getElementsByTagName('bar') jQuery('#foo .bar')

  19. jQuery <script type="text/javascript" src="http://ajax.googleapis.com/ ajax/libs/jquery/1/jquery.min.js"> </script>

  20. jQuery jQuery(function($) { $('body').addClass('hasJS'); }); .hasJS .module { display: none; }

  21. progressive disclosure pattern recognition

  22. <a href="#login" class="toggler">log in</a> ... <div id="login"> ... </div><!-- /#login --> .hasJS #login { display: none; position: absolute; } jQuery('a.toggler').click(function() { var id = jQuery(this).attr('href'); jQuery(id).slideToggle('fast'); });

  23. table:hover thead th a table tbody tr:hover th a table tbody tr td a:hover

  24. a-grade known knowns c-grade known unknowns x-grade unknown unknowns browser support IE6

  25. [ ] a t ie6 p = 50 log ––––– + 1 t a ie6 IE6

  26. box-shadow: 5px 5px 0 rgba(0,0,13,0.3)

  27. blockquote p:last-child

  28. text-shadow: 1px 1px 1px #fff; border-radius: 1em;

  29. 640 % 800 1024 1280 screen support

  30. min-width: px max-width: em screen support

  31. formats text binary simple complex open closed

  32. standards OED Duden microformats W3C 2022? HTML5

  33. <header></header> <nav></nav> <section> <header></header> <article></article> <article></article> <footer></footer> </section> <aside></aside> <footer></footer> HTML5

  34. <div class="header"></div><!-- /.header --> <div class="nav"></div><!-- /.nav --> <div class="section"> <div class="header"></div><!-- /.header --> <div class="article"></div><!-- /.article --> <div class="article"></div><!-- /.article --> <div class="footer"></div><!-- /.footer --> </div><!-- /.section --> <div class="aside"></div><!-- /.aside --> <div class="footer"></div><!-- /.footer --> HTML5

  35. /users/ /users/username /users/username/edit /does/ /does/teach/ /does/teach/ajax URIs

  36. “Cool URIs don’t change” —Tim Berners-Lee, 01998 Historical note: At the end of the 20th century when this was written, “cool” was an epithet of approval particularly among young, indicating trendiness, quality, or appropriateness. http://www.w3.org/Provider/Style/URI

  37. http://www.flickr.com/photos/rachelandrew/357308665/ http://www.flickr.com/photos/withassociates/3212670286/ http://www.flickr.com/photos/eggplant/44101381/

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend